#lateralnoticia{
    width:15%;
    float:right;
    margin-right:3%;
    margin-top:40px;
    font-family:Arial, Helvetica, sans-serif;
}
#lateralnoticia > div:first-child{
    background:#f7f7f7;
    padding:25px !important;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    border-top:4px solid #a5000c;
}

/* TITULO SERVICIOS */
#lateralnoticia h3{
    font-size:16px !important;
    letter-spacing:0.5px;
    margin-bottom:15px;
}

/* TEXTO INTRO */
#lateralnoticia p{
    font-size:14px;
    line-height:1.6;
    color:#555;
}

/* LINKS SERVICIOS */
#lateralnoticia p a{
    display:block;
    padding:8px 0;
    text-decoration:none;
    color:#444;
    border-bottom:1px solid #e5e5e5;
    transition:all 0.25s ease;
}

#lateralnoticia p a:hover{
    color:#a5000c;
    padding-left:6px;
}

/* FORMULARIO CONTACTO */
#lateralnoticia fieldset{
    border:none;
    background:#a5000c !important;
    padding:25px !important;
    border-radius:8px;
    margin-top:30px;
}

#lateralnoticia fieldset h3{
    color:white !important;
    font-size:16px;
    margin-bottom:15px;
}
#lateralnoticia input:not([type="checkbox"]),
#lateralnoticia textarea{
    width:100%;
    padding:10px;
    margin-top:6px;
    margin-bottom:12px;
    border-radius:4px;
    border:none;
    font-size:14px;
}

/* BOTON */
#lateralnoticia input[type="submit"]{
    background:white !important;
    color:#c40000 !important;
    font-weight:bold;
    border-radius:4px;
    padding:12px;
    cursor:pointer;
    transition:all 0.3s ease;
}
#lateralnoticia form p{color:#fff}
#lateralnoticia form p a{color:#fff; text-decoration:underline;}

#lateralnoticia input[type="submit"]:hover{
    background:#222 !important;
    color:white !important;
}

#lateralnoticia .privacidad{
    display:flex;
    align-items:center;
    gap:6px;
	
}
#lateralnoticia .privacidad input{with:auto;}
/* fin lateral*/
#subservicio {
  width: 75%;
  float: left;
  margin-left: 2%;
}
/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: #f8f9fb;
    padding: 12px 40px;
    font-size: 14px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    max-width: 1200px;
}

.breadcrumbs li::after {
    content: "›";
    margin-left: 8px;
    color: #9ca3af;
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    color: #b30000;
    font-weight: 500;
}
.hero {
	position: relative;
	background: url("/fotos/hero-traslado-maquinaria.jpg") center/cover no-repeat;
	min-height: 520px;
	display: flex;
	align-items: center;
	width:100%; padding:0px;
	max-width:100%;
}
.hero.hero-renovables {
    background-image: url("/fotos/hero-energias-renovables.jpg") !important;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.55);
}

.hero-content {
	position: relative;
	max-width: 1100px;
	padding: 80px;
	color: #fff;
}

.hero h1 {
	font-size: 42px;
	margin-bottom: 15px;
}

.hero p {
	font-size: 18px;
	max-width: 650px;
	line-height:25px;
}

.btn-primary {
	display: inline-block;
	margin-top: 25px;
	padding: 14px 28px;
	background: #a5000c;
	color: #fff;
	font-weight: 700;
	border-radius: 4px;
}

.hero-sub{
font-size:18px;
margin-bottom:15px;
}

.hero-benefits{
margin-bottom:20px;
margin-top:25px;
line-height:25px;
}
.hero-benefits li{margin-bottom:15px; line-height:15px;}

.contenedor-imagenes {
    display: flex; /* Activa Flexbox */
    gap: 15px;      /* Espacio opcional entre las imágenes */
    width: 100%;   /* Que ocupe todo el ancho disponible */
    max-width: 1200px; /* Opcional: Ancho máximo para que no se estiren demasiado en pantallas gigantes */
    margin: 0 auto; /* Centra el contenedor si tiene max-width */
	margin-top:15px;
}

/* 2. Estilo para el contenedor de cada imagen (los 'hijos' de flex) */
.item-imagen {
    flex: 1; /* Esto hace que cada imagen ocupe el mismo ancho (50% cada una) */
}

/* 3. Estilo vital para las imágenes mismas */
.item-imagen img {
    width: 100%;      /* La imagen ocupa todo el ancho de su contenedor (.item-imagen) */
    height: auto;     /* Mantiene la proporción para que no se deforme */
    display: block;   /* Elimina espacios extraños debajo de la imagen */
    object-fit: cover; /* Opcional: Si las imágenes tienen proporciones muy distintas, esto ayuda a que se vean mejor ajustadas */
}
#ejemplosobras img.pdf{
    width:26px;
    height:auto;
}
/* ===== SECTIONS ===== */
section {
	padding: 40px 40px;
	/*max-width: 1200px;*/
	margin: auto;
}

h2 {font-size: 32px;	margin-bottom: 20px;}
.titulo-centrado{ display: flex; align-items: center; justify-content: center;  }
.titulo-centrado::before, .titulo-centrado::after { content: ""; flex: 1; height: 2px; background-color: #a5000c; margin: 0 1rem; }
.intro {
   /* max-width: 90%;
	margin-left:10%;*/
}
.services{margin-top:40px;}

.service-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}

.service{
background:white;
padding:20px;
border-left:4px solid #c40000;
}
.service-grid .service h3{text-align:center; text-decoration:none;}
.service-grid .service p{text-align:center; text-decoration:none;}
.process{
margin-top:40px;
}

.steps{
display:flex;
gap:20px;
margin-top:20px;
}

.step{
background:white;
padding:20px;
text-align:center;
flex:1;
}

.step span{
display:block;
background:#c40000;
color:white;
width:30px;
height:30px;
line-height:30px;
margin:auto;
margin-bottom:10px;
}
.section#aerotermia-vs-fosiles {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /* Para que los bordes redondeados funcionen */
}

/* Estilos de la cabecera */
thead th {
    background-color: #1a508b; /* Azul profesional */
    color: white;
    text-align: left;
    padding: 18px 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos de las celdas */
th, td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
    vertical-align: middle;
}

/* Columna de "Características" (la primera) */
tbody td:first-child {
    font-weight: bold;
    color: #333;
    background-color: #f4f7f6;
    width: 25%;
}

/* Columna de Aerotermia (la destacada) */
tbody td:nth-child(2) {
    background-color: rgba(46, 204, 113, 0.05); /* Un verde muy sutil */
    border-left: 3px solid #2ecc71; /* Línea verde para resaltar */
}

/* Efecto hover para facilitar la lectura de filas */
tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

/* Resaltar los datos en negrita que ya tienes */
td strong, td b {
    color: #2c3e50;
    font-size: 1.05rem;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
    }
}
.cta{
margin-top:50px;
background:#c40000;
color:white;
padding:30px;
}

.cta form{
margin-top:20px;
display:grid;
gap:10px;
}

.cta input,
.cta textarea{
padding:10px;
border:none;
}

.cta button{
background:black;
color:white;
padding:12px;
border:none;
font-weight:bold;
}
/* ===== CTA ===== */
        .cta { background-origin: padding-box;
  background-position: 50% 50%;
  background-position-x: 50%;
  background-position-y: 50%;
  background-repeat: repeat;
  background-size: auto auto;
  background-image: url(../img/x.png);
  background-color: #f2f2f2; /* oscuro pero suave */ color: #ffffff; padding: 3rem 2rem; text-align: center; /* sombra suave y amplia para dar presencia */ box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15); }
  
		.cta h2 { font-size: 2rem; margin-bottom: 1rem; color: #a5000c; text-shadow: 0 2px 4px rgba(0,0,0,0.25); } 
		.cta p { font-size: 1.2rem; margin-bottom: 2rem; color: #000; } 
		.cta .btn-primary { background-color: #a5000c; color: #fff; padding: 0.9rem 1.8rem; font-size: 1rem; border-radius: 6px; text-decoration: none; transition: all 0.25s ease; box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4); } .cta .btn-primary:hover { background-color: #c0392b; box-shadow: 0 6px 14px rgba(231, 76, 60, 0.55); transform: translateY(-2px); }
/* Ajuste para móviles */
@media (max-width: 600px) {
  .card {
    max-width: 100%;       /* En móviles ocupan todo el ancho */
  }
}
/* Estilo para el contenedor de FAQs */
/* Contenedor principal de FAQs */
.faq-container {
    max-width: 900px;
    margin: 40px auto;
    font-family: sans-serif;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.faq-question {
    list-style: none;
    font-weight: bold;
    color: #a5000c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    color: #FF8C00;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

details[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 10px 0 20px 0;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 1025px) {
	h2.titulo-centrado {
    text-wrap: balance; /* Evita viudas y huérfanas en el título */
    max-width: 90%; /* Evita que toque los bordes en móviles muy pequeños */
    margin-left: auto;
    margin-right: auto;
}
	section{padding: 10px 10px;}
	.service-grid {
        grid-template-columns: 1fr; /* Una sola columna */
    }
	#noticiasrelacionadas section{padding:0px;}
	#ejemplosobras section.resumennoticias {
        padding: 0 !important;
    }
    #subservicio {
        width: 100%;     
        float: none;     
        margin-left: 0;  
    }

    #lateralnoticia {
        width: 90%;    
        float: none;     
        margin-right: 0; 
        margin-top: 20px;
    }
}
@media (max-width: 480px) {
	.hero-content{padding:50px;}
    .hero h1 {
        font-size: 28px !important; /* Reducimos para evitar que se corte o sea gigante */
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 16px; /* Ajustamos el texto descriptivo */
    }

    .hero-benefits li {
        font-size: 14px; /* Hacemos los checks más compactos */
        margin-bottom: 5px;
    }
}