/* Base */

html {
  font-size: clamp(12px, 1vw + 1px, 90px);
}

body {
    background:#bbb7b7;
    font-family: 'Open Sans', sans-serif;
    font-size:14px;
    font-weight:normal;
    color:#888888;
    margin:0;
    background: url(../img/pw_maze_black_2X.png) left top repeat;
    max-width: 2500px;margin-inline: auto;
}

/* Header */
.header {
    text-align: center;
    background: url(../img/transfinox/ini.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0;
}

/* Links / botones */
.link{
    padding:15px 35px;
    background:#7cc576;
    color:#fff !important;
    font-size:16px;
    font-weight:400;
    font-family: 'Montserrat', sans-serif;
    display:inline-block;
    border-radius:3px;
    text-transform:uppercase;
    line-height:25px;
    margin-bottom:20px;
    transition:all 0.3s ease-in-out;
}

.link:hover {
    text-decoration:none;
    color:#7cc576 !important;
    background:#fff;
}

.link:active, .link:focus {
    background: #7cc576;
    text-decoration:none;
    color:#fff !important;
}

hr{
  border-inline:0px;
  border-bottom:0px;
}

section{
    padding-top: 5em;
    padding-bottom: 10em;
}

article{
    margin-inline: 14vw;
    overflow: hidden;
}

.business-talking6{
    background: url(../img/transfinox/6.jpg) center no-repeat;
    width: 100%;
    background-attachment: fixed;
    background-size: 74% 100%;
    background-position-y: 96%;
    height: 500px;
    background-color: #000000;

}

.business-talking6 div {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.473);
    color: rgb(222, 252, 255);
    position: relative;
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
}

.business-talking6 button{

   background: linear-gradient(180deg, #39b54ad9 0%, #2e8f3a 100%);
    color: #e6d7d7 !important;
    font-size: 27px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 14px 30px;
    border-radius: 12px;
    border: 0;
    box-shadow: 0 10px 24px rgba(14, 50, 25, 0.22), inset 0 -2px 0 rgba(255, 255, 255, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms 
        ease, box-shadow 180ms 
        ease, opacity 120ms 
        ease;
        will-change: transform, box-shadow;
}
.business-talking6 button:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(14, 50, 25, 0.28);
    opacity: 0.98;
}
.business-talking6 button:active{
    transform: translateY(-1px) scale(0.995);
    box-shadow: 0 8px 18px rgba(14, 50, 25, 0.18);
}
.business-talking6 button:focus{
    outline: 3px solid rgba(124,197,118,0.20);
    outline-offset: 4px;
}
.business-talking6 button[disabled]{
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer{

    background:url(../img/pw_maze_black_2X.png) left top repeat;
    padding:35px 0 35px;
}

.footer a, .footer a:visited{
  color:#cccccc;
}

.copyright, .credits{
    color:#cccccc;
    font-size:14px;
    display:block;
    text-align:center;
}
.copyright a, .credits a{
    color:#7cc576;
    font-weight:600;
    text-decoration: none;
    transition:all 0.3s ease-in-out;
}
.copyright a:hover, .credits a:hover {
    color: #fff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d1d5db;
  margin-bottom: 10px;
}

.contact-item i {
  color: #7cc576;
  margin-top: 16px;
}


.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}



.separator { color: #cbd5e1; opacity: 0.5; }



.hero-bg-original {
    background: url(../img/transfinox/ini.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg-original::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-bg-original .container {
    position: relative;
    z-index: 2;
}

/* About Section with Fondo Background */
.section-bg-fondo {
    background: url(../img/fondo.jpg) center no-repeat;
    background-size: 100%;
    background-color: #f0f1f5;
    padding: 80px 0;
}

/* Services Section with Original Gray */
.gris_odd {
    background-color: rgb(253, 253, 253);
    padding: 80px 0;
}

/* Integration Section with Madera Background */
.section-bg-madera {
    background-image: url(../img/madera.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    position: relative;
}

.section-bg-madera::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.section-bg-madera .container {
    position: relative;
    z-index: 2;
}


/* Workshop Section with Original Reel Styles */
#reelTaller {
    background-color: #000000;
    padding: 40px 0;
}

/* White titles for dark backgrounds */

/* Navbar brand enhancement */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}


.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.85);
  color: #f1f1f1;
  font-size: 1rem;
  text-align: center;
  padding: 8px 12px;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.cookie-bar p {
  margin: 0 auto;
  max-width: 900px;
  line-height: 1.4;
}
/* Botón amarillo a la derecha, pequeño y accesible */
.cookie-accept {
  flex: 0 0 auto;
  background: #ffc107;
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform .12s ease, opacity .12s ease;
}

/* Efecto al pulsar */
.cookie-accept:active { transform: scale(.98); }

/* Hover / focus accesible */
.cookie-accept:hover,
.cookie-accept:focus {
  opacity: 0.95;
  outline: 3px solid rgba(255,193,7,0.18);
  outline-offset: 2px;
}

/* ScrollToFixed replacement */
.scroll-to-fixed-fixed {
  position: fixed !important;
  top: 0 !important;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  width: 100% !important;
  transition: all 0.3s ease;
}


/* ==== CLASES PERSONALIZADAS PARA LIMPIAR ESTILOS INLINE ==== */

/* Títulos y texto de secciones */




.partner-text-large {
  font-size: 4rem;
  font-weight: bold;
}

.partner-text-large-margin {
  font-size: 7rem;
  margin-top: 20px;
}

/* Layout y contenedores */
.text-center {
  text-align: center;
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.section-spacing {
  padding-top: 12px;
  padding-bottom: 0;
}

/* Imágenes */
.img-responsive-50 {
  width: 50%;
}

.img-responsive-30 {
  width: 30%;
}

.img-responsive-40 {
  width: 40%;
  background-color: white;
  padding: 10px;
}

/* Textos específicos */
.scada-text {
  font-size: 2rem;
}

.gallery-title {
  font-size: 6rem;
  color: #bab9b9;
}

.contact-title {
  font-size: 37px;
  line-height: 10mm;
  color: #FFF8F8;
}

.white-title {
  color: white;
}

.location-text {
  color: rgba(219, 255, 251, 0.79);
  font-size: 21px;
  line-height: 7mm;
}






/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/pw_maze_black_2X.png) left top repeat;
    opacity: 0.1;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #7cc576;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.footer-subtitle {
    color: #7cc576;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-links li {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-links a:hover {
    color: #7cc576;
}


.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#linkedin-icon {
    font-size: 6rem;
    color: gray;
}
