/* --- CONFIGURACIÓN GENERAL Y FUENTES --- */
:root {
	--primary-color: #003036; /* Azul Petróleo Oscuro (de la imagen) */
	--secondary-color: #CCA470; /* Dorado/Sepia (del logo) */
	--text-dark: #333333;
	--text-light: #ffffff;
	--bg-light: #f4f4f4;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	background-color: var(--bg-light);
	color: var(--text-dark);
	line-height: 1.6;
}

h1, h2, h3 {
	font-family: 'Georgia', serif; /* Toque clásico/elegante como la imagen */
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- HEADER Y NAV --- */
header {
	background-color: var(--primary-color);
	color: var(--text-light);
	padding: 1rem 0;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.logo-area {
	display: flex;
	align-items: center;
}

.logo-symbol {
	font-family: 'Georgia', serif; /* Toque clásico/elegante como la imagen */
	background-color: var(--secondary-color);
	color: var(--text-light);
	padding: 10px;
	border-radius: 50%; /* Círculo como en la imagen */
	font-weight: bold;
	font-size: 1.2rem;
	margin-right: 10px;
	border: 2px solid white;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
	padding: 0;
}

nav a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

nav a:hover {
	color: var(--secondary-color);
}

/* --- SLIDESHOW (CARRUSEL) --- */
.slideshow-container {
	position: relative;
	max-width: 100%;
	height: 500px;
	overflow: hidden;
	background-color: #000;
}

.slide {
	display: none;
	height: 100%;
	width: 100%;
	position: absolute;
	animation: fade 1.5s;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7; /* Oscurecer un poco para que se lea el texto */
}

.slide-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	z-index: 10;
}

.slide-content h2 {
	font-size: 3rem;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px #000;
}

.slide-content p {
	font-size: 1.5rem;
	text-shadow: 1px 1px 2px #000;
}

/* Botones del slider */
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	background-color: rgba(0,0,0,0.5);
	z-index: 15;
}

.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: var(--secondary-color); }

@keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

/* --- SECCIÓN SINIESTROS --- */
.section-info {
	padding: 60px 0;
	background-color: white;
	text-align: center;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.step-card {
	background: var(--bg-light);
	padding: 20px;
	border-bottom: 4px solid var(--primary-color);
	border-radius: 8px;
	transition: transform 0.3s;
}

.step-card:hover {
	transform: translateY(-5px);
}

.icon-step {
	font-size: 40px;
	color: var(--secondary-color);
	margin-bottom: 15px;
}

/* --- SECCIÓN COTIZADOR --- */
.cotizador-section {
	padding: 60px 0;
	background: linear-gradient(rgba(0,48,54,0.9), rgba(0,48,54,0.9)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&q=80');
	background-size: cover;
	background-attachment: fixed;
	color: white;
}

.form-container {
	background: rgba(255, 255, 255, 0.95);
	padding: 40px;
	border-radius: 10px;
	max-width: 600px;
	margin: 0 auto;
	color: var(--text-dark);
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.form-group {
	margin-bottom: 20px;
	text-align: left;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

.form-group input, .form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-sizing: border-box; /* Para que el padding no rompa el ancho */
}

.btn-cotizar {
	width: 100%;
	padding: 15px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s;
}

.btn-cotizar:hover {
	background-color: var(--secondary-color);
	color: var(--primary-color);
}

#resultado-cotizacion {
	margin-top: 20px;
	padding: 15px;
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	border-radius: 5px;
	display: none; /* Oculto por defecto */
	text-align: center;
}

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 30px;
	right: 30px;
	background-color: #25d366; /* Color de WhatsApp */
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	line-height: 60px;
	z-index: 10000; /* Asegura que esté por encima de todo */
	box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
	transition: transform 0.3s ease-in-out;
	text-decoration: none; /* Quitar el subrayado */
}

.whatsapp-float:hover {
	transform: scale(1.1);
}

/* --- FOOTER --- */
footer {
	background-color: #1a1a1a;
	color: white;
	padding: 40px 0;
	text-align: center;
}

.footer-info p {
	margin: 5px 0;
}

.contact-highlight {
	color: var(--secondary-color);
	font-weight: bold;
	font-size: 1.2rem;
}