/* Contact Page - Bento grid, normal document scroll */

/* ========== BASE ========== */
html.contact-page-root,
.contact-page {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html.contact-page-root::-webkit-scrollbar,
.contact-page::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.contact-page {
	min-height: 100vh;
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(15, 25, 60, 0.5), transparent 60%),
		radial-gradient(900px 500px at 100% 0%, rgba(8, 15, 40, 0.5), transparent 55%),
		linear-gradient(180deg, #040608 0%, #050709 35%, #030405 100%);
	color: #e6e9ef;
	font-family: 'Inter', 'Montserrat', Arial, sans-serif;
	overflow-x: hidden;
	position: relative;
	--nav-h: 64px;
}

/* ========== BLOBS (same as home) ========== */
.contact-page .bg-ornaments {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.contact-page .bg-ornaments .blob {
	position: absolute;
	filter: blur(60px);
	opacity: 0.35;
	border-radius: 50%;
	mix-blend-mode: screen;
	transform: translate3d(0, 0, 0);
	will-change: transform;
	transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-page .blob-1 {
	width: 480px;
	height: 480px;
	background: #173bff;
}

.contact-page .blob-2 {
	width: 380px;
	height: 380px;
	background: #00bcd4;
}

.contact-page .blob-3 {
	width: 320px;
	height: 320px;
	background: #6a00ff;
}

/* ========== MAIN ========== */
.contact-main {
	position: relative;
	z-index: 1;
	padding-top: var(--nav-h);
}

/* ========== CONTACT SCREEN ========== */
.contact-screen {
	padding: 28px 0 40px;
	box-sizing: border-box;
}

.contact-screen .container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* ========== HEADER ========== */
.contact-header {
	text-align: center;
	margin-bottom: 28px;
}

.contact-tag {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 100px;
	background: rgba(139, 92, 246, 0.15);
	border: 1px solid rgba(139, 92, 246, 0.3);
	color: #a5b4fc;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.contact-title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 10px;
	color: #f6f8fb;
}

.contact-subtitle {
	font-size: 15px;
	color: #94a3b8;
	max-width: 480px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ========== BENTO GRID ========== */
.bento-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 14px;
	align-items: stretch;
}

.bento-aside {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	height: 100%;
	min-height: 100%;
	box-sizing: border-box;
	padding: 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
}

.bento-aside__row {
	display: grid;
	gap: 12px;
	min-width: 0;
	flex: 1;
	min-height: 0;
}

.bento-aside__row > .bento-card,
.bento-aside__row > a.bento-card {
	height: 100%;
	min-height: 0;
}

.bento-aside__row--pair {
	grid-template-columns: 1fr 1fr;
}

.bento-aside__row--full,
.bento-aside__row--social {
	grid-template-columns: 1fr;
}

/* Row height balance: social taller, whatsapp & email shorter */
.bento-aside__row--social {
	flex: 2.8 1 0;
	min-height: 120px;
}

.bento-aside__row--whatsapp,
.bento-aside__row--email {
	flex: 0 0 auto;
}

.bento-aside__row--locations {
	flex: 1.2 1 0;
	min-height: 0;
}

.bento-aside__row--whatsapp > a.bento-card,
.bento-aside__row--email > a.bento-card {
	height: auto;
}

.bento-aside__row--whatsapp .bento-card--compact,
.bento-aside__row--email .bento-card--compact {
	padding: 10px 12px;
}

.bento-aside__row--whatsapp .bento-card__icon,
.bento-aside__row--email .bento-card__icon {
	width: 36px;
	height: 36px;
	font-size: 15px;
}

.bento-aside__row--social .social-chip {
	min-height: 90px;
}

/* ========== CARD BASE ========== */
.bento-card {
	position: relative;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
	text-decoration: none;
	color: inherit;
}

.bento-card:hover {
	transform: translateY(-3px);
	border-color: rgba(139, 92, 246, 0.25);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* ========== FORM CARD ========== */
.bento-card--form {
	padding: 24px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	box-sizing: border-box;
}

.bento-card--form:hover {
	transform: none;
}

.bento-card__title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 18px;
	color: #f0f0f5;
}

/* ========== ASIDE COMPACT CARDS ========== */
.bento-aside .bento-card--compact {
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	box-sizing: border-box;
}

.bento-aside .bento-card--compact .bento-card__body {
	min-width: 0;
}

.bento-aside .bento-card--compact .bento-card__value {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bento-aside .bento-card--compact .bento-card__label {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	font-size: 10px;
	margin-bottom: 3px;
}

.bento-aside .bento-card {
	background: rgba(255, 255, 255, 0.02);
}

/* ========== SOCIAL ROW (Follow us) ========== */
.bento-card--social-block {
	padding: 16px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.bento-card--social-block:hover {
	transform: none;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

.bento-section-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.social-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	flex: 1;
	min-height: 0;
	align-items: stretch;
}

.social-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 6px;
	height: 100%;
	min-height: 80px;
	border-radius: 12px;
	text-decoration: none;
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	min-width: 0;
	overflow: visible;
}

.social-chip:hover {
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-chip__icon {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #fff;
	flex-shrink: 0;
}

.social-chip--instagram .social-chip__icon {
	background: linear-gradient(135deg, #e1306c, #c13584);
}

.social-chip--tiktok .social-chip__icon {
	background: #000000;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-chip--linkedin .social-chip__icon {
	background: linear-gradient(135deg, #0a66c2, #004182);
}

.social-chip__platform {
	display: block;
	flex-shrink: 0;
	width: 100%;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: #f1f5f9;
	padding: 0 4px;
}

.social-chip__handle {
	display: block;
	flex-shrink: 0;
	width: 100%;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	color: #94a3b8;
	padding: 0 4px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.social-chip:hover .social-chip__handle {
	color: #e2e8f0;
}

.social-chip--instagram:hover {
	border-color: rgba(236, 72, 153, 0.45);
	background: rgba(236, 72, 153, 0.1);
}

.social-chip--tiktok:hover {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.35);
}

.social-chip--linkedin:hover {
	border-color: rgba(59, 130, 246, 0.45);
	background: rgba(59, 130, 246, 0.1);
}

/* ========== SMALL CARDS ========== */
.bento-aside .bento-card--small {
	padding: 12px 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.bento-card--small {
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.bento-aside .bento-card__icon {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	font-size: 17px;
}

.bento-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #fff;
	flex-shrink: 0;
}

.bento-card--email .bento-card__icon {
	background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.bento-card--whatsapp .bento-card__icon {
	background: linear-gradient(135deg, #22c55e, #16a34a);
}

.bento-card--instagram .bento-card__icon,
.bento-card--social .bento-card__icon {
	background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.bento-card--office .bento-card__icon {
	background: linear-gradient(135deg, #f59e0b, #d97706);
}

.bento-card__badge {
	flex-shrink: 0;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 3px 6px;
	border-radius: 5px;
	background: rgba(245, 158, 11, 0.2);
	color: #fcd34d;
	border: 1px solid rgba(245, 158, 11, 0.35);
}

.bento-card--social {
	padding: 18px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.social-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}

.bento-aside .bento-card__label {
	font-size: 10px;
	margin-bottom: 2px;
}

.bento-aside .bento-card__arrow {
	font-size: 11px;
	color: #475569;
	flex-shrink: 0;
}

.bento-aside .bento-card--email .bento-card__arrow {
	display: block;
}

.bento-aside .bento-card--compact:not(.bento-card--email) .bento-card__arrow {
	display: none;
}

.social-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-pill i {
	width: 18px;
	text-align: center;
	font-size: 16px;
}

.social-pill:hover {
	transform: translateX(4px);
	color: #fff;
}

.social-pill--instagram:hover {
	border-color: rgba(236, 72, 153, 0.5);
	background: rgba(236, 72, 153, 0.12);
}

.social-pill--instagram i {
	color: #f472b6;
}

.social-pill--tiktok:hover {
	border-color: rgba(34, 211, 238, 0.45);
	background: rgba(34, 211, 238, 0.1);
}

.social-pill--tiktok i {
	color: #22d3ee;
}

.social-pill--linkedin:hover {
	border-color: rgba(59, 130, 246, 0.5);
	background: rgba(59, 130, 246, 0.12);
}

.social-pill--linkedin i {
	color: #60a5fa;
}

.bento-card__body {
	flex: 1;
	min-width: 0;
}

.bento-card__label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.bento-card__value {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #e2e8f0;
}

.bento-card__links {
	display: flex;
	gap: 12px;
}

.bento-card__links a {
	font-size: 13px;
	color: #a5b4fc;
	text-decoration: none;
	transition: color 0.2s;
}

.bento-card__links a:hover {
	color: #fff;
	text-decoration: underline;
}

.bento-card__arrow {
	font-size: 12px;
	color: #475569;
	transition: color 0.2s, transform 0.2s;
}

.bento-card:hover .bento-card__arrow {
	color: #a5b4fc;
	transform: translateX(3px);
}

/* ========== FORM ========== */
.c-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}

.c-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.c-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.c-form__field--full {
	grid-column: 1 / -1;
}

.c-form__field label {
	font-size: 12px;
	font-weight: 500;
	color: #94a3b8;
}

.c-form__field label span {
	color: #8b5cf6;
}

.c-form__field input,
.c-form__field textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.c-form__field input::placeholder,
.c-form__field textarea::placeholder {
	color: #475569;
}

.c-form__field input:focus,
.c-form__field textarea:focus {
	border-color: rgba(139, 92, 246, 0.5);
	background: rgba(139, 92, 246, 0.05);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.c-form__field textarea {
	resize: none;
	min-height: 80px;
}

.c-form__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.btn-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 100px;
	border: none;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.contact-form-success {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 12px;
	text-align: center;
}

.form-message {
	font-size: 13px;
	color: #94a3b8;
}

.form-message.success {
	color: #34d399;
}

.form-message.error {
	color: #f87171;
}

/* ========== FOOTER SECTION ========== */
.footer-section {
	padding-bottom: 8px;
}

/* ========== CURSOR (same as home) ========== */
.contact-page .cursor-dot {
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	z-index: 10003;
	transition: transform 0.15s ease;
	transform: translate(-50%, -50%);
}

.contact-page .cursor-outline {
	width: 40px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	z-index: 10002;
	transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
	transform: translate(-50%, -50%);
}

.contact-page .cursor-outline.hover {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.8);
}

.contact-page .cursor-dot.hover {
	transform: translate(-50%, -50%) scale(0);
}

.contact-page .cursor-dot.on-white-bg {
	background: #111;
}

.contact-page .cursor-outline.on-white-bg {
	border-color: rgba(17, 17, 17, 0.6);
	background: rgba(17, 17, 17, 0.05);
}

.contact-page .cursor-outline.on-white-bg.hover {
	border-color: rgba(17, 17, 17, 0.9);
	background: rgba(17, 17, 17, 0.15);
}

/* Hide default cursor */
.contact-page,
.contact-page a,
.contact-page button,
.contact-page input,
.contact-page textarea,
.contact-page select {
	cursor: none !important;
}

@media (pointer: coarse) {
	.contact-page .cursor-dot,
	.contact-page .cursor-outline {
		display: none !important;
	}

	.contact-page,
	.contact-page a,
	.contact-page button,
	.contact-page input,
	.contact-page textarea,
	.contact-page select {
		cursor: auto !important;
	}
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
	.bento-grid {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.bento-aside {
		height: auto;
		min-height: 0;
	}

	.bento-aside__row {
		flex: none;
	}

	.bento-aside__row > .bento-card,
	.bento-aside__row > a.bento-card {
		height: auto;
	}

	.bento-card--form {
		min-height: 0;
	}

	.social-chip {
		min-height: 64px;
	}
}

@media (max-width: 600px) {
	.contact-screen {
		padding: 24px 0 32px;
	}

	.contact-header {
		margin-bottom: 20px;
	}

	.contact-title {
		font-size: 28px;
	}

	.bento-grid {
		gap: 12px;
	}

	.bento-card--form {
		padding: 18px;
	}

	.c-form__row {
		grid-template-columns: 1fr;
	}

	.bento-card--small {
		padding: 14px;
	}

	.bento-aside .bento-card__icon {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}

	.social-chip__icon {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}

	.social-chip__platform {
		font-size: 10px;
	}

	.social-chip__handle {
		font-size: 9px;
	}
}

@media (max-width: 400px) {
	.bento-aside__row--pair {
		grid-template-columns: 1fr;
	}
}

/* Very small height screens */
@media (max-height: 700px) and (min-width: 601px) {
	.contact-header {
		margin-bottom: 18px;
	}

	.contact-title {
		font-size: 32px;
	}

	.contact-subtitle {
		font-size: 14px;
	}

	.bento-grid {
		gap: 10px;
	}

	.bento-card--form {
		padding: 16px;
	}

	.bento-card__title {
		font-size: 16px;
		margin-bottom: 12px;
	}

	.c-form {
		gap: 10px;
	}

	.c-form__row {
		gap: 10px;
	}

	.c-form__field input,
	.c-form__field textarea {
		padding: 10px 12px;
	}

	.c-form__field textarea {
		min-height: 60px;
	}

	.bento-card--small {
		padding: 14px;
	}
}
