header.masthead {
  /*text-align: center;*/
  /*background-image: url(/static/img/fluid.jpg);*/
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
  background-blend-mode: multiply;
  /* la cabecera común ya no va encima de la masthead (antes fixed-top): menos espacio arriba, como en TTS */
  padding-top: 56px;
  padding-bottom: 100px;
}

header.masthead .intro-text {
  text-align: center;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 19px;
  line-height: 22px;
  margin-bottom: 25px;
}

header.masthead .intro-text .intro-heading {
  font-size: 37px;
  margin-bottom: 5px;
  font-weight: 700 !important;
}

header.masthead .intro-text .intro-subheading{
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 1.5rem;
}
header.masthead .intro-text .video_button{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { ... }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  header.masthead{
    padding-top: 96px;
    padding-bottom: 150px;
  }

  header.masthead .intro-text {
    text-align: left;
    
  }
  header.masthead .intro-text .intro-heading {
    font-size: 2.75rem;
  }
  header.masthead .intro-text .intro-subheading{
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  header.masthead .intro-text .video_button{
    margin-top: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
  header.masthead .container{
    max-width: 1350px !important;
  }
}


.md-form input[type=date]:focus:not([readonly]), .md-form input[type=datetime-local]:focus:not([readonly]), .md-form input[type=email]:focus:not([readonly]), .md-form input[type=number]:focus:not([readonly]), .md-form input[type=password]:focus:not([readonly]), .md-form input[type=search-md]:focus:not([readonly]), .md-form input[type=search]:focus:not([readonly]), .md-form input[type=tel]:focus:not([readonly]), .md-form input[type=text]:focus:not([readonly]), .md-form input[type=time]:focus:not([readonly]), .md-form input[type=url]:focus:not([readonly]), .md-form textarea.md-textarea:focus:not([readonly]) {
    /*-webkit-box-shadow: 0 1px 0 0 var(--secondary-theme-color);
    box-shadow: 0 1px 0 0 var(--secondary-theme-color);
    border-bottom: 1px solid var(--secondary-theme-color);*/
}
.md-form input[type=date]:focus:not([readonly])+label, .md-form input[type=datetime-local]:focus:not([readonly])+label, .md-form input[type=email]:focus:not([readonly])+label, .md-form input[type=number]:focus:not([readonly])+label, .md-form input[type=password]:focus:not([readonly])+label, .md-form input[type=search-md]:focus:not([readonly])+label, .md-form input[type=search]:focus:not([readonly])+label, .md-form input[type=tel]:focus:not([readonly])+label, .md-form input[type=text]:focus:not([readonly])+label, .md-form input[type=time]:focus:not([readonly])+label, .md-form input[type=url]:focus:not([readonly])+label, .md-form textarea.md-textarea:focus:not([readonly])+label {
    color: #00ACA8 !important;
}
.md-form-elhuyar-light.md-form input[type=date]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=datetime-local]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=email]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=number]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=password]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=search-md]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=search]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=tel]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=text]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=time]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=url]:focus:not([readonly]), .md-form-elhuyar-light.md-form textarea.md-textarea:focus:not([readonly]) {
    /*-webkit-box-shadow: 0 1px 0 0 var(--main-theme-color);
    box-shadow: 0 1px 0 0 var(--main-theme-color);
    border-bottom: 1px solid var(--main-theme-color);*/
}
.md-form textarea~label.active{
	color: inherit !important;
}


/* width */
::-webkit-scrollbar {
  width: 7px !important;
}

/* Track */
::-webkit-scrollbar-track {
  /*background: var(--main-theme-color) !important; */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #00ACA9 !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover{
    background: #64C2C8 !important;
}


::selection
{
	background: #CAE7EA !important;
}
::-moz-selection
{
	background: #CAE7EA !important;
}

 
section p
{
	font-weight: 400 !important;
}


@media (min-width: 1200px)
{
}

#services .icon
{
	margin-top: -30px;
}

#showcase
{
}

.showcase .showcase-text
{
	padding: 4rem 2rem;
}

.showcase .showcase-img
{
	min-height: 30rem;
	background-size: cover;
}

@media (min-width: 768px)
{
	.showcase .showcase-text
	{
		padding: 5rem 7rem;
	}
}

.offer-detail
{
	position: relative;
}

.offer-detail i
{
	position: absolute;
	top: 4px;
	left: 0;
}

.offer-detail p
{
	margin-left: 30px;
}

.w-header
{
	width: 3.2rem;
}

#splitter
{
	background: url(/static/img/Aditu_main_background.jpg) rgba(0,0,0,0.2);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	background-size: cover;
	background-blend-mode: multiply;
}

.form-control
{
	color: white !important;
}

.link-title
{
	border-bottom: 2px solid #00ACA8;
	color: white;
}

.footer
{
	background-color: #4F483C;
}

html, body
{
	overflow-x: hidden;
	overflow-x: clip;   /* clip no rompe position: sticky (barra de secciones), hidden sí; como en TTS */
  background-color: white !important;
}


body {
  overflow-x: hidden;
  overflow-x: clip;
  font-family: 'Fira Sans', sans-serif;
}

p {
  line-height: 1.75;
}


.text-primary {
  color: #fed136 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Fira Sans', sans-serif;
}

.page-section {
  padding: 100px 0;
}
.page-section h2.section-heading {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 15px;
}
.page-section h3.section-subheading {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Fira Sans', sans-serif;
}

@media (min-width: 768px){
  .page-section h2.section-heading {
    font-size: 2.5rem;
  }
  .page-section h3.section-subheading {
    font-size: 1.3rem;
  }
}


@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}

::-moz-selection {
  background: #fed136;
  text-shadow: none;
}

::selection {
  background: #fed136;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  font-family: 'Fira Sans', sans-serif;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-primary {
  background-color: #fed136;
  border-color: #fed136;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover
{
  background-color: #fec810 !important;
  border-color: #fec810 !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover
{
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}


.service-heading {
  margin: 15px 0;
  text-transform: none;
}

#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover, #portfolio .portfolio-item .portfolio-link .portfolio-hover:focus
{
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Fira Sans', sans-serif;
}

#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.portfolio-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.portfolio-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: 'Fira Sans', sans-serif;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.portfolio-modal .close-modal:hover, .portfolio-modal .close-modal:focus
{
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}


.team-member {
  margin-bottom: 50px;
  text-align: center;
}

.team-member img {
  width: 225px;
  height: 225px;
  border: 7px solid rgba(0, 0, 0, 0.1);
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.team-member p {
  margin-top: 0;
}

.footer {
  padding: 25px 0;
  text-align: center;
}

.footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  font-family: 'Fira Sans', sans-serif;
}

.footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-family: 'Fira Sans', sans-serif;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: #fed136;
}


.tab-content
{
  border-left-color:rgb(222, 226, 230);
  border-left-style: solid;
  border-left-width: 1px;
  border-right-color:rgb(222, 226, 230);
  border-right-style: solid;
  border-right-width: 1px;
  border-bottom-color:rgb(222, 226, 230);
  border-bottom-style: solid;
  border-bottom-width: 1px;
}


#demos-tab-content
{
  padding-top: 20px;
  padding-bottom: 20px;
}

.carousel
{
	width: 100%;
}

.carousel-item video
{
  margin-left: 15%;
  margin-right: 15%;
  width: 70%;
}

.carousel .carousel-control-prev-icon
{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2300aca8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e") !important;
}

.carousel .carousel-control-next-icon
{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2300aca8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e") !important;
}

.carousel-indicators
{
	position: static !important;
	margin-bottom: 0px !important;
}

.carousel .carousel-indicators li
{
	width: 30px;
	height: auto;
	cursor: pointer;
	width: 100%;
  text-indent: 0;
  background-color: transparent;
  border-radius: initial;
  border-top-width: 3px !important;
  border-top-color: #00ACA8 !important;
  color: #00ACA8 !important;
  background-color: white !important;
}

.carousel-caption
{
    text-shadow: #000 2px 2px !important;
	bottom: 20% !important;
}

#try-title
{
  margin: 50px 0;
}

.pricing-card ul
{
  list-style-type: none;
  padding-left: 0;
}

.pricing-card ul li
{
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(238,238,238,0.298039);
}
/* Tarifak (portada): sin líneas entre características y más juntas, como en Elia y TTS */
#pricing .pricing-card ul li { margin-bottom: .45rem; border-bottom: 0; }

.price
{
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(238,238,238,0.298039);
  margin-bottom: 1rem;
}

#video_modal .modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

#video_modal .modal-body {
  position:relative;
  padding:0px;
}

#video_modal .close {
  position:absolute;
  right:-30px;
  top:0;
  z-index:999;
  font-size:2rem;
  font-weight: normal;
  color:#fff;
  opacity:1;
}


/*** MASTHEAD MACBOOK ***/
.macbook {
  /*padding: 4% 6%;*/
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.screen {
  background: #ebecee;
  border-radius: 3% 3% 0.5% 0.5% / 5%;
  margin: 0 auto;
  /* for aspect ratio */
  position: relative;
  width: 80%;
}

.screen:before {
  border: 2px solid #cacacc;
  border-radius: 3% 3% 0 0 / 5%;
  box-shadow: 0 0 0 1px rgb(165 166 169) inset, 0 0 1px 2px rgb(255 255 255 / 30%) inset;
  content: "";
  display: block;
  /* for aspect ratio ~67:100 */
  padding-top: 67%;
}

.screen:after {
  content: "";
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: 0.75%;
  left: 0.5%;
  padding-top: 1%;
  width: 99%;
}

.viewport {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  margin: 4.3% 3.2%;
  background: #333;
}

.viewport iframe{
  border: none !important;
}

.base {
  /* for aspect ratio */
  position: relative;
  width: 100%;
}

.base:before {
  content: "";
  display: block;
  /* for aspect ratio ~33:1000*/
  padding-top: 3.3%;
  /* stylin */
  background: linear-gradient(#eaeced, #edeef0 55%, #fff 55%, #8a8b8f 56%, #999ba0 61%, #4B4B4F 84%, #262627 89%, rgba(0, 0, 0, .01) 98%);
  border-radius: 0 0 10% 10%/ 0 0 50% 50%;
}

.base::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.8) 0.5%, rgba(0, 0, 0, 0.1) 3.3%, transparent 15%, rgba(255, 255, 255, 0.8) 50%, transparent 85%, rgba(0, 0, 0, 0.1) 96.7%, rgba(255, 255, 255, 0.8) 99.5%, rgba(0, 0, 0, 0.1) 100%);
  content: "";
  height: 53%;
  position: absolute;
  top: 0;
  width: 100%;
}

.notch {
  background: #ddd;
  border-radius: 0 0 7% 7% / 0 0 95% 95%;
  box-shadow: -5px -1px 3px rgba(0, 0, 0, 0.2) inset, 5px -1px 3px rgba(0, 0, 0, 0.2) inset;
  margin-left: auto;
  margin-right: auto;
  margin-top: -3.5%;
  z-index: 2;
  /* for aspect ratio */
  position: relative;
  width: 14%;
}

.notch:before {
  content: "";
  display: block;
  /* for aspect ratio ~1:10 */
  padding-top: 10%;
}

/* --- Contacto: degradado de marca (azul -> turquesa claro) con todo el texto en blanco -------------------------- */
#page_top .btn-elhuyar { background-color: #00ACA9 !important; color: #fff !important; }
#page_top .btn-elhuyar:hover, #page_top .btn-elhuyar:focus { background-color: #009996 !important; }
#page_top .bg-elhuyar { background-color: #00ACA9 !important; }
/* Contacto: formulario común a las cuatro portadas (elh_contact.css) */
/* Secciones de la portada sin la trama de puntos: está pensada para el fondo de toda la página (posición -52rem y
   80rem de tamaño) y en una sección corta ("Kalitatea…", banda turquesa "Zuzeneko itzulpena") quedaba cortada */
#page_top .page-section.bg-trama-elhuyar { background-image: none !important; }

/* --- Ikerketa eta garapena: Orairen blokea, Elian bezala --------------------------------------------------------
   Orairen koloreak (orai.eus: #0045e7 -> #4a26ed -> #b721ff) eta logoa SVGn, izkina biribileko bloke batean, atal
   zuri baten barruan (beste degradatu batekin itsatsita gera ez dadin). Gai ilunean, atzealdea --elh-surface (elh_theme.css). */
.lp-orai-wrap { padding: 4.5rem 0; background: var(--elh-surface, #fff); }
.lp-orai {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: center;
  padding: 3.5rem 3rem; border-radius: 16px; text-align: left; color: #fff;
  background: linear-gradient(90deg, #0045e7, #4a26ed 45%, #b721ff); box-shadow: 0 16px 40px rgba(74, 38, 237, .25);
}
.lp-orai__media { display: flex; justify-content: center; }
.lp-orai__logo { width: 100%; max-width: 300px; height: auto; }
.lp-orai__title { margin: 0 0 1.25rem; font-size: 2rem; font-weight: 700; line-height: 1.2; color: #fff !important; }
.lp-orai p { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .9) !important; }
.lp-orai p strong, .lp-orai p em, .lp-orai p a { color: #fff !important; }
.lp-orai p a, .lp-orai p a:hover { text-decoration: underline !important; text-underline-offset: 2px; }   /* web bakoitzaren a-ren estiloen gainetik: lau atarietan berdin */
.lp-orai__cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .7rem 1.4rem; border-radius: 4px;
  background: #fff; color: #0045e7 !important; font-weight: 600; text-decoration: none !important; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.lp-orai__cta:hover, .lp-orai__cta:focus { background: #eef2ff; }
@media (max-width: 991.98px) {
  .lp-orai-wrap { padding: 3rem 0; }
  .lp-orai { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 2rem 1.5rem; }
  .lp-orai__logo { max-width: 200px; }
  .lp-orai__title { font-size: 1.6rem; }
}

/* --- Secciones de la portada como en Elia (mt_app/static/elhuyar/css/landing_page.css, copia de TTS): herramientas,
   bandas alternas texto + visual, tarjetas, formatos y red de idiomas. Si cambian allí, cambiar aquí también. */
.lp-tools { background: #fff; padding: 4.5rem 0; }
.lp-tools .container { max-width: 1240px; padding-left: 16px; padding-right: 16px; }
.lp-tools .section-heading { margin-bottom: .75rem; }
.lp-tools__lead { color: #5f5e5a; max-width: 40rem; margin: 0 auto 2.5rem; }
.lp-tools__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.lp-tools__grid > .lp-tool { flex: 1 1 13rem; max-width: 18rem; height: auto; }
@media (max-width: 575.98px) { .lp-tools__grid > .lp-tool { flex-basis: 100%; max-width: none; } }
.lp-tool {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; height: 100%;
  background: #fff; border: 1px solid #dcdad5; border-radius: 8px; color: #1d1d1b !important; text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lp-tool:hover, .lp-tool:focus { border-color: #00ACA9; box-shadow: 0 6px 18px rgba(26,58,171,.10); transform: translateY(-2px); }
.lp-tool:focus-visible { outline: 3px solid #00ACA9; outline-offset: 2px; }
.lp-tool__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 10px; background: #e6f6f6; color: #00807e; font-size: 1.2rem;
}
.lp-tool__name { font-weight: 700; font-size: 1.15rem; color: #1A3AAB; }
.lp-tool__text { color: #5f5e5a; font-size: .95rem; line-height: 1.5; flex: 1; }
@media (prefers-reduced-motion: reduce) { .lp-tool { transition: none; } .lp-tool:hover { transform: none; } }

.lp-band { padding: 4.5rem 0; background: #fff; }
.lp-band--alt { background: #f4f6fb; }
.lp-band .container { padding-left: 16px; padding-right: 16px; }
.lp-band .section-heading { margin-bottom: 1.25rem; }
.lp-band p, .lp-checks { color: #4c4b47; font-size: 1.05rem; line-height: 1.6; }
.lp-band__eyebrow { margin: 0 0 .5rem; font-size: .8rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #00807e !important; }
.lp-band__cta { margin: .75rem 0 0 !important; text-transform: none; }
.lp-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 0; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; }
.lp-split--reverse .lp-split__text { order: 2; }
.lp-narrow { max-width: 46rem; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.lp-checks li { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .35rem; }
.lp-checks i { color: #00807e; font-size: .9em; }
.lp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.lp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-card { background: #fff; border: 1px solid #dfe3ee; border-radius: 8px; padding: 1.25rem; }
.lp-card i { color: #1A3AAB; font-size: 1.4rem; margin-bottom: .6rem; }
.lp-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; font-weight: 700; color: #1A3AAB; }
.lp-band .lp-card p { margin: 0; font-size: .95rem; line-height: 1.5; color: #5f5e5a; }

/* Idiomas: red de seis nodos en hexágono, todos unidos (cualquier idioma a cualquier otro), con el número de
   direcciones en el centro. Las posiciones de los nodos (--x/--y) coinciden con las líneas del SVG (viewBox 0-100). */
.lp-langnet { position: relative; width: 100%; max-width: 30rem; aspect-ratio: 1 / 1; margin: 0 auto; }
.lp-langnet::before {   /* halo suave de marca detrás de la red */
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,172,169,.16) 0%, rgba(26,58,171,.08) 45%, rgba(26,58,171,0) 70%);
}
.lp-langnet__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lp-langnet__mesh line { stroke: url(#lpLangGrad); stroke-width: .35; stroke-opacity: .45; stroke-linecap: round; }
.lp-langnet__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
  background: #fff; border: 2px solid #00ACA9; box-shadow: 0 10px 30px rgba(26,58,171,.15); color: #1A3AAB;
}
.lp-langnet__hub strong { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 700; }
.lp-langnet__hub span { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #00807e; }
.lp-langnet__nodes { list-style: none; margin: 0; padding: 0; }
.lp-langnet__nodes li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.lp-langnet__ball {
  display: inline-flex; align-items: center; justify-content: center; width: clamp(48px, 6vw, 64px); aspect-ratio: 1 / 1; border-radius: 50%;
  background: linear-gradient(135deg, #1A3AAB, #00ACA9); color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .05em;
  box-shadow: 0 0 0 6px rgba(0,172,169,.14), 0 8px 20px rgba(26,58,171,.25);
  transition: transform .2s, box-shadow .2s;
}
.lp-langnet__nodes li:hover .lp-langnet__ball { transform: scale(1.08); box-shadow: 0 0 0 9px rgba(0,172,169,.2), 0 10px 24px rgba(26,58,171,.3); }
.lp-langnet__name {
  padding: .1rem .55rem; border-radius: 999px; background: #fff; border: 1px solid #dfe3ee;
  font-size: .85rem; font-weight: 600; color: #1d1d1b; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .lp-langnet__ball { transition: none; } }

/* Documentos: formatos admitidos en casillas iguales (4 x 3), cada icono con el color de su tipo */
.lp-fmts { display: grid; grid-auto-rows: 1fr; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; list-style: none; margin: 0; padding: 0; }
.lp-fmts li {
  --c: #1A3AAB; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.1rem .5rem .9rem;
  background: #fff; border: 1px solid #dfe3ee; border-radius: 10px; text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lp-fmts li:hover { border-color: var(--c); box-shadow: 0 6px 18px rgba(26,58,171,.10); transform: translateY(-2px); }
.lp-fmt__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: .2rem; border-radius: 10px;
  background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); font-size: 1.3rem;
}
.lp-fmt__name { font-weight: 700; font-size: .92rem; color: #1d1d1b; line-height: 1.2; overflow-wrap: anywhere; }
.lp-fmt__ext { font-size: .78rem; color: #6b6a66; font-family: SFMono-Regular, Menlo, Consolas, monospace; }
.lp-fmts .lp-fmt--word { --c: #2b579a; } .lp-fmts .lp-fmt--excel { --c: #217346; } .lp-fmts .lp-fmt--ppt { --c: #c43e1c; } .lp-fmts .lp-fmt--pdf { --c: #c5221f; }
.lp-fmts .lp-fmt--lo { --c: #138a36; } .lp-fmts .lp-fmt--indd { --c: #c2185b; } .lp-fmts .lp-fmt--html { --c: #d9480f; } .lp-fmts .lp-fmt--xml { --c: #6f42c1; }
.lp-fmts .lp-fmt--tex { --c: #00807e; } .lp-fmts .lp-fmt--xliff { --c: #1A3AAB; } .lp-fmts .lp-fmt--more { --c: #00807e; border-style: dashed; } .lp-fmts .lp-fmt--srt { --c: #5f5e5a; }
@media (prefers-reduced-motion: reduce) { .lp-fmts li { transition: none; } .lp-fmts li:hover { transform: none; } }

/* "Zer eskaintzen dugu?" con las tres tarjetas de antes: sin enlace (sin efecto al pasar el ratón), tres por fila */
/* tres tarjetas que comparten filas (subgrid): icono, título y texto alineados aunque un título ocupe dos líneas */
.lp-tools__grid--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.25rem; max-width: 1108px; margin: 0 auto; }   /* el ancho de las bandas de abajo */
.lp-tools__grid--3 > .lp-tool {
  max-width: none; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .6rem; align-content: start;
  margin-bottom: 1.25rem; padding: 1.75rem 1.6rem;
}
.lp-tools__grid--3 > .lp-tool > .lp-tool__icon { justify-self: start; }
.lp-tools__grid--3 > .lp-tool > .lp-tool__name { align-self: end; margin: 0; font-size: 1.1rem; }   /* así "Konfidentzialtasuna eta segurtasuna" cabe en una línea */
@media (max-width: 767.98px) { .lp-tools__grid--3 { grid-template-columns: minmax(0, 1fr); } }
.lp-tool--static:hover, .lp-tool--static:focus { border-color: #dcdad5; box-shadow: none; transform: none; }
h3.lp-tool__name { margin: .25rem 0 0; line-height: 1.3; }
p.lp-tool__text { margin: 0; }

/* Tarjetas con enlace: .stretched-link dentro de su tarjeta; los demás enlaces de la tarjeta, clicables */
.lp-card { position: relative; }
.lp-card a:not(.stretched-link) { position: relative; z-index: 2; }


@media (max-width: 991.98px) {
  .lp-band, .lp-tools { padding: 3rem 0; }
  .lp-split { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .lp-split--reverse .lp-split__text { order: 0; }
}
@media (max-width: 575.98px) {
  .lp-cards, .lp-cards--2 { grid-template-columns: minmax(0, 1fr); }
  .lp-fmts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .lp-langnet__name { font-size: .78rem; }
}

/* Formatos de Aditu (11): última fila centrada en vez de un hueco a la derecha */
.lp-fmts--center { display: flex; flex-wrap: wrap; justify-content: center; }
.lp-fmts--center li { flex: 0 0 calc((100% - 3 * .85rem) / 4); }
@media (max-width: 575.98px) { .lp-fmts--center li { flex-basis: calc((100% - 2 * .6rem) / 3); } }
