/* ══════════════════════════════════════════
   Reset y estilos globales
   ══════════════════════════════════════════ */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background-color: #f0f2ed;
	color: #1d340c;
}

a {
	text-decoration: none;
}

/* ══════════════════════════════════════════
   Navbar standalone — para páginas sin hero completo
   (ej: aviso de privacidad, términos)
   ══════════════════════════════════════════ */
.page-header {
	background: #1d340c;
}

/* ══════════════════════════════════════════
   Sección de prosa legal — fondo claro, texto legible
   ══════════════════════════════════════════ */
.prose-main {
	background: #f0f2ed;
	padding: 48px 0 80px;
}

.prose-container {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
}

.prose-container h1 {
	font-size: 30px;
	font-weight: 700;
	color: #1d340c;
	margin-bottom: 24px;
}

.prose-container p {
	font-size: 15px;
	font-weight: 300;
	color: #3a3a3a;
	line-height: 1.8;
}

.prose-container a {
	color: #C14291;
	font-weight: 500;
}

.prose-container a:hover {
	color: #a83880;
}

/* ══════════════════════════════════════════
   Hero — fondo verde oscuro con navbar y título
   ══════════════════════════════════════════ */
#contact-hero {
	background: #1d340c;
	color: white;
	display: flex;
	flex-direction: column;
}

#contact-navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 48px;
}

.nav-logo {
	height: 76px;
	width: auto;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.back-link {
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
	transition: color 0.2s;
}

.back-link:hover {
	color: white;
}

.code-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	color: white;
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.2s;
}

.code-btn .material-icons {
	font-size: 18px;
}

.code-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

#contact-hero-content {
	padding: 48px 48px 56px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Chip de presentación */
.contact-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: 1.5px solid #bb669f;
	background: rgba(187, 102, 159, 0.15);
	color: #ed86cb;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 500;
	width: fit-content;
}

.contact-chip .material-icons {
	font-size: 14px;
}

#contact-hero-content h1 {
	font-size: 42px;
	font-weight: 700;
	color: white;
	line-height: 1.15;
}

.contact-highlight {
	color: #d45aa8;
}

.contact-sub {
	font-size: 16px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.7;
}

/* Badge de tiempo de respuesta */
.response-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(82, 122, 52, 0.2);
	border: 1px solid rgba(82, 122, 52, 0.4);
	color: #9eb08b;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	width: fit-content;
}

.response-badge .material-icons {
	font-size: 15px;
}

/* ══════════════════════════════════════════
   Sección principal — fondo claro, contenedor centrado
   ══════════════════════════════════════════ */
#contact-main {
	background: #f0f2ed;
	padding: 48px 0 64px;
}

.contact-container {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

/* ══════════════════════════════════════════
   Grid de canales de contacto — 2×2
   ══════════════════════════════════════════ */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.contact-card {
	background: white;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	border: 1px solid rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.2s, transform 0.2s;
}

.contact-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

/* Íconos de cada canal — fondo de color + ícono blanco */
.contact-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-icon-wrap .material-icons {
	font-size: 24px;
	color: white;
}

.contact-brand-img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.dark-icon {
	background: #1C1A1A;
}

.green-icon {
	background: #25D366;
}

.instagram-icon {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook-icon {
	background: #1877F2;
}

/* Texto del canal */
.contact-card-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.contact-card-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.dark-label { color: #1C1A1A; }
.whatsapp-label { color: #1a7a3d; }
.instagram-label { color: #C13584; }
.facebook-label { color: #1460c2; }

.contact-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #1d340c;
}

.contact-card-sub {
	font-size: 13px;
	font-weight: 300;
	color: #527A34;
}

/* ══════════════════════════════════════════
   Sección de preguntas frecuentes
   ══════════════════════════════════════════ */
.faq-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #4e7530;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-card {
	background: white;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	border: 1px solid rgba(0, 0, 0, 0.07);
}

/* Ícono de la pregunta — fondo sutil verde oscuro */
.faq-icon-wrap {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(29, 52, 12, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.faq-icon-wrap .material-icons {
	font-size: 20px;
	color: #1d340c;
}

.faq-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.faq-body h3 {
	font-size: 15px;
	font-weight: 600;
	color: #1d340c;
}

.faq-body p {
	font-size: 13px;
	font-weight: 300;
	color: #527A34;
	line-height: 1.65;
}

.faq-link {
	color: #C14291;
	font-weight: 500;
}

.faq-link:hover {
	color: #a83880;
}

/* ══════════════════════════════════════════
   Footer — fondo verde oscuro, una sola línea
   ══════════════════════════════════════════ */
#contact-footer {
	background: #1d340c;
}

.contact-footer-inner {
	max-width: 860px;
	margin: 0 auto;
	padding: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-copy {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.footer-back-link {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
	transition: color 0.2s;
}

.footer-back-link:hover {
	color: white;
}

/* ══════════════════════════════════════════
   Cookie bar — franja fija en la parte inferior
   Variante compacta con un solo botón "Aceptar"
   ══════════════════════════════════════════ */
.cookie-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #1d340c;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 100;
}

.cookie-bar-inner {
	max-width: 860px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.cookie-bar-icon {
	font-size: 22px;
	color: rgba(158, 176, 139, 0.65);
	flex-shrink: 0;
}

.cookie-bar-text {
	flex: 1;
	font-size: 13px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.5;
}

.cookie-bar-link {
	color: #C14291;
	font-weight: 500;
}

.cookie-bar-link:hover {
	color: #d45aa8;
}

.cookie-bar-btn {
	background: #25D366;
	color: #1d340c;
	border: none;
	padding: 9px 24px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
	cursor: pointer;
	transition: background 0.2s;
	flex-shrink: 0;
}

.cookie-bar-btn:hover {
	background: #1ebe5d;
}

/* ══════════════════════════════════════════
   Responsive — dispositivos móviles (< 768px)
   ══════════════════════════════════════════ */
@media only screen and (max-width: 767px) {
	#contact-navbar {
		padding: 16px 20px;
	}

	.back-link {
		display: none;
	}

	#contact-hero-content {
		padding: 32px 20px 40px;
	}

	#contact-hero-content h1 {
		font-size: 28px;
	}

	.contact-sub br {
		display: none;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-container {
		gap: 28px;
	}

	.cookie-bar-inner {
		flex-wrap: wrap;
		gap: 10px;
	}

	.cookie-bar-text {
		width: 100%;
	}

	.cookie-bar-btn {
		width: 100%;
		text-align: center;
	}
}

/* ══════════════════════════════════════════
   Responsive — tablets (768px – 1023px)
   ══════════════════════════════════════════ */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	#contact-navbar {
		padding: 20px 32px;
	}

	#contact-hero-content {
		padding: 40px 32px 48px;
	}

	.contact-container {
		padding: 0 32px;
	}
}