/* =============================================
   GRIGLIA OFFERTE
   ============================================= */
.offerte-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

/* =============================================
   SCHEDA OFFERTA
   ============================================= */
.offerta-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
}

.offerta-card__border-wrap {
	border-radius: 12px;
	padding: 4px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.offerta-card__inner {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.offerta-card__content {
	padding: 25px 25px 20px;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

/* --- Badge --- */
.offerta-card__badge {
	display: inline-block;
	background-color: #2ecc71;
	color: #ffffff;
	padding: 6px 18px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
	line-height: 1.4;
}

/* --- Titolo --- */
.offerta-card__title {
	font-size: 22px;
	font-weight: 700;
	color: #1a2744;
	margin: 0 0 10px;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	word-break: break-word;
	overflow-wrap: break-word;
}

.offerta-card__title-highlight {
	color: #2ecc71;
	font-weight: 800;
	font-style: italic;
}

/* --- Descrizione --- */
.offerta-card__description {
	font-size: 14px;
	color: #4a4a4a;
	line-height: 1.6;
	margin: 0 0 15px;
}

/* --- Sconto --- */
.offerta-card__discount {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #e8f8f0;
	color: #2ecc71;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 18px;
	line-height: 1.4;
	max-width: 100%;
	word-break: break-word;
}

.offerta-card__discount-icon {
	display: inline-flex;
	align-items: center;
}

.offerta-card__discount i {
	font-size: 16px;
}

/* --- Pulsanti --- */
.offerta-card__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.offerta-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	line-height: 1.4;
	border: 2px solid transparent;
	white-space: normal;
	text-align: center;
	word-break: break-word;
}

.offerta-card__btn--primary {
	background-color: #1a2744;
	color: #ffffff;
	border-color: #1a2744;
}

.offerta-card__btn--primary:hover {
	background-color: #0d8f8f;
	border-color: #0d8f8f;
	color: #ffffff;
}

.offerta-card__btn--secondary {
	background-color: transparent;
	color: #1a2744;
	border-color: #1a2744;
}

.offerta-card__btn--secondary:hover {
	background-color: #1a2744;
	color: #ffffff;
}

/* --- Servizio --- */
.offerta-card__service {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e5e7eb;
}

.offerta-card__service-left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.offerta-card__service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #2ecc71;
	flex-shrink: 0;
}

.offerta-card__service-icon i {
	color: #ffffff;
	font-size: 18px;
}

.offerta-card__service-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a2744;
	text-transform: uppercase;
}

.offerta-card__service-desc {
	font-size: 12px;
	color: #6b7280;
	line-height: 1.5;
	margin: 0;
	flex: 1;
	min-width: 120px;
}

/* --- Tabella Prezzi --- */
.offerta-card__prices {
	margin-bottom: 5px;
}

.offerta-card__price-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	padding: 12px 10px;
	border-bottom: 1px solid #e5e7eb;
}

.offerta-card__price-row:last-child {
	border-bottom: none;
}

.offerta-card__price-label {
	font-size: 13px;
	color: #4a4a4a;
	line-height: 1.5;
	flex: 1;
}

.offerta-card__price-sublabel {
	display: block;
	font-style: italic;
	font-size: 12px;
	opacity: 0.8;
}

.offerta-card__price-value {
	font-size: 15px;
	font-weight: 700;
	color: #1a2744;
	white-space: normal;
	text-align: right;
	word-break: break-word;
}

/* --- Footer / Accordion --- */
.offerta-card__footer {
	background-color: #1a2744;
	color: #ffffff;
	border-radius: 0 0 8px 8px;
	overflow: hidden;
}

.offerta-card__footer-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 12px 20px;
	background: none;
	border: none;
	color: inherit;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	line-height: 1.4;
	text-align: left;
	transition: opacity 0.2s;
}

.offerta-card__footer-toggle:hover {
	opacity: 0.85;
}

.offerta-card__footer-text {
	flex: 1;
}

.offerta-card__footer-icon {
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.offerta-card__footer-toggle[aria-expanded="true"] .offerta-card__footer-icon {
	transform: rotate(45deg);
}

.offerta-card__footer-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.offerta-card__footer-content[aria-hidden="false"] {
	max-height: 500px;
}

.offerta-card__footer-content-inner {
	padding: 0 20px 15px;
	font-size: 13px;
	line-height: 1.6;
	background-color: #f0f4f8;
	color: #1a2744;
	padding: 15px 20px;
}

.offerta-card__footer-content-inner p {
	margin: 0 0 8px;
}

.offerta-card__footer-content-inner p:last-child {
	margin-bottom: 0;
}
