/**
 * Soria Casas Web — Pagina de Contacto.
 *
 * Prefijo: .sc-contacto
 * Tipografias: Cormorant Garamond (titulos) + DM Sans (cuerpo)
 * Paleta: --azul #4a8fcc, --beige #fbf5e9, etc.
 * Replica la estetica de las fichas de propiedad (.sc-ficha).
 *
 * @package SoriaCasasWeb
 */

/* ===================================================================
   VARIABLES
   =================================================================== */
.sc-contacto {
	--azul: #4a8fcc;
	--azul-hover: #3a7fb8;
	--azul-light: rgba(74, 143, 204, 0.08);
	--beige: #fbf5e9;
	--beige-dark: #f0e8d5;
	--blanco: #ffffff;
	--gris-texto: #54585e;
	--negro: #333333;
	--borde: #e5e5e5;
	--verde: #2e7d32;
	--verde-light: #e8f5e9;
	--rojo: #e53935;
	--rojo-light: #ffebee;
	--sombra: 0 2px 16px rgba(0, 0, 0, 0.08);
	--sombra-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
	--radio: 12px;
	--radio-sm: 8px;
	--max-width: 1200px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================================
   RESET / AISLAMIENTO DE XSTORE
   =================================================================== */
.sc-contacto,
.sc-contacto *,
.sc-contacto *::before,
.sc-contacto *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.sc-contacto {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--blanco);
	color: var(--negro);
	line-height: 1.6;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-transform: none;
	letter-spacing: normal;
	word-spacing: normal;
}

.sc-contacto a {
	color: inherit;
	text-decoration: none;
}

.sc-contacto img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ===================================================================
   HERO — background-image via inline style (evita conflictos XStore)
   =================================================================== */
.sc-contacto-hero {
	position: relative !important;
	background-color: #2c3e50 !important;
	background-size: 100% !important;
	background-position: left bottom !important;
	background-repeat: no-repeat !important;
	padding: 80px 24px 72px !important;
	text-align: center !important;
	overflow: hidden !important;
}

.sc-contacto-hero__overlay {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: linear-gradient(
		to bottom,
		rgba(20, 28, 40, 0.68) 0%,
		rgba(20, 28, 40, 0.76) 50%,
		rgba(20, 28, 40, 0.84) 100%
	) !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

.sc-contacto-hero__inner {
	position: relative !important;
	max-width: var(--max-width) !important;
	margin: 0 auto !important;
	z-index: 2 !important;
}

.sc-contacto-breadcrumb {
	font-size: 13px !important;
	color: rgba(255, 255, 255, 0.7) !important;
	margin-bottom: 20px !important;
}

.sc-contacto-breadcrumb a {
	color: rgba(255, 255, 255, 0.85) !important;
	transition: color var(--transition);
}

.sc-contacto-breadcrumb a:hover {
	color: #ffffff !important;
	text-decoration: underline;
}

.sc-contacto-breadcrumb span {
	margin: 0 8px !important;
	opacity: 0.5;
}

.sc-contacto-hero__titulo {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-size: 42px !important;
	font-weight: 500 !important;
	color: #ffffff !important;
	letter-spacing: -0.01em !important;
	margin-bottom: 12px !important;
	line-height: 1.2 !important;
}

.sc-contacto-hero__subtitulo {
	font-size: 17px !important;
	color: rgba(255, 255, 255, 0.85) !important;
	max-width: 540px !important;
	margin: 0 auto !important;
	font-weight: 300 !important;
	line-height: 1.6 !important;
}

/* ===================================================================
   TARJETAS DE CONTACTO
   =================================================================== */
.sc-contacto-cards {
	max-width: var(--max-width);
	margin: -40px auto 0;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

.sc-contacto-cards__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.sc-contacto-card {
	background: var(--blanco);
	border-radius: var(--radio);
	padding: 28px 24px;
	text-align: center;
	box-shadow: var(--sombra);
	border: 1px solid var(--borde);
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: default;
}

a.sc-contacto-card {
	cursor: pointer;
}

a.sc-contacto-card:hover,
a.sc-contacto-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--sombra-hover);
	border-color: var(--azul);
}

.sc-contacto-card__icono {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--azul-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--azul);
	margin-bottom: 4px;
	transition: all var(--transition);
}

a.sc-contacto-card:hover .sc-contacto-card__icono {
	background: var(--azul);
	color: var(--blanco);
}

.sc-contacto-card__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--gris-texto);
	font-weight: 500;
}

.sc-contacto-card__valor {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 19px;
	font-weight: 600;
	color: var(--negro);
	line-height: 1.3;
}

/* ===================================================================
   TWO-COLUMN MAIN
   =================================================================== */
.sc-contacto-main {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 48px 24px;
}

.sc-contacto-main__inner {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	align-items: start;
}

/* ===================================================================
   FORMULARIO
   =================================================================== */
.sc-contacto-form {
	background: var(--blanco);
	border: 1px solid var(--borde);
	border-radius: var(--radio);
	padding: 36px;
	box-shadow: var(--sombra);
}

.sc-contacto-form__titulo {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 28px;
	font-weight: 500;
	color: var(--negro);
	margin-bottom: 6px;
	line-height: 1.2;
}

.sc-contacto-form__subtitulo {
	font-size: 15px;
	color: var(--gris-texto);
	margin-bottom: 28px;
	line-height: 1.5;
}

/* Honeypot: oculto pero no display:none (para screen readers) */
.sc-contacto-form__honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

/* Fila de 2 campos */
.sc-contacto-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

/* Grupo de campo */
.sc-contacto-form-group {
	margin-bottom: 20px;
}

.sc-contacto-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--negro);
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.sc-contacto-form-group label .required {
	color: var(--azul);
}

.sc-contacto-form-group input,
.sc-contacto-form-group select,
.sc-contacto-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	color: var(--negro);
	background: var(--blanco);
	border: 1px solid var(--borde);
	border-radius: var(--radio-sm);
	transition: all var(--transition);
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.sc-contacto-form-group input:focus,
.sc-contacto-form-group select:focus,
.sc-contacto-form-group textarea:focus {
	border-color: var(--azul);
	box-shadow: 0 0 0 3px var(--azul-light);
}

.sc-contacto-form-group input::placeholder,
.sc-contacto-form-group textarea::placeholder {
	color: #b0b0b0;
	font-weight: 300;
}

.sc-contacto-form-group input.sc-error,
.sc-contacto-form-group select.sc-error,
.sc-contacto-form-group textarea.sc-error {
	border-color: var(--rojo);
	box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

/* Select custom arrow (fallback si se usa select) */
.sc-contacto-form-group select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2354585e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
	cursor: pointer;
}

/* ── Tipo de consulta: grid (replica .sc-ficha-caract-grid) ── */
.sc-contacto-tipo-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 0 !important;
	border: 1px solid var(--borde) !important;
	border-radius: var(--radio) !important;
	overflow: hidden !important;
}

/* Items: <div> en lugar de <button> para evitar overrides de XStore */
.sc-contacto-tipo-grid .sc-contacto-tipo-btn {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 18px 20px !important;
	margin: 0 !important;
	background: var(--blanco) !important;
	border: none !important;
	border-bottom: 1px solid var(--borde) !important;
	border-right: 1px solid var(--borde) !important;
	border-radius: 0 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	position: relative !important;
	z-index: 2 !important;
	transition: background var(--transition) !important;
	user-select: none;
}

.sc-contacto-tipo-grid .sc-contacto-tipo-btn:nth-child(2n) {
	border-right: none !important;
}

.sc-contacto-tipo-grid .sc-contacto-tipo-btn:nth-last-child(1),
.sc-contacto-tipo-grid .sc-contacto-tipo-btn:nth-last-child(2) {
	border-bottom: none !important;
}

.sc-contacto-tipo-btn__icono {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	background: var(--azul-light) !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	color: var(--azul) !important;
	transition: background var(--transition), transform var(--transition) !important;
	overflow: hidden !important;
}

.sc-contacto-tipo-btn__icono svg {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	stroke: var(--azul) !important;
	stroke-width: 1.8 !important;
	fill: none !important;
	flex-shrink: 0 !important;
}

.sc-contacto-tipo-btn__label {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--negro) !important;
	line-height: 1.3 !important;
	transition: color var(--transition) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* Hover */
.sc-contacto-tipo-grid .sc-contacto-tipo-btn:hover {
	background: var(--beige) !important;
}

.sc-contacto-tipo-btn:hover .sc-contacto-tipo-btn__icono {
	background: rgba(74, 143, 204, 0.14) !important;
	transform: scale(1.05);
}

/* Activo/seleccionado */
.sc-contacto-tipo-grid .sc-contacto-tipo-btn.active {
	background: var(--beige) !important;
}

.sc-contacto-tipo-btn.active .sc-contacto-tipo-btn__icono {
	background: var(--azul) !important;
	color: var(--blanco) !important;
}

.sc-contacto-tipo-btn.active .sc-contacto-tipo-btn__icono svg {
	stroke: var(--blanco) !important;
}

.sc-contacto-tipo-btn.active .sc-contacto-tipo-btn__label {
	color: var(--azul) !important;
	font-weight: 600 !important;
}

/* Error */
.sc-contacto-tipo-grid.sc-error {
	border-color: rgba(229, 57, 53, 0.5) !important;
}

.sc-contacto-tipo-grid.sc-error .sc-contacto-tipo-btn {
	border-color: rgba(229, 57, 53, 0.3) !important;
}

/* Focus accesibilidad */
.sc-contacto-tipo-btn:focus-visible {
	outline: 2px solid var(--azul) !important;
	outline-offset: -2px !important;
	z-index: 1;
}

.sc-contacto-form-group textarea {
	resize: vertical;
	min-height: 120px;
}

/* GDPR checkbox */
.sc-contacto-form__privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 24px;
}

.sc-contacto-form__privacy input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin-top: 2px;
	accent-color: var(--azul);
	cursor: pointer;
}

.sc-contacto-form__privacy label {
	font-size: 13px;
	color: var(--gris-texto);
	line-height: 1.5;
	cursor: pointer;
}

.sc-contacto-form__privacy a {
	color: var(--azul);
	text-decoration: underline;
}

.sc-contacto-form__privacy a:hover {
	color: var(--azul-hover);
}

/* Submit button — con overrides contra XStore */
button.sc-contacto-form__submit,
.sc-contacto-form button.sc-contacto-form__submit {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 14px 32px !important;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: #ffffff !important;
	background: #4a8fcc !important;
	background-color: #4a8fcc !important;
	background-image: none !important;
	border: none !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	box-shadow: none !important;
	line-height: 1.4 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

button.sc-contacto-form__submit:hover {
	background: #3a7fb8 !important;
	background-color: #3a7fb8 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(74, 143, 204, 0.35) !important;
}

button.sc-contacto-form__submit:active {
	transform: translateY(0);
}

button.sc-contacto-form__submit:disabled {
	opacity: 0.7 !important;
	cursor: not-allowed !important;
	transform: none !important;
	box-shadow: none !important;
}

/* Spinner */
.sc-contacto-spinner {
	animation: scw-spin 1s linear infinite;
}

@keyframes scw-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

/* Success/error message */
.sc-contacto-form__mensaje {
	margin-top: 16px;
	padding: 14px 18px;
	border-radius: var(--radio-sm);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	animation: scw-fade-in 0.3s ease;
}

.sc-contacto-form__mensaje--success {
	background: var(--verde-light);
	color: var(--verde);
	border: 1px solid #a5d6a7;
}

.sc-contacto-form__mensaje--error {
	background: var(--rojo-light);
	color: var(--rojo);
	border: 1px solid #ef9a9a;
}

@keyframes scw-fade-in {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* GDPR notice */
.sc-contacto-form__gdpr-notice {
	font-size: 11px;
	color: #999;
	line-height: 1.5;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--borde);
}

/* ===================================================================
   SIDEBAR
   =================================================================== */
.sc-contacto-right {
	position: sticky;
	top: 90px;
}

.sc-contacto-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ── Horario ── */
.sc-contacto-horario {
	background: var(--beige);
	border-radius: var(--radio);
	padding: 24px;
	border: 1px solid var(--beige-dark);
}

.sc-contacto-horario__titulo {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 20px;
	font-weight: 500;
	color: var(--negro);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1.2;
}

.sc-contacto-horario__titulo svg {
	color: var(--azul);
	flex-shrink: 0;
}

.sc-contacto-horario__filas {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sc-contacto-horario__fila {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.sc-contacto-horario__dia {
	font-weight: 500;
	color: var(--negro);
}

.sc-contacto-horario__horas {
	color: var(--gris-texto);
	font-weight: 400;
}

.sc-contacto-horario__fila--closed .sc-contacto-horario__horas {
	color: #999;
	font-style: italic;
}

/* Estado abierto/cerrado */
.sc-contacto-horario__estado {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid var(--beige-dark);
}

.sc-contacto-horario__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.sc-contacto-horario__estado--open {
	color: var(--verde);
}

.sc-contacto-horario__estado--open .sc-contacto-horario__dot {
	background: var(--verde);
	box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
	animation: scw-pulse 2s infinite;
}

.sc-contacto-horario__estado--closed {
	color: #999;
}

.sc-contacto-horario__estado--closed .sc-contacto-horario__dot {
	background: #ccc;
}

@keyframes scw-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2); }
	50%      { box-shadow: 0 0 0 6px rgba(46, 125, 50, 0.1); }
}

/* ── Mapa ── */
.sc-contacto-mapa {
	border-radius: var(--radio);
	overflow: hidden;
	border: 1px solid var(--borde);
	background: #f0ece4;
}

.sc-contacto-mapa__placeholder {
	position: relative;
	width: 100%;
	height: 260px;
}

.sc-contacto-mapa__loading {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--gris-texto);
	font-size: 13px;
}

.sc-contacto-mapa__loading svg {
	color: var(--azul);
	opacity: 0.5;
}

.sc-contacto-mapa iframe {
	width: 100%;
	height: 260px;
	border: 0;
	display: block;
}

/* ── CTA ── */
.sc-contacto-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sc-contacto-cta__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 20px;
	border-radius: var(--radio-sm);
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--transition);
	cursor: pointer;
	border: none;
}

.sc-contacto-cta__btn--telefono {
	background: var(--azul);
	color: var(--blanco);
}

.sc-contacto-cta__btn--telefono:hover {
	background: var(--azul-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(74, 143, 204, 0.35);
}

.sc-contacto-cta__btn--directions {
	background: var(--beige);
	color: var(--negro);
	border: 1px solid var(--beige-dark);
}

.sc-contacto-cta__btn--directions:hover {
	background: var(--beige-dark);
	transform: translateY(-1px);
}

/* ===================================================================
   GOOGLE REVIEWS
   =================================================================== */
.sc-contacto-reviews {
	background: #f8f6f2;
	padding: 56px 24px;
}

.sc-contacto-reviews__inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.sc-contacto-reviews__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
	flex-wrap: wrap;
	gap: 16px;
}

.sc-contacto-reviews__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sc-contacto-reviews__brand-text {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 24px;
	font-weight: 500;
	color: var(--negro);
}

.sc-contacto-reviews__rating {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sc-contacto-reviews__score {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 32px;
	font-weight: 600;
	color: var(--negro);
	line-height: 1;
}

.sc-contacto-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.sc-contacto-reviews__count {
	font-size: 14px;
	color: var(--gris-texto);
}

/* Reviews grid */
.sc-contacto-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

.sc-contacto-review {
	background: var(--blanco);
	border-radius: var(--radio);
	padding: 24px;
	border: 1px solid var(--borde);
	transition: all var(--transition);
}

.sc-contacto-review:hover {
	transform: translateY(-2px);
	box-shadow: var(--sombra);
}

.sc-contacto-review__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.sc-contacto-review__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--azul-light);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sc-contacto-review__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-contacto-review__initial {
	font-size: 16px;
	font-weight: 600;
	color: var(--azul);
	text-transform: uppercase;
}

.sc-contacto-review__meta {
	flex: 1;
	min-width: 0;
}

.sc-contacto-review__author {
	font-size: 14px;
	font-weight: 500;
	color: var(--negro);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sc-contacto-review__time {
	font-size: 12px;
	color: #999;
}

.sc-contacto-review .sc-contacto-stars {
	margin-bottom: 8px;
}

.sc-contacto-review__text {
	font-size: 14px;
	color: var(--gris-texto);
	line-height: 1.5;
}

.sc-contacto-reviews__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 8px;
}

.sc-contacto-reviews__link--all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gris-texto);
	font-size: 14px;
	font-weight: 400;
	transition: color var(--transition);
}

.sc-contacto-reviews__link--all:hover {
	color: var(--azul);
}

/* CTA prominente para escribir resena */
.sc-contacto-reviews__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--azul);
	color: var(--blanco);
	padding: 12px 28px;
	border-radius: var(--radio-sm);
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	transition: all var(--transition);
	box-shadow: 0 2px 8px rgba(74, 143, 204, 0.2);
}

.sc-contacto-reviews__cta:hover {
	background: var(--azul-hover);
	color: var(--blanco);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(74, 143, 204, 0.35);
}

.sc-contacto-reviews__cta svg {
	flex-shrink: 0;
}

/* ===================================================================
   SECCION CONFIANZA
   =================================================================== */
.sc-contacto-trust {
	background: var(--beige);
	padding: 64px 24px;
	text-align: center;
}

.sc-contacto-trust__inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.sc-contacto-trust__titulo {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 34px;
	font-weight: 500;
	color: var(--negro);
	margin-bottom: 8px;
	line-height: 1.2;
}

.sc-contacto-trust__subtitulo {
	font-size: 16px;
	color: var(--gris-texto);
	max-width: 600px;
	margin: 0 auto 40px;
	line-height: 1.6;
}

.sc-contacto-trust__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.sc-contacto-trust__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.sc-contacto-trust__icono {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--blanco);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--azul);
	box-shadow: var(--sombra);
	margin-bottom: 4px;
}

.sc-contacto-trust__numero {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 32px;
	font-weight: 600;
	color: var(--azul);
	line-height: 1;
}

.sc-contacto-trust__etiqueta {
	font-size: 14px;
	color: var(--gris-texto);
	max-width: 220px;
	line-height: 1.4;
}

/* ===================================================================
   RESPONSIVE — TABLET (max 900px)
   =================================================================== */
@media (max-width: 900px) {
	.sc-contacto-card__valor {
		font-size: 16px;
	}

	.sc-contacto-main__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.sc-contacto-right {
		position: static;
		order: -1;
	}

	.sc-contacto-sidebar {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.sc-contacto-horario {
		flex: 1;
		min-width: 250px;
	}

	.sc-contacto-mapa {
		flex: 1;
		min-width: 250px;
	}

	.sc-contacto-cta {
		flex-direction: row;
		width: 100%;
	}

	.sc-contacto-cta__btn {
		flex: 1;
	}

	/* Reviews grid: override inline styles */
	.sc-contacto-reviews {
		padding: 48px 20px !important;
	}

	.sc-contacto-reviews__grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px !important;
	}

	.sc-contacto-reviews__header {
		margin-bottom: 24px !important;
	}

	.sc-contacto-trust__titulo {
		font-size: 28px;
	}

	.sc-contacto-trust__grid {
		gap: 20px;
	}
}

/* ===================================================================
   RESPONSIVE — MOBILE (max 600px)
   =================================================================== */
@media (max-width: 600px) {
	.sc-contacto-card__valor {
		font-size: 16px;
	}

	.sc-contacto-main {
		padding: 24px 16px;
	}

	.sc-contacto-form {
		padding: 24px 20px;
	}

	.sc-contacto-form__titulo {
		font-size: 24px;
	}

	.sc-contacto-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sc-contacto-tipo-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.sc-contacto-tipo-grid .sc-contacto-tipo-btn {
		padding: 14px 16px !important;
	}

	.sc-contacto-tipo-btn__icono {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
	}

	.sc-contacto-tipo-btn__icono svg {
		width: 18px !important;
		height: 18px !important;
	}

	.sc-contacto-tipo-btn__label {
		font-size: 14px !important;
	}

	.sc-contacto-sidebar {
		flex-direction: column;
	}

	.sc-contacto-mapa__placeholder,
	.sc-contacto-mapa iframe {
		height: 200px;
	}

	.sc-contacto-cta {
		flex-direction: column;
	}

	.sc-contacto-reviews {
		padding: 40px 16px !important;
	}

	.sc-contacto-reviews__header {
		flex-direction: column !important;
		align-items: flex-start !important;
		margin-bottom: 20px !important;
		gap: 12px !important;
	}

	.sc-contacto-reviews__grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.sc-contacto-review {
		padding: 20px !important;
	}

	.sc-contacto-reviews__footer {
		flex-direction: column !important;
		gap: 12px !important;
	}

	.sc-contacto-reviews__cta {
		width: 100% !important;
		justify-content: center !important;
		box-sizing: border-box !important;
	}

	.sc-contacto-trust {
		padding: 40px 16px;
	}

	.sc-contacto-trust__titulo {
		font-size: 24px;
	}

	.sc-contacto-trust__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.sc-contacto-trust__numero {
		font-size: 28px;
	}
}

/* ===================================================================
   RESPONSIVE — SMALL MOBILE (max 400px)
   =================================================================== */
@media (max-width: 400px) {
	.sc-contacto-hero__titulo {
		font-size: 24px !important;
	}

	.sc-contacto-tipo-grid {
		grid-template-columns: 1fr !important;
	}

	.sc-contacto-reviews__brand-text,
	.sc-contacto-reviews .sc-contacto-reviews__brand span[style] {
		font-size: 20px !important;
	}

	.sc-contacto-reviews__rating > span[style*="font-size"] {
		font-size: 26px !important;
	}

	.sc-contacto-trust__titulo {
		font-size: 21px;
	}

	.sc-contacto-trust__numero {
		font-size: 24px;
	}

	.sc-contacto-form__titulo {
		font-size: 22px;
	}
}


/* ===================================================================
   PRINT
   =================================================================== */
@media print {
	.sc-contacto-hero {
		background: none !important;
		color: #000 !important;
		padding: 20px 0;
	}

	.sc-contacto-hero__overlay {
		display: none !important;
	}

	.sc-contacto-hero__titulo,
	.sc-contacto-hero__subtitulo,
	.sc-contacto-breadcrumb,
	.sc-contacto-breadcrumb a {
		color: #000 !important;
	}

	.sc-contacto-card,
	.sc-contacto-form,
	.sc-contacto-horario,
	.sc-contacto-review {
		box-shadow: none !important;
		border: 1px solid #ccc !important;
	}

	.sc-contacto-mapa,
	.sc-contacto-cta,
	.sc-contacto-form__submit {
		display: none !important;
	}
}
