/*
Theme Name: Proveedores
Theme URI: http://example.com/proveedores
Description: Tema básico para el fotógrafo Mauricio con estética tipo Instagram y secciones para mostrar trabajos.
Author: Mauricio / fuckstyle
Version: 1.0
*/

:root {
	--bg: #050505;
	--surface: #121212;
	--text: #f5f5f5;
	--muted: #b0b0b0;
	--accent: #ff5a36;
	--border: #2a2a2a;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
}

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

img {
	max-width: 100%;
	display: block;
}

.container {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	backdrop-filter: blur(10px);
	background: rgba(5, 5, 5, 0.82);
	border-bottom: 1px solid var(--border);
	z-index: 20;
}

.header-bar,
.footer-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
}

.brand {
	display: flex;
	flex-direction: column;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.brand__tag {
	color: var(--accent);
	font-size: 0.8rem;
}

.site-nav__menu {
	list-style: none;
	display: flex;
	gap: 20px;
	padding: 0;
	margin: 0;
}

.site-main {
	padding: 40px 0 80px;
}

.hero {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid var(--border);
	background: linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.45));
	min-height: 420px;
	display: flex;
	align-items: center;
	padding: 36px;
	margin-bottom: 24px;
}

.hero__media {
	position: absolute;
	inset: 0;
	background-image: url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1400&q=80');
	background-size: cover;
	background-position: center;
	mix-blend-mode: screen;
	opacity: 0.55;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 620px;
}

.hero h1 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin: 8px 0 12px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.button {
	display: inline-block;
	padding: 12px 18px;
	background: var(--accent);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
}

.button--ghost {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
}

.eyebrow {
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 0.8rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.profile-card {
	display: flex;
	gap: 20px;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 24px;
	margin-bottom: 28px;
}

.profile-card__avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), #ff8f6b);
	display: grid;
	place-items: center;
	font-size: 1.4rem;
	font-weight: 700;
	flex-shrink: 0;
}

.profile-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 10px;
	color: var(--muted);
}

.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 8px 0 20px;
}

.text-link {
	color: var(--accent);
	font-weight: 700;
}

.featured-grid,
.work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.feature-card,
.work-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.work-card:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
}

.feature-card__image,
.work-card__image,
.single-work__image {
	width: 100%;
	display: block;
	height: 280px;
	object-fit: cover;
	background: #1d1d1d;
}

.feature-card h2,
.work-card h2 {
	padding: 14px 16px 4px;
	margin: 0;
	font-size: 1rem;
}

.work-card__meta {
	padding: 0 16px 16px;
	color: var(--muted);
}

.highlight-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.highlight-card {
	border-radius: 18px;
	padding: 24px;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	justify-content: end;
	border: 1px solid var(--border);
	background-size: cover;
	background-position: center;
}

.highlight-card--one {
	background-image: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=900&q=80');
}

.highlight-card--two {
	background-image: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=900&q=80');
}

.highlight-card--three {
	background-image: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1487412912498-0447578fcca8?auto=format&fit=crop&w=900&q=80');
}

.single-work {
	padding-top: 24px;
}

.single-work__header {
	margin-bottom: 24px;
}

.single-work__content {
	max-width: 760px;
	padding-top: 12px;
}

.site-footer {
	border-top: 1px solid var(--border);
	margin-top: 24px;
	color: var(--muted);
}

@media (max-width: 800px) {
	.featured-grid,
	.work-grid,
	.highlight-strip {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.hero {
		padding: 24px;
		min-height: 360px;
	}

	.header-bar,
	.footer-bar,
	.section-heading,
	.profile-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.site-nav__menu {
		flex-wrap: wrap;
		gap: 12px;
	}

	.featured-grid,
	.work-grid,
	.highlight-strip {
		grid-template-columns: 1fr;
	}
}
