/* Подключаем шрифт */
/*@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');*/

/* Подключаем локальный шрифт * /
@font-face {
    font-family: 'PT Sans Narrow';
    src: url('/fonts/PTSansNarrow-Regular.woff2') format('woff2'),
         url('/fonts/PTSansNarrow-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans Narrow';
    src: url('/fonts/PTSansNarrow-Bold.woff2') format('woff2'),
         url('/fonts/PTSansNarrow-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/ *
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-VariableFont_wght.woff2') format('woff2'),
         url('/fonts/Montserrat-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Italic-VariableFont_wght.woff2') format('woff2'),
         url('/fonts/Montserrat-Italic-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2'),
         url('/fonts/Roboto-VariableFont_wdth,wght.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Italic-VariableFont_wdth,wght.woff2') format('woff2'),
         url('/fonts/Roboto-Italic-VariableFont_wdth,wght.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'RobotoCondensed';
    src: url('/fonts/RobotoCondensed-VariableFont_wght.woff2') format('woff2'),
         url('/fonts/RobotoCondensed-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RobotoCondensed';
    src: url('/fonts/RobotoCondensed-Italic-VariableFont_wght.woff2') format('woff2'),
         url('/fonts/RobotoCondensed-Italic-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
* /
/ * Добавлен шрифт Inter * /
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2'),
         url('/fonts/Inter-VariableFont_opsz,wght.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Italic-VariableFont_opsz,wght.woff2') format('woff2'),
         url('/fonts/Inter-Italic-VariableFont_opsz,wght.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
*/


/* === Основные стили === */
body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333; /* темно-серый текст */
    margin: 0;
    padding: 0;
}

/* === Заголовки === */
h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0 0 10px;
}

h1 { font-size: 42px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 22.5px; font-weight: 600; }
h4 { font-size: 24px; font-weight: 600; }
h5 { font-size: 20px; font-weight: 500; }
h6 { font-size: 13.5px; font-weight: 500; }

/* === Текстовые элементы === */
p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 15px;
}

a {
    font-size: 16px;
    text-decoration: none;
    color: #0066cc; /* синий текст для ссылок */
    transition: color 0.3s ease-in-out;
	text-decoration: underline;
}

a:hover {
    color: #003366; /* темно-синий цвет для ссылок при наведении */
	text-decoration: none; /* Снять подчеркивание при наведении */
}

blockquote {
    font-size: 18px;
    font-style: italic;
    color: #555;
    border-left: 4px solid #007bff;
    padding-left: 10px;
    margin: 10px 0;
}

/* === Списки === */
ul, ol {
    font-size: 16px;
    line-height: 1.8;
    margin: 10px 0;
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 5px;
}

.uheader {
	text-decoration: underline;
	text-underline-offset: 14px; 
}

.unone { text-decoration: none; font-family: "Helvetica Narrow", "Arial Narrow", sans-serif; font-stretch: condensed;}
/* === Адаптивность для разных экранов === */

/* 1. 📱 Очень маленькие экраны (≤320px) */
@media (max-width: 320px) {
    h1, .lvh1 { font-size: 24px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 18px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 12px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 14px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 13px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 9px!important; line-height: 1.15!important;}

    p, .lvp, a, .lva, blockquote, ul, .lvul, ol, .lvul, li, .lvli { font-size: 11px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 6px!important; }
	.slider-button { font-size: 22px!important;}
	.btn-min { font-size: 13px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-320.webp') no-repeat center/cover;
		background-attachment: scroll; /* fixed; Не Фиксируем фон */
	}	
}

/* 2. 📱 Маленькие экраны (≤375px) */
@media (min-width: 321px) and (max-width: 375px) {
    h1, .lvh1 { font-size: 26px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 20px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 13.5px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 16px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 14px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 9.75px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli  { font-size: 13px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 7px!important; }
	.slider-button { font-size: 26px!important;}
	.btn-min { font-size: 15px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-375.webp') no-repeat center/cover;
		background-attachment: scroll; /* fixed; Не Фиксируем фон */
	}	
}

/* 3. 📱 Средние смартфоны (≤425px) */
@media (min-width: 376px) and (max-width: 425px) {
    h1, .lvh1 { font-size: 26px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 22px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 15px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 18px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 16px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 10.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 14px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 8px!important; }
	.slider-button { font-size: 28px!important;}
	.btn-min { font-size: 16px!important;}
		
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-425.webp') no-repeat center/cover;
		background-attachment: scroll; /* fixed; Не Фиксируем фон */
	}
}

/* 4. 📱 Обычные смартфоны (≤480px) */
@media (min-width: 426px) and (max-width: 480px) {
    h1, .lvh1 { font-size: 28px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 24px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 16.5px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 20px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 18px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 12px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 15px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 9px!important; }
	.slider-button { font-size: 30px!important;}
	.btn-min { font-size: 12px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-480.webp') no-repeat center/cover;
		background-attachment: scroll; /* fixed; Не Фиксируем фон */
	}
}

/* 5. 📱 Большие смартфоны и маленькие планшеты (≤600px) */
@media (min-width: 481px) and (max-width: 600px) {
    h1, .lvh1 { font-size: 30px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 26px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 18px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 22px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 20px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 13.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 16px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 10px!important; }
	.slider-button { font-size: 32px!important;}
	.btn-min { font-size: 13px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-600.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}

/* 6. 📟 Планшеты в портретной ориентации (≤768px) */
@media (min-width: 601px) and (max-width: 768px) {
    h1, .lvh1 { font-size: 32px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 28px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 19.5px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 24px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 22px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 15px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 16px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 11px!important; }
	.slider-button { font-size: 34px!important;}
	.btn-min { font-size: 14px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-768.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}

/* 7. 💻 Планшеты в ландшафтной ориентации, маленькие ноутбуки (≤1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    h1, .lvh1 { font-size: 36px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 30px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 19.5px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 24px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 20px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 13.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 15px!important; }
	.uheader { text-decoration: underline; text-underline-offset: 12px!important; }
	.slider-button { font-size: 36px!important;}
	.btn-min { font-size: 16px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-1024.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}

/* 8. 🖥 Ноутбуки, стандартные мониторы (≤1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    h1, .lvh1 { font-size: 42px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 36px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 22.5px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 24px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 20px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 13.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 16px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 13px!important; }
	.slider-button { font-size: 38px!important;}
	.btn-min { font-size: 18px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-1440.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}

/* 9. 🖥 Большие экраны (≤1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
    h1, .lvh1 { font-size: 48px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 42px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 27px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 30px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 26px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 16.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 18px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 14px!important; }
	.slider-button { font-size: 40px!important;}
	.btn-min { font-size: 20px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-1920.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}

/* 10. 🌐 Очень большие экраны (≤2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
    h1, .lvh1 { font-size: 56px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 50px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 33px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 38px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 32px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 16.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 20px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 15px!important; }
	.slider-button { font-size: 42px!important;}
	.btn-min { font-size: 22px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-2560.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}

/* 11. 📺 Телевизоры и 4K-экраны (≥2560px) */
@media (min-width: 2560px) {
    h1, .lvh1 { font-size: 64px!important; line-height: 1.15!important;}
    h2, .lvh2 { font-size: 58px!important; line-height: 1.15!important;}
    h3, .lvh3 { font-size: 37.5px!important; line-height: 1.15!important;}
    h4, .lvh4 { font-size: 44px!important; line-height: 1.15!important;}
    h5, .lvh5 { font-size: 38px!important; line-height: 1.15!important;}
    h6, .lvh6 { font-size: 16.5px!important; line-height: 1.15!important;}

    p, .lvp, a, .lvf, blockquote, ul, .lvul, ol, .lvol, li, .lvli { font-size: 22px!important; line-height: 1.15!important;}
	.uheader { text-decoration: underline; text-underline-offset: 16px!important; }
	.slider-button { font-size: 44px!important;}
	.btn-min { font-size: 24px!important;}
	
	#fabricacion-de-escaleras { 
		background: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)), url('images/hero-image-2560.webp') no-repeat center/cover;
		background-attachment: fixed; /* scroll; Фиксируем фон */
	}
}
/* === Стиль для мобильного меню === */
/* === Стили для шапки === */
.header {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
	border-bottom: 1px solid black; /* Чёрная линия в 1px */
	z-index: 1001;
}



/* Контейнер шапки и Основной  для центрирования контента */
.header .container-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;        
    max-width: 1200px;  
    margin: 0 auto;     
    box-sizing: border-box;
}


/* Контейнер шапки и Основной  для центрирования контента */
.footer .container-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* === Два контейнера (33% / 67%) === */
.container-2col {
    display: flex;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.container-2col .left {
	width: 40%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative; /* Чтобы обеспечить нужный контекст для абсолютного позиционирования изображения */
}


.container-2col .right {
    width: 60%;
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.container-2col .left img {
    width: 80%;      /* Заставляет изображение растянуться на всю ширину */
    height: 80%;     /* Приводит изображение к нужной высоте */
    object-fit: cover; /* Заполняет блок, сохраняя пропорции изображения */
    object-position: center; /* Центрирует изображение */
    /*margin: 5%; / * Добавляем отступ справа */
}


.container-2col .right ul {
    text-align: left;
	flex-direction: column;
    margin-left: 0;  /* Убираем отступ слева по умолчанию */
    padding-left: 5%; /* Добавляем отступ слева для списка */
	list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.container-2col .right ul li {
    margin-bottom: 10px;
	flex-direction: column;
    /*display: flex;	
    align-items: flex-start;*/
	text-align: left;
}
.container-2col .right ul li::before {
    /*content: "✅";*/
    color: green;
    margin-right: 10px;
}

/* === Три контейнера (33% / 34% / 33%) === */
.container-3col {
    display: flex;
    width: 90%;
    justify-content: space-between;
    align-items: stretch; /* Все колонки будут одинаковой высоты */
    margin: 0 auto;
}

.container-3col .left,
.container-3col .center,
.container-3col .right {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем контент */
    text-align: center;
    height: auto; /* Автоматическая высота */
	margin: 5px;
	background-color: #fff;
}



/* === Изображения === */
.container-3col img {
    width: 95%; /* Заполняет весь блок */
    height: auto; /* Автоматическая высота */
    object-fit: cover;
    object-position: center;
    margin: 5% auto 5% auto;
	border-radius: 5px;
	
}

/* === Контейнер внутри каждой колонки (контролируем отступы) === */
.container-3col .left div,
.container-3col .center div,
.container-3col .right div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Контент растягивается */
    width: 98%;
}

/* === Кнопка фиксируется внизу === */
.container-3col .btn {
    margin-top: auto;
	margin-bottom: 10px;
    display: inline-block; /* Исключаем растяжение */
    width: auto; /* Убираем растяжение по ширине */
    padding: 1% 5%; /* Нормальные отступы */
    text-align: center;
}

/* === Четыре контейнера (25% / 25% / 25% / 25%) === */
.container-4col {
    display: flex;
    width: 100%;
}

.container-4col .left {
    width: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.container-4col .center-left {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-4col .center-right {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-4col .right {
    width: 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* === Адаптивность для мобильных устройств === */
@media (max-width: 480px) {
    .container,
    .container-2col,
    .container-3col,
    .container-4col {
        align-items: center;
    }

    .container-2col .left,
    .container-2col .right,
    .container-3col .left,
    .container-3col .center,
    .container-3col .right,
    .container-4col .left,
    .container-4col .center-left,
    .container-4col .center-right,
    .container-4col .right {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }
}


/* Логотип */
.logo img {
    max-height: 50px; /* Ограничиваем высоту логотипа */
}

/* Меню-бургер */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    border: none;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
}

/* Навигация */
.navigation {
    font-family: 'PT Sans Narrow', serif;
	z-index: 1000;
}

.navigation ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation li {
    margin-left: 20px;
}

/* Телефон в меню */
.phone a {
    /*font-size: 14px;*/
    font-weight: bold;
	color: #af0d1a;
}

/* === Адаптивность для мобильных устройств === */
@media (max-width: 1024px) {
    header .container-menu {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 80px;
        left: -120%;
        width: 110vw;
        background-color: #fff;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        transition: left 0.3s ease;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .navigation ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .navigation li {
        margin: 10px 0;
    }

    .navigation.active {
        left: -20px;
    }
}

/* === СЕКЦИИ === */
.section {
    padding: 100px 0;
    text-align: center;
}
.valencia-color-yellow{color:#fcde02;}
.valencia-color-orange{color:#f77408;}
.valencia-color-red-orange{color:#ff4500;}
.valencia-color-red{color:#ed1c24;}
.valencia-color-blue{color:#0073bd;}
.valencia-color-green{color:#008f4c;}
.valencia-color-black{color:#000000;}
.valencia-color-white{color:#ffffff;}

.valencia-background-color-yellow{background-color:#fcde02;}
.valencia-background-color-orange{background-color:#f77408;}
.valencia-color-red-orange{background-color:#ff4500;}
.valencia-background-color-red{background-color:#ed1c24;}
.valencia-background-color-blue{background-color:#0073bd;}
.valencia-background-color-green{background-color:#008f4c;}
.valencia-background-color-black{background-color:#000000;}
.valencia-background-color-white{background-color:#ffffff;}



/* Разные фоны для секций * /
#fabricacion-de-escaleras { 
    background: url('images/hero-image.webp') no-repeat center/cover;
    background-attachment: fixed; / * Фиксируем фон * /
}
/ * Отключаем `background-attachment: fixed;` на мобильных, т.к. вызывает лаги * /
@media (max-width: 480px) {
    #fabricacion-de-escaleras {
        background-attachment: scroll;
    }
}
*/
#clientes-nos-eligen { background: #ffffff; }
#medicion-diseno { background: #fff9cc; }
#catalogo-interior { background: #ddf9ff; }
#catalogo-exteriores { background: #fff9cc; }
#instalacion-barandillas { background: #f4f6fb; }
#marco-escaleras  { background: #eef6ff; }
#nuestro-trabajo { background: #fff9cc; }
#canal-instagram { background:  #fff;}
#canal-de-youtube { background: #eef6ff; }
#catalogo-completo { background: #fff; }
#etapas-trabajo { background: #eef6ff; }
#colabore-con-nosotros { background: #fff; }
#alguna-pregunta { background: #eef6ff; }
#contactos { background: #fff; }




/* Стили кнопки */



/* Стили для попапа 3-х видео*/
#video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1010;
}

#video-popup .popup-content {
    position: relative;
    background-color: #333;
    padding: 10px;
    border-radius: 8px;
    max-width: 820px;
    width: 100%;
}

#video-popup iframe {
    width: 100%;
    height: 450px;
}

#video-popup .popup-close {
    position: absolute;
    top: -10px;
    right: 0px;
	background: none;
    border: none;
    font-size: 48px;
    color: #f00;
    cursor: pointer;
}

#scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1005;
}

#scroll-to-top.visible {
    visibility: visible;
    opacity: 1;
}

.progress-ring {
    position: absolute;
    transform: rotate(-90deg);
    z-index: 1;
}

.progress-ring__circle {
    fill: none;
    stroke: #000080;
    stroke-dasharray: 0 125.6; /* Устанавливается через JavaScript */
    stroke-linecap: round;
    transition: stroke-dasharray 0.2s ease-out;
}

.arrow {
    position: relative;
    font-size: 36px;
    z-index: 2;
    color: #000080;
}



/* Стили слайдера */
.slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
/* Возможность установки слайдера на всю ширину или в половину секции */
.slider-container.full-width {
  width: 100%;
}
.slider-container.half-left,
.slider-container.half-right {
  width: 50%;
}
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-item {
  flex: 0 0 auto;
  margin: 0 10px;
}
.slider-item img {
  width: 100%;
  height: auto; /* Высота 80% от высоты экрана */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.0);
  color: #ff6600;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}
.slider-button.prev {
  left: 10px;
}
.slider-button.next {
  right: 10px;
}
    
    /* Медиа-запросы. Ширина слайдов будет вычисляться динамически через JS,
       но сами брейкпоинты соответствуют вашим требованиям */
@media (max-width: 320px) {/* 1 изображение */}
@media (min-width: 321px) and (max-width: 375px) {/* 1 изображение */}
@media (min-width: 376px) and (max-width: 425px) {/* 1 изображение */}
@media (min-width: 426px) and (max-width: 480px) {/* 1 изображение */}
@media (min-width: 481px) and (max-width: 600px) {/* 1 изображение */}
@media (min-width: 601px) and (max-width: 768px) {/* 2 изображения */}
@media (min-width: 769px) and (max-width: 1024px) {/* 3 изображения */}
@media (min-width: 1025px) and (max-width: 1440px) {/* 4 изображения */}
@media (min-width: 1441px) and (max-width: 1920px) {/* 5 изображений */}
@media (min-width: 2560px) {/* 6 изображений */}

.tabs {
    max-width: 95%;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: space-around;
	/*align-items: center;*/
    margin-bottom: 20px;
	/*max-width: 960px;*/
	margin: 0 auto;
}

.tab-btn {
    padding: 10px 20px;
    /*font-size: 16px;*/
	width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
	color: #999;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    /* Активное состояние для первой кнопки */
.tab-btn.active[data-target="#tab-nosotros"] {
    background-color: #8ec78b; /* Зеленый цвет */
    color: green;
}

/* Активное состояние для второй кнопки */
.tab-btn.active[data-target="#tab-otros"] {
    background-color: #c78c8b; /* Красный цвет */
    color: red;
}

.tab-content {
    border: 1px solid #ccc;
    /*background-color: #ddffdd;*/
    padding: 20px;
	margin-top: -20px;
	align-items: center;
	/*max-width: 960px;*/
	margin: 0 auto;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
}

.tab-panel ul li {
    margin: 10px 0;
    font-size: 16px;
    color: #000000;
	text-align: left;
}

.tab-panel ul li::before {
    content: '✅ ';
    margin-right: 10px;
    color: green;
	
}

.tab-panel#tab-otros ul li::before {
    content: '';
    color: red;
}

.video-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.video-item {
    position: relative;
    /*width: 357px;*/
    cursor: pointer;
}

.video-item img {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.video-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.youtube-button {
    display: inline-block;
    padding: 12px 15px;
    background-color: #ff7700;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
	margin: 0 auto;
}

.youtube-button:hover {
    background-color: #e66a00;
}


.catalogo-completo {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 20px;
    background-color: #fff9cc; /* Светло-жёлтый фон */
}

.catalogo-container {
    display: flex;
    /*flex-wrap: wrap;*/
    max-width: 90%;
    justify-content: center;
    align-items: center;
    background-color: #ffffff; 
    border: 2px solid #999;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
	margin: 0 auto;
}

.catalogo-image {
    flex: 1 1 60%;
    min-width: 220px;
    display: flex;
    justify-content: right; /* Центровка по горизонтали */
    align-items: center; /* Центровка по вертикали */
}

.catalogo-image img {
    max-width: 100%; /* Учитываем размер родителя */
    height: auto;
    display: block;
	margin: 20px;
}
.catalogo-content {
    flex: 1 1 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalogo-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.catalogo-content h3 {
    font-size: 20px;
    color: #f60;
    margin-bottom: 15px;
}

.catalogo-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.catalogo-button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #f60;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.catalogo-button:hover {
    background-color: #e85500;
}

/* Секция Catálogo */

.catalogo-items {
    /*display: flex;*/
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
}

.catalogo-item {
    flex: 1 1 30%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 5px;
}

.catalogo-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease; /* Плавный переход */
}

.catalogo-item img:hover {
    transform: scale(1.1); /* Увеличение на 10% */
}
.catalogo-item h3 {
    /*font-size: 1.1rem;*/
    margin: 10px 0;
    color: #000000;
}

/* Адаптивность */
@media (max-width: 576px) {
    .catalogo-container {
        flex-direction: column;
    }

    .catalogo-image,
    .catalogo-content {
        flex: 1 1 100%;
    }


}

/* Стили кнопки */
.btn-min {
    font-family: "Helvetica Narrow", "Arial Narrow", sans-serif;
	font-stretch: condensed;
    /*font-size: 12px;*/
    text-decoration: none;
    background-color: #f77408;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
    border-radius: 5px;
    box-shadow: 3px 3px 8px 2px rgba(0, 0, 0, 0.5);
    padding: 2px 10px;
    margin-top: 0px; /*Отступ от изображения */
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-min:hover {
    background-color: #16c60c;
    color: #fff;
    border-width: 1px;
    border-color: #000;
}

.btn-min.lva {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #111827, #1f2933);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    min-width: 150px;
    justify-self: flex-start;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.btn-min.lva:hover {
    background:
        radial-gradient(circle at 20% 0, #1cc1b4),
        linear-gradient(135deg, #020617, #111827);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(3, 7, 18, 0.75);
    outline: none;
}

.btn-min.lva:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.phone-number {
    font-size: 1rem;
    color: #e64c00;
    font-weight: bold;
    text-decoration: none;
}

.phone-number.unone {
    color: #ff8000;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 10px 28px rgba(14, 247, 199, 0.35), 0 0 8px rgba(14, 247, 199, 0.55);
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.phone-number.unone:hover,
.phone-number.unone:focus {
    color: #8c4804;
    text-shadow: 0 12px 32px rgba(166, 255, 242, 0.5), 0 0 10px rgba(166, 255, 242, 0.75);
}

.trabajo-steps {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.trabajo-step {
    display: flex;
    align-items: center;
    width: 40%; /* Два блока на одной строке */
    min-width: 200px;
    background-color: #fff;
    padding: 15px;
    gap: 15px;
}

.trabajo-step-icon {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.trabajo-step-icon img {
    width: 90px;
    height: 90px;
    margin-top: 5px;
}

.trabajo-step-content {
    text-align: left;
    flex: 1;
}

.trabajo-step-content p {
    margin: 0;
    padding-left: 10px;
    font-size: 1rem;
}

.trabajo-phone {
    display: block;
    color: #0024b5;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 5px;
}

.trabajo-phone:hover {
    text-decoration: underline;
}

/* Адаптивность: отобразить по одному блоку на строку для экранов меньше 576px */
@media (max-width: 600px) {
    .trabajo-step {
    display: flex;
    align-items: center;
    width: 80%; /* Два блока на одной строке */
    min-width: 200px;
    background-color: #fff;
    padding: 10px;
    gap: 10px;
    }
}

.content-wrapper-2, .content-wrapper-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.slider-container-2, .slider-container-3 {
    flex: 1;
    max-width: 100%;
    position: relative;

}


.info-container-2, .info-container-3 {
    flex: 1;
    max-width: 400px;
}

.info-list-2, .info-list-3 {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
}

.info-list-2 li {
    margin-bottom: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}
.info-list-3 li {
    margin-bottom: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.slider-container-2, .slider-container-3 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.slider-2, .slider-3 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-2 img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
}
.slider-3 img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;

}

.slider-button-2, .slider-button-3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: #ff6600;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.slider-button-2.prev-2, .slider-button-3.prev-3 {
    left: 10px;
}

.slider-button-2.next-2, .slider-button-3.next-3 {
    right: 10px;
}


@media (max-width: 768px) {
    .content-wrapper-2, .content-wrapper-3 {
        flex-direction: column;
    }

    .slider-container-2, .info-container-2, .slider-container-3, .info-container-3 {
        max-width: 100%;
    }

    .slider-2, .slider-3 {
        width: 100%;
        height: auto;
    }
}


#google_translate_element {
    display: inline-block;
    margin-top: 10px;
}

.goog-te-gadget{margin-top:2px!important;}p.hello{font-size:12px;color:#666;}div.skiptranslate.goog-te-gadget{display:inline!important;}#google_language_translator{clear:both;}#flags{width:165px;}#flags a{display:inline-block;margin-right:2px;}#google_language_translator a{display:none!important;}div.skiptranslate.goog-te-gadget{display:inline!important;}.goog-te-gadget{color:transparent!important;}.goog-te-gadget{font-size:0px!important;}.goog-branding{display:none;}.goog-tooltip{display: none!important;}.goog-tooltip:hover{display: none!important;}.goog-text-highlight{background-color:transparent!important;border:none!important;box-shadow:none!important;}#google_language_translator{display:none;}#google_language_translator select.goog-te-combo{color:#32373c;}div.skiptranslate{display:none!important;}body{top:0px!important;}#goog-gt-{display:none!important;}font font{background-color:transparent!important;box-shadow:none!important;position:initial!important;}#glt-translate-trigger{left:20px;right:auto;}#glt-translate-trigger > span{color:#ffffff;}#glt-translate-trigger{background:#f89406;}/* === Refined minimalist overrides === */
body {
    font-size: 16px;
    line-height: 1.75;
    color: #1f2933;
    background-color: #f5f7fa;
}

p {
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 18px;
}

.site-header {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.site-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header .brand img {
    height: 52px;
    width: auto;
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    padding: 0 10px;
    transition: border-color .2s ease, background-color .2s ease;
    z-index: 1300;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #1f2933;
    border-radius: 999px;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 4px;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 22px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    position: relative;
    font-size: clamp(0.56rem, 0.7vw, 0.6rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1f2933;
    text-decoration: none;
    transition: color .2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #111827;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity .2s ease, transform .2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-link:focus-visible {
    outline: 2px solid rgba(17, 24, 39, 0.35);
    outline-offset: 3px;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.38rem 0.76rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.nav-phone:hover,
.nav-phone:focus {
    background-color: #0ef7c7;
    color: #042023;
    transform: translateY(-1px);
    box-shadow: 0 12px 18px rgba(15, 23, 42, 0.18);
}

.nav-phone:focus-visible {
    outline: 2px solid rgba(17, 24, 39, 0.35);
    outline-offset: 4px;
}

.hero-heading {
    max-width: 52rem;
    margin-bottom: 1.2rem;
}

.hero-subheading {
    max-width: 48rem;
    margin-bottom: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.5rem 0 2rem;
}

.hero-points,
.hero-note {
    max-width: 42rem;
    margin-bottom: 1.25rem;
}

#fabricacion-de-escaleras {
    padding-top: clamp(2.5rem, 6vh, 4rem);
}

#fabricacion-de-escaleras .container {
    background: #ffffff;
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.hero-heading h1 {
    color: #0f172a;
}

.hero-subheading h2 {
    color: #1f2933;
    font-weight: 500;
}

.hero-points p,
.hero-note p {
    color: #3f4c5c;
}

.hero-points p i,
.hero-note p i {
    color: #00fdf4;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #111827, #1f2933);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    background:
        radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.12), transparent 55%),
        linear-gradient(135deg, #020617, #111827); 
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(3, 7, 18, 0.75);
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.container-3col .btn {
    margin-top: auto;
    margin-bottom: 12px;
    width: 100%;
}

.hero-subheading h2,
.hero-points p,
.hero-note p {
    line-height: 1.65;
}

#fabricacion-de-escaleras .container p {
    font-size: 1rem;
}

.calculator-dialog {
    background: linear-gradient(180deg, #fdfefe 0%, #f5f7fa 100%);
    max-width: 1080px;
    width: min(96vw, 1080px);
    max-height: 90vh;
    border-radius: 28px;
    padding: clamp(1.75rem, 3vw, 2.6rem);
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    transform: translateY(24px) scale(0.98);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
}

.calculator-modal.open .calculator-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.calculator-dialog:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.35);
    outline-offset: 4px;
}

.calculator-body {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 32px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 8px;
}

.calculator-summary {
    position: sticky;
    top: 0;
    align-self: start;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.calculator-summary h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0f172a;
}

.calculator-total {
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0;
    color: #0f172a;
}

.calculator-selected {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-entry {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
    font: inherit;
    color: inherit;
    text-align: left;
}

.summary-entry:hover,
.summary-entry:focus-visible {
    border-color: #0f766e;
    background: #ecfdf5;
    outline: none;
    transform: translateY(-1px);
}

.summary-entry:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.summary-entry:disabled:hover,
.summary-entry:disabled:focus-visible {
    border-color: #e2e8f0;
    background: #f8fafc;
    transform: none;
}

.summary-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475467;
}

.summary-value {
    font-weight: 600;
    color: #0f172a;
}

.calculator-note {
    font-size: 0.85rem;
    color: #475467;
    margin: 0;
}

.calculator-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 48px;
}

.calculator-header-text h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: #0f172a;
}

.calculator-header-text p {
    margin: 0;
    color: #475467;
}

.calculator-header-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: flex-start;
}

.calculator-meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.calculator-total-chip {
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(15, 118, 110, 0.2);
    white-space: nowrap;
    transition: box-shadow .25s ease;
}

.calculator-total-chip.is-updating,
.calculator-total.is-updating {
    animation: calculatorPulse .45s ease;
}

@keyframes calculatorPulse {
    0% {
        opacity: 0.6;
        transform: translateY(4px);
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
    }
}

.calculator-close {
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 5;
}

.calculator-close:hover,
.calculator-close:focus-visible {
    background: rgba(15, 118, 110, 0.95);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
    transform: scale(1.05);
}

.calculator-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.calculator-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0f172a, #0f766e);
    border-radius: inherit;
    transition: width .3s ease;
}

.calculator-progress-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475467;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

.calculator-stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.stepper-item {
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
    font: inherit;
    color: inherit;
}

.stepper-item:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.stepper-item.is-active {
    border-color: #0f766e;
    background: #ecfdf5;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.stepper-item.is-complete .stepper-count {
    background: #0f766e;
}

.stepper-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stepper-text strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
}

.stepper-text small {
    font-size: 0.75rem;
    color: #475467;
}

.calculator-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.calculator-control {
    flex: 1 1 160px;
    border-radius: 999px;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.calculator-control:focus-visible {
    outline: 2px solid rgba(15, 118, 110, 0.35);
    outline-offset: 2px;
}

.calculator-back {
    border: 1px solid #cbd5f5;
    background: transparent;
    color: #0f172a;
}

.calculator-back:hover:not([disabled]) {
    background: #e2e8f0;
}

.calculator-next {
    background: #0f172a;
    color: #ffffff;
}

.calculator-next:hover:not([disabled]) {
    background: #1f2937;
}

.calculator-submit {
    background: #0f766e;
    color: #ffffff;
}

.calculator-submit:hover:not([disabled]) {
    background: #0d5f5a;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 76px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
        z-index: 1200;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        width: 100%;
    }

    .nav-list li,
    .nav-list a,
    .nav-phone {
        width: 100%;
    }

    .nav-phone {
        justify-content: center;
    }

    .calculator-dialog {
        padding: 22px;
        max-height: 92vh;
    }

    .calculator-body {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .calculator-summary {
        position: relative;
        order: -1;
    }

    .calculator-header {
        padding-right: 0;
    }

    .calculator-stepper {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .stepper-item {
        min-width: 220px;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions > * {
        flex: 1 1 100%;
        max-width: 100% !important;
        min-width: 0;
        margin: 0;
    }

    .hero-actions .btn {
        display: flex;            
        justify-content: center;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .container-3col .btn {
        width: 100%;
    }

    .calculator-dialog {
        padding: 20px 18px;
    }

}

@media (max-width: 540px) {
    .calculator-dialog {
        border-radius: 0;
        max-height: 100vh;
    }

    .calculator-summary {
        padding: 18px;
    }

    .calculator-total-chip {
        font-size: 0.9rem;
    }

    .calculator-close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .stepper-item {
        min-width: 180px;
    }
}
/* === Modern refresh overrides === */
:root {
    --brand-dark: #0f172a;
    --brand-mid: #1f2933;
    --brand-accent: #1cc1b4;
    --neutral-50: #f5f7fa;
    --neutral-100: #eef2f7;
    --card-bg: #ffffff;
    --card-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

body {
    background-color: #f5f7fa;
    color: #1f2933;
}

.section {
    padding: clamp(3rem, 5vw, 5rem) 1.5rem;
    background-color: #f5f7fa;
}

.section:nth-of-type(even) {
    background-color: #eef2f7;
}

.section > .container {
    max-width: 1120px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #0f172a;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
}

#fabricacion-de-escaleras {
    background: transparent;
}

#fabricacion-de-escaleras .container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.hero-heading,
.hero-subheading,
.hero-points,
.hero-note {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    justify-content: center;
}

.hero-points p,
.hero-note p {
    color: #3f4c5c;
}

.hero-points p i,
.hero-note p i {
    color: #00fdf4;
}

#clientes-nos-eligen .tabs {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    padding: 2rem;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: none;
    margin-bottom: 1.5rem;
}

.tab-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #f1f5f9;
    border: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #0f172a;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.tab-btn.active {
    color: #fff;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
}

.tab-btn.active[aria-controls="tab-nosotros"],
.tab-btn.active[data-target="#tab-nosotros"] {
    background: #22af92;
}

.tab-btn.active[aria-controls="tab-otros"],
.tab-btn.active[data-target="#tab-otros"] {
    background: #ad1919;
}

.tab-content {
    border: none;
    padding: 0;
    background: transparent;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.tab-panel ul li::before {
    content: none !important;
}

.tab-panel ul li {
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #f7fafc);
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #1f2733;
}

.tab-panel#tab-otros ul li {
    background: linear-gradient(135deg, #fff, #fef2f2);
    border-color: #fee2e2;
}

.tab-panel p {
    margin-top: 1.5rem;
    font-weight: 600;
    color: #0f172a;
}

.container-3col .left,
.container-3col .center,
.container-3col .right {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    padding-bottom: 1.5rem;
}

.container-3col img {
    border-radius: 24px;
}

.container-3col .btn {
    width: auto;
    padding: 0.65rem 1.4rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .container-3col .btn {
        width: 100%;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #111827, #1f2933);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
    background: linear-gradient(135deg, #18b4a7, #19e9d1);
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(20, 184, 166, 0.35);
    outline: none;
}

.hero-actions .btn {
    min-width: 220px;
}

.tab-panel .btn {
    margin-top: 1rem;
}

/* Links */
a {
    color: #0f172a;
    text-decoration: underline;
    text-decoration-color: rgba(15, 23, 42, 0.4);
    transition: color .2s ease, text-decoration-color .2s ease;
}

a:hover,
a:focus-visible {
    color: #0f766e;
    text-decoration-color: #0f766e;
}

.calculator-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .35s ease;
    backdrop-filter: blur(4px);
}

.calculator-modal.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

#clientes-nos-eligen h2,
#clientes-nos-eligen h3 {
    color: #0f172a !important;
    text-shadow: none !important;
    letter-spacing: 0.03em;
}

span[style*="color: green"],
span[style*="color:#00ff66"],
span[style*="#00ff66"],
span[style*="color:#33ffff"],
span[style*="#33ffff"] {
    color: #0f766e !important;
}

span[style*="color: red"],
span[style*="#ff0000"],
span[style*="#ff5050"] {
    color: #b91c1c !important;
}

/* === Sticky header & hero background === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1600;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

#fabricacion-de-escaleras {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.35)), url('images/hero-image-1920.webp') no-repeat center/cover;
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
}

#fabricacion-de-escaleras::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 9, 9, 0.25), rgba(9, 9, 9, 0.08));
    z-index: 0;
}

#fabricacion-de-escaleras .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    #fabricacion-de-escaleras {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.5)), url('images/hero-image-768.webp') no-repeat center/cover;
    }
}

/* === Section layout refresh === */
#medicion-diseno,
#catalogo-exteriores,
#nuestro-trabajo {
    background: transparent;
}

#medicion-diseno .container,
#catalogo-exteriores .container,
#nuestro-trabajo .container {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* === Tabs === */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel ul {
    margin: 0;
}

.tab-panel ul li {
    margin: 0;
}

/* === Card buttons === */
.container-3col .btn {
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .container-3col .btn {
        width: 100%;
    }
}

/* === Modal wizard === */
.calculator-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calculator-step {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.calculator-step.is-active {
    display: flex;
}

.calculator-options {
    display: grid;
    gap: 12px;
}

.calculator-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px 18px;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

.calculator-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.calculator-option.is-active {
    border-color: #0f766e;
    background: #ecfdf5;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.calculator-option .option-title {
    font-weight: 600;
    color: #0f172a;
}

.calculator-option .option-caption {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
}

.calculator-option .option-description {
    font-size: 0.9rem;
    color: #475467;
}

.calculator-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
}

.calculator-range input[type="range"] {
    accent-color: #0f766e;
}

.calculator-range .range-indicator {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #475467;
}

.calculator-range .range-hint {
    font-size: 0.78rem;
    color: #94a3b8;
}

.calculator-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calculator-result {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 0.95rem;
    color: #0f172a;
    min-height: 0;
}

.calculator-result strong {
    color: #0f766e;
}

.calculator-footnote {
    font-size: 0.85rem;
    color: #475467;
    margin: 0;
}

@media (max-width: 768px) {
    .tab-buttons {
        grid-template-columns: 1fr;
    }

    .calculator-dialog {
        width: 100%;
        padding: 20px 18px;
    }
}

/* === Minimalist refresh === */
.section {
    scroll-margin-top: 110px;
}

.section-alt {
    background: #f9fafb;
}

.section-neutral {
    background: #edf2f7;
}

#clientes-nos-eligen {
    padding: clamp(2.25rem, 4vw, 3.25rem) 1.25rem;
}

#clientes-nos-eligen .section-header {
    margin-bottom: 1.25rem;
}

.section-neutral .tabs {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: clamp(1rem, 2.5vw, 1.35rem);
}

.section-neutral .tab-panel .tab-list {
    gap: 8px;
}

.section-neutral .tab-panel .tab-list li {
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
}

#clientes-nos-eligen .tab-panel#tab-nosotros .tab-item-index {
    display: none;
}

#clientes-nos-eligen .tab-panel#tab-nosotros .tab-list li {
    gap: 0;
    padding-left: 16px;
}

.section-header {
    margin: 0 auto 2rem;
    max-width: 880px;
}

.section-header--narrow {
    max-width: 640px;
}

.section-header--center {
    text-align: center;
}

.section-title {
    margin: 0 0 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0f172a;
}

.section-subtitle {
    margin: 0.35rem 0;
    color: #4b5563;
    line-height: 1.65;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

#medicion-diseno .section-header .section-subtitle.lvh6,
#catalogo-interior .section-header .section-subtitle.lvh6,
#catalogo-exteriores .section-header .section-subtitle.lvh6 {
    font-size: clamp(0.9rem, 0.7vw + 0.633rem, 1.6rem) !important;
}

#catalogo-exteriores .catalog-grid {
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    row-gap: clamp(3rem, 6vw, 4.5rem);
}

#catalogo-exteriores .catalog-card {
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

#catalogo-exteriores .catalog-card .card-title {
    font-size: clamp(1.15rem, 0.7vw + 0.9rem, 1.6rem);
    line-height: 1.4;
}

#catalogo-exteriores .catalog-card .card-title span {
    font-size: 1em;
}

#catalogo-exteriores .catalog-card .card-title small {
    margin-top: 0.65rem;
    font-size: clamp(0.92rem, 0.5vw + 0.55rem, 1.1rem);
}

#catalogo-exteriores .catalog-card .btn {
    margin-top: auto;
    align-self: center;
    width: min(200px, 100%);
    margin-left: auto;
    margin-right: auto;
}

#catalogo-exteriores .section-footer {
    margin-top: clamp(3.5rem, 7vw, 5rem);
    font-size: clamp(1.5rem, 1.6vw + 1rem, 2.5rem);
    line-height: 1.5;
}

#catalogo-exteriores .section-footer .section-subtitle.lvh6 {
    font-size: clamp(1.2rem, 0.89vw + 0.72rem, 1.6rem) !important;
}

#catalogo-interior .interior-footer .section-subtitle.lvh6 {
    font-size: clamp(0.75rem, 0.55vw + 0.475rem, 1.2rem) !important;
}

#instalacion-barandillas .barandillas-shell {
    background: #ffffff;
    border-radius: 32px;
    padding: clamp(1rem, 5vw, 4rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
}

#instalacion-barandillas .barandillas-kicker {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0f766e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#instalacion-barandillas .barandillas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

#instalacion-barandillas .barandillas-info {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 23, 42, 0.08));
    border-radius: 28px;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

#instalacion-barandillas .barandillas-label {
    margin: 0 0 1rem;
    text-align: left;
}

#instalacion-barandillas .barandillas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

#instalacion-barandillas .barandillas-list li {
    font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.1rem);
    line-height: 1.6;
    padding: 0.9rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

#instalacion-barandillas .barandillas-list li span {
    display: block;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

#instalacion-barandillas .barandillas-media {
    display: flex;
    flex-direction: column;
    gap: clamp(0.9rem, 2.5vw, 1.6rem);
    align-self: stretch;
    height: 100%;
}

#instalacion-barandillas .barandillas-gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    height: 100%;
}

#instalacion-barandillas .barandillas-gallery img {
    flex: 1 1 0;
    width: 100%;
    min-height: 150px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

#instalacion-barandillas .barandillas-media .slider-container-3 {
    display: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
}

#instalacion-barandillas .barandillas-media .slider-3 {
    display: flex;
    width: 100%;
    gap: 0;
}

#instalacion-barandillas .barandillas-media .slider-3 img {
    width: 100%;
    display: block;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

#instalacion-barandillas .slider-button-3 {
    display: none;
}

#instalacion-barandillas .barandillas-cta {
    text-align: center;
    margin-top: clamp(1.75rem, 4vw, 3rem);
}

#instalacion-barandillas .barandillas-cta p {
    margin: 0 0 1rem;
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.3rem);
    color: #374151;
}

@media (max-width: 992px) {
    #instalacion-barandillas .barandillas-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #marco-escaleras .marco-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    #instalacion-barandillas .barandillas-media {
        order: 1;
        gap: clamp(1rem, 4vw, 1.8rem);
    }

    #instalacion-barandillas .barandillas-gallery {
        display: none;
    }

    #instalacion-barandillas .barandillas-media .slider-container-3 {
        display: block;
        padding: 0.35rem;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(20, 184, 166, 0.15));
        border-radius: 30px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 25px 60px rgba(15, 23, 42, 0.15);
    }

    #instalacion-barandillas .barandillas-media .slider-3 {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, calc(52% - 0.4rem));
        gap: clamp(0.4rem, 2vw, 0.75rem);
        transition: transform 0.45s ease;
    }

    #instalacion-barandillas .barandillas-media .slider-3 img {
        width: 100%;
        height: auto;
        max-height: clamp(150px, 52vw, 240px);
        aspect-ratio: 4 / 3;
        object-fit: contain;
        border-radius: 24px;
    }

    #instalacion-barandillas .slider-button-3 {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.9);
        color: #fff;
        border: none;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    #instalacion-barandillas .slider-button-3::before {
        content: '';
        border: 6px solid transparent;
        border-left-color: #fff;
        display: inline-block;
        transform: translateX(2px);
    }

    #instalacion-barandillas .slider-button-3.prev-3::before {
        border-left-color: transparent;
        border-right-color: #fff;
        transform: translateX(-2px);
    }

    #instalacion-barandillas .slider-button-3.prev-3 {
        left: 12px;
    }

    #instalacion-barandillas .slider-button-3.next-3 {
        right: 12px;
    }
}

@media (max-width: 560px) {
    #instalacion-barandillas .barandillas-media .slider-3 img {
        max-height: clamp(200px, 80vw, 280px);
        border-radius: 20px;
    }

    #instalacion-barandillas .slider-button-3 {
        width: 34px;
        height: 34px;
    }

    #instalacion-barandillas .slider-button-3::before {
        border-width: 5px;
    }
}

#marco-escaleras .marco-shell {
    background: #ffffff;
    border-radius: 32px;
    padding: clamp(2.25rem, 5vw, 4rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
}

#marco-escaleras .marco-kicker {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0f766e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#marco-escaleras .marco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

#marco-escaleras .marco-media {
    display: flex;
    flex-direction: column;
    gap: clamp(0.9rem, 2.5vw, 1.6rem);
    align-self: stretch;
    height: 100%;
}

#marco-escaleras .marco-gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    height: 100%;
}

#marco-escaleras .marco-gallery img {
    flex: 1 1 0;
    width: 100%;
    min-height: 150px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

#marco-escaleras .marco-media .slider-container-2 {
    display: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
}

#marco-escaleras .marco-media .slider-2 {
    display: flex;
    width: 100%;
    gap: 0;
}

#marco-escaleras .marco-media .slider-2 img {
    width: 100%;
    display: block;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

#marco-escaleras .slider-button-2 {
    display: none;
}

#marco-escaleras .marco-info {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(15, 118, 110, 0.08));
    border-radius: 28px;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


#marco-escaleras .marco-label {
    margin: 0;
    text-align: left;
}

#marco-escaleras .marco-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

#marco-escaleras .marco-list li {
    font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.1rem);
    line-height: 1.6;
    padding: 0.9rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

#marco-escaleras .marco-list li span {
    display: block;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

#marco-escaleras .marco-cta {
    text-align: center;
    background: #fff;
    border-radius: 22px;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

#marco-escaleras .marco-cta p {
    margin: 0 0 0.6rem;
    color: #475467;
}

@media (max-width: 768px) {
    #marco-escaleras .marco-shell {
        padding: clamp(1.5rem, 7vw, 2.25rem);
    }

    #marco-escaleras .marco-grid {
        grid-template-columns: 1fr;
    }

    #marco-escaleras .marco-info {
        order: 2;
    }

    #marco-escaleras .marco-media {
        order: 1;
        gap: clamp(1rem, 4vw, 1.8rem);
    }

    #marco-escaleras .marco-gallery {
        display: none;
    }

    #marco-escaleras .marco-media .slider-container-2 {
        display: block;
        padding: 0.35rem;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(59, 130, 246, 0.18));
        border-radius: 30px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 25px 60px rgba(15, 23, 42, 0.15);
    }

    #marco-escaleras .marco-media .slider-2 {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, calc(52% - 0.4rem));
        gap: clamp(0.4rem, 2vw, 0.75rem);
        transition: transform 0.45s ease;
    }

    #marco-escaleras .marco-media .slider-2 img {
        width: 100%;
        height: auto;
        max-height: clamp(150px, 52vw, 240px);
        aspect-ratio: 4 / 3;
        object-fit: contain;
        border-radius: 24px;
    }

    #marco-escaleras .slider-button-2 {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.9);
        color: #fff;
        border: none;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    #marco-escaleras .slider-button-2::before {
        content: '';
        border: 6px solid transparent;
        border-left-color: #fff;
        display: inline-block;
        transform: translateX(2px);
    }

    #marco-escaleras .slider-button-2.prev-2::before {
        border-left-color: transparent;
        border-right-color: #fff;
        transform: translateX(-2px);
    }

    #marco-escaleras .slider-button-2.prev-2 {
        left: 12px;
    }

    #marco-escaleras .slider-button-2.next-2 {
        right: 12px;
    }

    #marco-escaleras .marco-cta {
        text-align: center;
    }
}

@media (max-width: 560px) {
    #marco-escaleras .marco-media .slider-2 img {
        max-height: clamp(200px, 80vw, 280px);
        border-radius: 20px;
    }

    #marco-escaleras .slider-button-2 {
        width: 34px;
        height: 34px;
    }

#marco-escaleras .slider-button-2::before {
        border-width: 5px;
    }
}

#nuestro-trabajo {
    background: #eef6ff;
}

#nuestro-trabajo .trabajo-shell {
    background: #ffffff;
    border-radius: 32px;
    padding: clamp(2.25rem, 5vw, 4rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
}

#nuestro-trabajo .trabajo-kicker {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0f766e;
    font-weight: 600;
}

#nuestro-trabajo .trabajo-gallery {
    position: relative;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

#nuestro-trabajo .trabajo-viewport {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.01));
}

#nuestro-trabajo .trabajo-track {
    --trabajo-per-view: 4;
    --trabajo-gap: clamp(0.15rem, 0.4vw, 0.28rem);
    display: flex;
    transition: transform 0.45s ease;
    padding: 0;
}

#nuestro-trabajo .trabajo-card {
    flex: 0 0 calc((100% - (var(--trabajo-per-view) - 1) * var(--trabajo-gap)) / var(--trabajo-per-view));
    box-sizing: border-box;
}

#nuestro-trabajo .trabajo-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    display: block;
    background: #fff;
    padding: 0.35rem;
    box-sizing: border-box;
}

#nuestro-trabajo .trabajo-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    box-shadow: 0 15px 25px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
    z-index: 100;
}

#nuestro-trabajo .trabajo-control::before {
    content: '';
    border: 7px solid transparent;
}

#nuestro-trabajo .trabajo-control.prev {
    left: -28px;
}

#nuestro-trabajo .trabajo-control.prev::before {
    border-right-color: #fff;
    transform: translateX(-2px);
}

#nuestro-trabajo .trabajo-control.next {
    right: -28px;
}

#nuestro-trabajo .trabajo-control.next::before {
    border-left-color: #fff;
    transform: translateX(2px);
}

#nuestro-trabajo .trabajo-info {
    margin-top: clamp(1.75rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(14, 165, 233, 0.08));
    border-radius: 26px;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    text-align: center;
}

#nuestro-trabajo .trabajo-info .feature-list {
    margin: clamp(1rem, 2vw, 1.5rem) auto;
    max-width: 900px;
    text-align: left;
}

#nuestro-trabajo .trabajo-info .btn {
    margin-top: 1rem;
}

@media (max-width: 1280px) {
    #nuestro-trabajo .trabajo-track {
        --trabajo-per-view: 3;
    }

    #nuestro-trabajo .trabajo-control.prev {
        left: -12px;
    }

    #nuestro-trabajo .trabajo-control.next {
        right: -12px;
    }
}

@media (max-width: 900px) {
    #nuestro-trabajo .trabajo-track {
        --trabajo-per-view: 2;
    }

    #nuestro-trabajo .trabajo-control.prev {
        left: -6px;
    }

    #nuestro-trabajo .trabajo-control.next {
        right: -6px;
    }
}

@media (max-width: 640px) {
    #nuestro-trabajo .trabajo-track {
        --trabajo-per-view: 1;
    }

    #nuestro-trabajo .trabajo-control {
        width: 34px;
        height: 34px;
    }

    #nuestro-trabajo .trabajo-control::before {
        border-width: 6px;
    }

    #nuestro-trabajo .trabajo-control.prev {
        left: -2px;
    }

    #nuestro-trabajo .trabajo-control.next {
        right: -2px;
    }

}

.social-shell,
.video-shell,
.catalogo-shell,
.steps-shell,
.partners-shell,
.cta-shell,
.contact-shell {
    background: #ffffff;
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
}

.social-kicker,
.video-kicker,
.catalogo-kicker,
.steps-kicker,
.partners-kicker,
.cta-kicker,
.contact-kicker {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0f766e;
    font-weight: 600;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.instagram-grid a {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.instagram-grid img {
    width: 100%;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-grid img:hover {
    transform: scale(1.04);
}

.social-cta,
.video-cta,
.catalogo-cta,
.steps-cta {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.steps-cta {
    margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.video-card {
    background: #f5f8ff;
    border-radius: 22px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.video-card img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.14);
}

.catalogo-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.catalogo-media img {
    width: 100%;
    border-radius: 28px;
}

.catalogo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.catalogo-list li {
    padding-left: 1.5rem;
    position: relative;
    color: #475467;
}

.catalogo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #0f766e;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.35rem, 3vw, 2.75rem);
    row-gap: clamp(2.2rem, 5vw, 3.8rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 1024px) {
    .steps-grid {
        row-gap: clamp(3rem, 7vw, 4.75rem);
        column-gap: clamp(1.1rem, 3vw, 2rem);
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-card .btn-min.lva {
        width: 100%;
        padding: 15px 0;
    }
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.85rem, 2vw, 1.2rem);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    min-height: 100%;
}

.step-icon {
    width: clamp(44px, 5vw, 56px);
    height: clamp(44px, 5vw, 56px);
    border-radius: 16px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon img {
    width: clamp(22px, 3vw, 30px);
    height: clamp(22px, 3vw, 30px);
}

.step-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #0f766e;
    font-size: 0.72rem;
    margin: 0;
}

.step-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.step-card h3 {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #0f172a;
    line-height: 1.35;
}

.step-card p {
    margin: 0;
    color: #475467;
    font-size: clamp(0.86rem, 1.6vw, 1rem);
    line-height: 1.55;
}

.step-card .btn-min.lva {
    margin-top: 0.65rem;
    min-width: 0;
}

@media (min-width: 640px) {
    .step-card {
        flex-direction: row;
        align-items: center;
    }

    .step-card .btn-min.lva {
        width: auto;
    }
}

@media (max-width: 520px) {
    .step-card {
        padding: 0.85rem;
        border-radius: 20px;
    }

    .step-card .btn-min.lva {
        width: 100%;
    }

    .step-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.partners-media img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.1);
}

.partners-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.partners-content li {
    color: #475467;
}

.cta-shell {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    justify-content: space-between;
}

.cta-text {
    flex: 1 1 360px;
}

.cta-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-info {
    background: #0f172a00;
    color: #fff;
    border-radius: 24px;
    padding: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.25);
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0ef7c7;
    text-decoration: none;
}

.contact-map iframe {
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.1);
}

.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.footer-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-lang #flags {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.footer-links a:hover {
    border-color: currentColor;
}

.footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-note img {
    width: 16px;
    height: 16px;
}

@media (max-width: 720px) {
    .cta-shell {
        flex-direction: column;
        text-align: center;
    }
}

.section-list {
    margin: 2.5rem auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 820px;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

#fabricacion-de-escaleras {
    padding: clamp(5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 2rem);
}

#fabricacion-de-escaleras .hero-shell {
    max-width: min(920px, 100%);
    margin: 0 auto;
    background: rgb(242 243 239 / 25%);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 35px 80px rgba(3, 7, 18, 0.45);
    padding: clamp(2.25rem, 5.5vw, 3.85rem);
    backdrop-filter: blur(12px);
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.hero-shell .hero-heading,
.hero-shell .hero-subheading,
.hero-shell .hero-points,
.hero-shell .hero-note {
    max-width: min(1020px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.hero-shell .hero-heading h1 {
    color: #fefefe;
    font-weight: 800;
    font-size: clamp(2.15rem, 4vw, 3.35rem);
    line-height: 1.12;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 28px 65px rgba(2, 6, 23, 0.65);
}

.hero-shell .hero-subheading h2 {
    color: rgba(241, 247, 255, 0.96);
    font-weight: 400;
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    line-height: 1.78;
    text-wrap: pretty;
    text-transform: none;
    text-shadow: 0 24px 50px rgba(3, 7, 18, 0.55);
}

.hero-shell .hero-points p,
.hero-shell .hero-note p {
    color: rgba(226, 235, 247, 0.95);
    font-size: clamp(0.98rem, 1.55vw, 1.18rem);
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.015em;
    text-wrap: pretty;
    text-shadow: 0 18px 40px rgba(2, 6, 23, 0.55);
}

.hero-shell .hero-note p {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
    font-size: clamp(1.02rem, 1.7vw, 1.3rem);
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-shadow: 0 26px 50px rgba(2, 6, 23, 0.6);
}

.hero-shell i {
    color: #a6fff2;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 14px 32px rgba(1, 6, 20, 0.55);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-shell .hero-subheading h2 {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 239, 255, 0.8) 90%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.hero-shell .hero-actions {
    justify-content: center;
    width: 100%;
    max-width: min(1020px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.tabs {
    margin: 0 auto;
    width: min(1100px, 100%);
}

.tab-panel .tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-panel .tab-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: clamp(10px, 1.5vw, 14px) clamp(12px, 2vw, 16px);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f7fafc);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.tab-panel .tab-list li > div {
    flex: 1;
    color: #1f2733;
    line-height: 1.48;
    font-size: 0.96rem;
}

.tab-panel#tab-otros .tab-list li {
    background: linear-gradient(135deg, #fff, #fef2f2);
    border-color: #fee2e2;
}

.tab-item-index {
    font-weight: 700;
    color: #94a3b8;
    min-width: 18px;
    text-align: right;
}

.tab-note {
    margin: 1.1rem 0 0;
    font-weight: 600;
    color: #0f172a;
}

.tab-note.danger {
    color: #b91c1c;
}

.tab-cta {
    margin-top: 1.1rem;
    text-align: center;
}

.list-accent {
    font-weight: 600;
    color: #0f172a;
}

.list-accent.success {
    color: #0f766e;
}

.list-accent.danger {
    color: #b91c1c;
}

.text-accent {
    color: #0ea5e9;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.feature-list li {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    line-height: 1.55;
    color: #1f2733;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.feature-list--columns {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem 1.25rem;
}

.feature-list--columns li {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.25rem 0.5rem;
    color: #3f4c5c;
}

.layout-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-top: 2rem;
}

.layout-media picture,
.layout-media img {
    width: 100%;
    border-radius: 28px;
    display: block;
}

.layout-content h3 {
    margin-bottom: 1rem;
    color: #0f172a;
}

.catalog-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-auto-rows: 1fr;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.catalog-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalog-media img {
    width: 100%;
    display: block;
    border-radius: 22px;
}

.card-title {
    margin: 0;
    color: #0f172a;
    line-height: 1.35;
    min-height: 3.5rem;
}

.catalog-card .card-title span {
    display: block;
    font-weight: 600;
}

.card-title small {
    display: block;
    margin-top: 0.35rem;
    font-weight: 400;
    color: #4b5563;
    font-size: clamp(0.78rem, 0.65vw + 0.4rem, 0.9rem);
}

.catalog-card .btn {
    margin-top: auto;
    align-self: flex-start;
    width: min(150px, 100%);
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.85rem;
    text-align: center;
    white-space: nowrap;
}

.section-list .btn {
    align-self: center;
}

/* === Interior catalog === */
#catalogo-interior {
    padding: clamp(3rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
    background: #f9fafb;
}

#catalogo-interior .section-header {
    margin-bottom: 1.5rem;
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.interior-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.interior-card-media picture,
.interior-card-media img {
    display: block;
    width: 100%;
    border-radius: 26px 26px 0 0;
}

.interior-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem;
    flex: 1;
}

.interior-card-body h3 {
    margin: 0;
    font-size: clamp(0.78rem, 0.6vw + 0.5rem, 0.88rem);
    line-height: 1.2;
    color: #0f172a;
}

.interior-card-body p {
    margin: 0;
    color: #4b5563;
    line-height: 1.35;
    font-size: clamp(0.78rem, 0.6vw + 0.5rem, 0.9rem);
}

#catalogo-interior .interior-card .btn {
    align-self: center;
    width: min(180px, 100%);
    min-width: 0;
    margin-top: auto;
    font-size: 0.65rem;
    padding: 0.48rem 1rem;
    letter-spacing: 0.05em;
    border-radius: 999px;
    text-align: center;
    white-space: nowrap;
}

.interior-footer {
    margin-top: 2.5rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .interior-card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    #catalogo-interior {
        padding: clamp(2.5rem, 8vw, 3rem) 1rem;
    }

    .interior-card-body h3 {
        font-size: 0.88rem;
    }

    .interior-card-body p {
        font-size: 0.8rem;
    }

    #catalogo-interior .interior-card .btn {
        width: 100%;
        text-align: center;
        font-size: 0.7rem;
        padding: 0.5rem 0.85rem;
    }

    .catalog-card .card-title span {
        font-size: 0.85rem;
    }

    .catalog-card .card-title small {
        font-size: 0.78rem;
    }

    .catalog-card .btn {
        width: 100%;
        font-size: 0.56rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

.calculator-control.is-hidden {
    display: none !important;
}

.calculator-control[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    #fabricacion-de-escaleras {
        background: linear-gradient(135deg, rgba(9, 12, 24, 0.86), rgba(9, 12, 24, 0.55)), url('images/hero-image-1024.webp') no-repeat center/cover;
    }
}

@media (max-width: 768px) {
    #fabricacion-de-escaleras {
        background: linear-gradient(135deg, rgba(9, 12, 24, 0.92), rgba(9, 12, 24, 0.62)), url('images/hero-image-768.webp') no-repeat center/cover;
    }

    #fabricacion-de-escaleras .hero-shell {
        padding: 1.75rem;
    }
}

@media (max-width: 520px) {
    #fabricacion-de-escaleras {
        background: linear-gradient(135deg, rgba(9, 12, 24, 0.95), rgba(9, 12, 24, 0.7)), url('images/hero-image-480.webp') no-repeat center/cover;
    }

    .catalog-card .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .header {
        padding: 10px 0; 
    }

    .header .container-menu {
        display: flex !important;
        flex-direction: row !important;     
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        margin: 0 auto !important;
        padding: 0 12px !important;
        box-sizing: border-box;
        gap: 0;
    }

    .header .logo {
        margin: 0;                           
        flex: 0 0 auto;
    }

    .header .logo img {
        max-height: 40px; 
        display: block;
    }

    .menu-toggle {
        margin-left: auto !important;
        flex: 0 0 auto;
    }
}

