/**
 * SM'ART - Stili sezioni (modello Cardea)
 * Ogni sezione eredita da .smart-section per personalizzazioni (bg, text-color)
 */

/* ===== BASE SECTION ===== */
.smart-section {
	position: relative;
	padding: 4rem 2rem;
	min-height: 20vh;
}

.smart-section__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.smart-section__header {
	text-align: center;
	margin-bottom: 3rem;
}

.smart-section__title {
	font-size: 2.5rem;
	margin: 0 0 0.5rem;
	line-height: 1.2;
}

.smart-section__subtitle {
	font-size: 1.125rem;
	opacity: 0.85;
	margin: 0;
}

/* ===== HERO ===== */
.smart-section--hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.smart-section__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.smart-section__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.smart-section__content {
	position: relative;
	z-index: 2;
}

.smart-section__content--centered {
	text-align: center;
}

.smart-hero__logo img {
	max-width: 400px;
	height: auto;
}

.smart-hero__title {
	font-size: 3rem;
	margin: 0;
	color: #fff;
}

.smart-hero__tagline {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 1rem 0 0;
}

/* ===== SERVICES ===== */
.smart-services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.smart-service__item {
	padding: 1.5rem;
}

.smart-service__title {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}

.smart-service__text {
	margin: 0;
	opacity: 0.85;
}

/* ===== PORTFOLIO ===== */
.smart-portfolio__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

/* ===== ABOUT ===== */
.smart-about__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

@media (max-width: 768px) {
	.smart-about__content {
		grid-template-columns: 1fr;
	}
}

.smart-about__video,
.smart-about__img {
	max-width: 100%;
	border-radius: 4px;
}

.smart-about__text {
	line-height: 1.7;
}

/* ===== BLOG ===== */
.smart-blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.smart-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.smart-card__thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.smart-card__body {
	padding: 1.5rem;
}

.smart-card__date {
	font-size: 0.875rem;
	opacity: 0.7;
}

.smart-card__title {
	font-size: 1.25rem;
	margin: 0.5rem 0;
}

.smart-card__title a {
	text-decoration: none;
}

.smart-card__excerpt {
	font-size: 0.9375rem;
	margin: 0;
	opacity: 0.85;
}

/* ===== PRICING ===== */
.smart-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	align-items: stretch;
}

.smart-pricing__card {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 2rem;
	text-align: center;
}

.smart-pricing__name {
	font-size: 1.5rem;
	margin: 0 0 1rem;
}

.smart-pricing__price {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.smart-pricing__price span {
	font-size: 1rem;
	font-weight: 400;
	opacity: 0.8;
}

.smart-pricing__list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	text-align: left;
}

.smart-pricing__list li {
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.smart-pricing__btn {
	display: inline-block;
	padding: 0.75rem 2rem;
	background: #333;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
}

/* ===== SKILLS ===== */
.smart-skills__grid {
	display: grid;
	gap: 1.5rem;
	max-width: 700px;
	margin: 0 auto;
}

.smart-skill__header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.smart-skill__label {
	font-weight: 500;
}

.smart-skill__percent {
	opacity: 0.8;
}

.smart-skill__bar {
	height: 8px;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	overflow: hidden;
}

.smart-skill__fill {
	height: 100%;
	background: currentColor;
	border-radius: 4px;
	transition: width 0.5s ease;
}

/* ===== TEAM ===== */
.smart-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 2rem;
}

.smart-team__card {
	text-align: center;
}

.smart-team__img {
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.smart-team__img img {
	width: 100%;
	height: auto;
	display: block;
}

.smart-team__name {
	font-weight: 600;
	display: block;
}

.smart-team__role {
	font-size: 0.875rem;
	opacity: 0.8;
}

/* ===== STATS ===== */
.smart-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2rem;
	text-align: center;
}

.smart-stat__item {
	padding: 1rem;
}

.smart-stat__number {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.smart-stat__label {
	font-size: 0.9375rem;
	opacity: 0.9;
}

/* ===== CONTACT ===== */
.smart-contact__wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

@media (max-width: 768px) {
	.smart-contact__wrap {
		grid-template-columns: 1fr;
	}
}

.smart-form input,
.smart-form textarea {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
}

.smart-form textarea {
	resize: vertical;
}

.smart-btn {
	padding: 0.75rem 2rem;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
