/*
Theme Name: EUROSN Child
Theme URI: https://eurosn.com
Description: Tema hijo para web servicios informáticos EUROSN
Author: EUROSN
Template: astra
Version: 1.0
*/

:root{
  --primary:#0B5ED7;
  --secondary:#0A2A66;
  --accent:#00C2FF;
}

.hero-title{
  font-size:48px;
  font-weight:700;
}

.cta-button{
  background:var(--primary);
  color:white;
  padding:14px 26px;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
}
/* ===== EUROSN Header ===== */
.eurosn-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* antes: .eurosn-container { ...display:flex... } */
.eurosn-header-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}


.eurosn-brand{
  text-decoration: none;
  color: inherit;
  display: grid;
  line-height: 1.1;
  gap: 2px;
  min-width: 180px;
}

.eurosn-logo{
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 20px;
}

.eurosn-tagline{
  font-size: 12px;
  opacity: .75;
}

.eurosn-nav{
  flex: 1;
}

.eurosn-menu{
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.eurosn-menu a{
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  opacity: .9;
}

.eurosn-menu a:hover{
  opacity: 1;
  text-decoration: underline;
}

.eurosn-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.eurosn-phone{
  text-decoration: none;
  font-weight: 700;
  opacity: .9;
}

.eurosn-cta{
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--primary, #0B5ED7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eurosn-cta:hover{
  filter: brightness(.95);
}

.eurosn-burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 5px;
}

.eurosn-burger span{
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  border-radius: 2px;
}

/* Mobile dropdown */
.eurosn-mobile{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 12px 18px 18px;
}

.eurosn-menu-mobile{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.eurosn-menu-mobile a{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  font-weight: 700;
}

.eurosn-mobile-cta{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.full{
  width: 100%;
  justify-content: center;
}

/* Responsive */
@media (max-width: 980px){
  .eurosn-nav{ display:none; }
  .eurosn-burger{ display:flex; }
  .eurosn-phone{ display:none; }
}
/* ===== EUROSN Footer ===== */
.eurosn-footer{
  background:#0A2A66;
  color:#fff;
  margin-top:60px;
}

.eurosn-footer a{ color:#fff; text-decoration:none; }
.eurosn-footer a:hover{ text-decoration:underline; }

.eurosn-footer-cta{
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 36px 0;
}

.eurosn-footer-cta__text h2{
  margin:0 0 6px 0;
  font-size: 24px;
  font-weight: 800;
}

.eurosn-footer-cta__text p{
  margin:0;
  opacity:.9;
  max-width: 720px;
}

.eurosn-footer-cta__actions{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-end;
}

.eurosn-cta--ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
}

.eurosn-footer-main{
  padding: 44px 0;
}

.eurosn-footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 26px;
}

.eurosn-footer-col h3{
  margin:0 0 12px 0;
  font-size: 16px;
  font-weight: 800;
}

.eurosn-footer-desc{
  margin: 14px 0 0 0;
  opacity:.9;
  line-height:1.55;
}

.eurosn-footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.eurosn-footer-contact{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
  opacity:.95;
}

.eurosn-footer-mini{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.eurosn-mini-btn{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
}

.eurosn-mini-btn:hover{ background: rgba(255,255,255,.14); }

.eurosn-footer-bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 0;
  background: rgba(0,0,0,.12);
}

.eurosn-footer-bottom__inner{
  display:flex;
  gap:14px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.eurosn-footer-legal{
  display:flex;
  gap:10px;
  align-items:center;
  opacity:.95;
}

.eurosn-footer-copy{
  opacity:.9;
}

/* Responsive */
@media (max-width: 980px){
  .eurosn-footer-grid{
    grid-template-columns: 1fr;
  }
  .eurosn-footer-cta__actions{
    justify-content:flex-start;
    flex-wrap:wrap;
    margin-top: 14px;
  }
}
/* ===== EUROSN Pages Base ===== */
.eurosn-page{ background:#fff; }
.eurosn-hero{
  padding: 70px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.eurosn-hero h1{ margin:0 0 10px 0; font-size: 38px; font-weight: 900; }
.eurosn-hero p{ margin: 0 0 14px 0; font-size: 18px; opacity:.9; max-width: 900px; }
.eurosn-hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 14px; }
.eurosn-note{ font-size: 14px; opacity:.85; margin-top: 10px; }

.eurosn-section{ padding: 54px 0; }
.eurosn-section--alt{ background: #f5f7fb; }

.eurosn-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.eurosn-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,.04);
}
.eurosn-card h2{ font-size: 18px; margin: 0 0 8px 0; }
.eurosn-card p{ margin:0 0 10px 0; opacity:.9; }
.eurosn-link{ font-weight: 800; }

.eurosn-card--highlight{
  border: 2px solid rgba(11,94,215,.20);
}

.eurosn-pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.eurosn-price{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.eurosn-price--best{
  border: 2px solid rgba(11,94,215,.28);
  transform: translateY(-2px);
}
.eurosn-price-num{ font-size: 24px; font-weight: 900; margin: 8px 0; }
.eurosn-price ul{ margin: 0; padding-left: 18px; display:grid; gap:8px; }

.eurosn-two-col{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 18px;
  align-items:start;
}
.eurosn-box{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,.04);
}

.eurosn-steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.eurosn-step{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 16px;
}
.eurosn-step h3{ margin:0 0 6px 0; font-size: 16px; font-weight: 900; }
.eurosn-step p{ margin:0; opacity:.9; }

.eurosn-faq details{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.eurosn-faq summary{ font-weight: 900; cursor: pointer; }

.eurosn-final-cta{
  text-align:center;
  padding: 26px 0 0;
}
.eurosn-final-cta h2{ margin:0 0 8px 0; font-size: 26px; font-weight: 900; }
.eurosn-final-cta p{ margin:0 0 14px 0; opacity:.9; }

@media (max-width: 980px){
  .eurosn-cards{ grid-template-columns: 1fr; }
  .eurosn-pricing{ grid-template-columns: 1fr; }
  .eurosn-two-col{ grid-template-columns: 1fr; }
  .eurosn-steps{ grid-template-columns: 1fr; }
  .eurosn-hero h1{ font-size: 30px; }
}

/* ===== CONTENEDOR GENERAL WEB ===== */
.eurosn-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== PÁGINAS LEGALES ===== */
.eurosn-page{
  background:#fff;
  min-height:60vh;
}

.eurosn-page h1{
  font-size:42px;
  margin-bottom:30px;
  font-weight:800;
}

.eurosn-page h2{
  font-size:24px;
  margin-top:35px;
  margin-bottom:10px;
  color:#0A2A66;
}

.eurosn-page p{
  font-size:18px;
  line-height:1.7;
  color:#333;
  margin-bottom:16px;
}

.eurosn-page ul{
  padding-left:20px;
  margin-bottom:20px;
}

.eurosn-page li{
  margin-bottom:8px;
  font-size:18px;
}

/* ancho cómodo tipo web profesional */
.eurosn-section{
  padding:60px 0;
}
/* Carrito header */
.eurosn-cart a{
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  background: #0B5ED7;
  color: #fff !important;
}

.eurosn-cart a:hover{
  background:#084298;
}
/* ===== Carrito header EUROSN ===== */
.eurosn-cart-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:800;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(11,94,215,.10);
  border: 1px solid rgba(11,94,215,.18);
  color:#0A2A66;
}

.eurosn-cart-link:hover{
  background: rgba(11,94,215,.14);
}

.eurosn-cart-count{
  display:inline-flex;
  min-width: 24px;
  height: 24px;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background:#0B5ED7;
  color:#fff;
  font-size:13px;
  font-weight:900;
  padding:0 7px;
}

@media (max-width: 980px){
  .eurosn-cart-text{ display:none; }
}

/* Cesta + Pagar ahora en header */
.eurosn-paynow{
  text-decoration:none;
  font-weight:900;
  padding:10px 12px;
  border-radius:12px;
  background:#0B5ED7;
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.eurosn-paynow:hover{ filter: brightness(.95); }

@media (max-width: 980px){
  .eurosn-cart-text{ display:none; }
  .eurosn-paynow{ padding:10px 10px; }
}
.eurosn-actions .eurosn-cart-link,
.eurosn-actions .eurosn-paynow{
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Si el header hace wrap, que cada “línea” quede alineada a la derecha */
.eurosn-header-container{
  justify-content: space-between;   /* marca separación */
  align-content: flex-end;
}

/* Fuerza que el bloque de acciones se vaya siempre a la derecha */
.eurosn-actions{
  margin-left: auto !important;     /* empuja acciones a la derecha */
  justify-content: flex-end !important;
}

/* Si por espacio el menú baja, que el menú ocupe el ancho y acciones queden derecha */
.eurosn-nav{
  flex: 1 1 auto;
}

/* Versión más discreta: oculta texto y deja iconos */
.eurosn-cart-text{ display:none; }
.eurosn-paynow{ padding:10px 10px; }

/* ===== Header acciones layout profesional ===== */

.eurosn-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Empujar carrito y pagar al extremo derecho */
.eurosn-cart-link{
  margin-left: auto;   /* ESTA es la clave */
}

/* Asegurar orden correcto */
.eurosn-phone{ order: 1; }
.eurosn-cta{ order: 2; }
.eurosn-cart-link{ order: 3; }
.eurosn-paynow{ order: 4; }
/* HERO con imagen de fondo + overlay (Home) */
body.home .eurosn-hero-bg{
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #0A2A66; /* fallback */
  background-image:
    linear-gradient(120deg, rgba(10,42,102,.92), rgba(11,94,215,.72)),
    url('/wp-content/uploads/2026/02/ChatGPT-Image-19-feb-2026-13_44_53.png'); /* <-- cambia esta ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Capa extra para “difuminar”/suavizar aún más la imagen sin tocar el archivo */
body.home .eurosn-hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(2px); /* si el navegador no soporta, no pasa nada */
  pointer-events: none;
}

/* Asegura que el texto quede por encima */
body.home .eurosn-hero-bg > *{
  position: relative;
  z-index: 1;
}

/* Ajustes de tipografía para que se lea bien */
body.home .eurosn-hero-bg .hero-title{
  color:#fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

body.home .eurosn-hero-bg p{
  color: rgba(255,255,255,.92);
  text-shadow: 0 6px 18px rgba(0,0,0,.28);
}
/* Botón WhatsApp Header */
.eurosn-whatsapp{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  background:#25D366;
  color:#fff !important;
  font-weight:800;
  text-decoration:none;
  transition:0.3s;
}

.eurosn-whatsapp:hover{
  background:#1ebe5b;
}
