/* =====================================================
   TALLERES FEUDO - CSS BASE SEO PAGES
   Replica del diseño original (Elementor/Hello Theme)
   ===================================================== */

/* Google Fonts se carga via <link> en el HTML para mejor rendimiento (evita bloqueo de renderizado) */

/* ---- CSS Variables (extraídas del kit de Elementor) ---- */
:root {
    --color-primary: #58585A;
    --color-secondary: #26272C;
    --color-white: #FFFFFF;
    --color-accent: #F13D29;
    --color-accent-hover: #C21300;
    --color-light-gray: #DCDCDE;
    --color-lighter-gray: #E6E6E6;
    --color-bg-light: #F5F7F8;
    --color-dark: #242425;
    --color-darkest: #121211;
    --color-red-btn: #ED1C24;

    --font-heading: 'Hind Madurai', sans-serif;
    --font-subheading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1280px;
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Typography ---- */
h1 {
    font-family: var(--font-heading);
    font-size: 85px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: -1.5px;
    color: var(--color-secondary);
}

h2 {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: var(--color-secondary);
}

h3 {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.3em;
    letter-spacing: -0.5px;
    color: var(--color-secondary);
}

h4 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3em;
    color: var(--color-secondary);
}

h5 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4em;
    color: var(--color-secondary);
}

h6 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2em;
    color: var(--color-accent);
}

p {
    margin-bottom: 1em;
    line-height: 1.7;
}

/* ---- Top Bar ---- */
.top-bar {
    background-color: var(--color-secondary);
    padding: 8px 0;
    position: relative;
    z-index: 101;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-info span {
    font-size: 12px;
    color: var(--color-light-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info span svg {
    width: 14px;
    height: 14px;
    fill: var(--color-light-gray);
}

.top-bar-social a {
    color: var(--color-light-gray);
    font-size: 16px;
    transition: color 0.3s;
}

.top-bar-social a:hover {
    color: var(--color-accent);
}

/* ---- Header / Nav ---- */
.site-header {
    background-color: transparent;
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo img {
    max-width: 200px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav > ul {
    display: flex;
    gap: 31px;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 28px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s;
    line-height: 1.5em;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta .btn-contact {
    font-family: var(--font-subheading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.nav-cta .btn-contact:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
}

.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.lang-switcher img {
    width: 16px;
    height: 11px;
    display: inline-block;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lang-switcher a:hover img,
.lang-switcher a.active img {
    opacity: 1;
}

/* ---- Dropdown Menu ---- */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: none !important;
}

.has-dropdown > a {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.has-dropdown > a .dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--color-secondary);
    min-width: 260px;
    padding: 12px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 200;
    border-top: 3px solid var(--color-accent);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    display: block !important;
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1.4 !important;
}

.dropdown-menu li a:hover {
    color: var(--color-white) !important;
    background-color: rgba(241, 61, 41, 0.15);
    padding-left: 28px !important;
}

.dropdown-menu li a::after {
    content: none !important;
}

.has-dropdown:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 6px 0;
    transition: all 0.3s;
}

/* ---- Hero / Page Header ---- */
.page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 140px;
    padding-bottom: 80px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18,18,17,0.85) 0%, rgba(38,39,44,0.75) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h6 {
    color: var(--color-accent);
    margin-bottom: 15px;
}

.page-hero h1 {
    color: var(--color-white);
    font-size: 60px;
    margin-bottom: 20px;
    max-width: 800px;
}

.page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.page-hero .btn-primary {
    display: inline-block;
}

/* ---- Buttons ---- */
.btn-primary {
    font-family: var(--font-subheading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    line-height: 1;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
}

.btn-outline {
    font-family: var(--font-subheading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    background-color: transparent;
    padding: 16px 32px;
    border: 2px solid var(--color-accent);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    line-height: 1;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* ---- Sections ---- */
.section {
    padding: var(--section-padding);
}

.section-light {
    background-color: var(--color-bg-light);
}

.section-dark {
    background-color: var(--color-secondary);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark p {
    color: var(--color-white);
}

.section-dark h6 {
    color: var(--color-accent);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h6 {
    margin-bottom: 10px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-primary);
}

/* ---- Content Layout ---- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.content-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text h3 {
    margin-bottom: 15px;
    font-size: 30px;
}

.content-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-text ul {
    margin: 20px 0;
}

.content-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.content-image {
    position: relative;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.content-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
}

/* ---- Feature Cards ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.feature-card:hover {
    border-bottom-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-card .feature-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-accent);
}

.feature-card .feature-number {
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 800;
    color: #D5D5D5;
    line-height: 1;
    margin-bottom: 10px;
}

.feature-card h5 {
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--color-secondary);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-primary);
}

/* ---- Stats / Counters ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 60px 0;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -2px;
}

.stat-item .stat-label {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-primary);
    margin-top: 10px;
}

/* ---- Services List ---- */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--color-white);
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.service-item:hover {
    border-left-color: var(--color-accent);
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

.service-item .service-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.service-item .service-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-accent);
}

.service-item h5 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ---- CTA Section ---- */
.cta-section {
    background-color: var(--color-secondary);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 50px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Contact Form ---- */
.contact-form {
    max-width: 600px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-secondary);
    background-color: var(--color-lighter-gray);
    border: none;
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: var(--color-light-gray);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-consent {
    font-size: 13px;
    color: var(--color-primary);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-form .form-consent input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

/* ---- FAQ / Accordion ---- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-light-gray);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-secondary);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question .faq-icon {
    font-size: 24px;
    color: var(--color-accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
    padding: 15px 0;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-light-gray);
}

.breadcrumbs ol {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs li {
    font-size: 13px;
    color: var(--color-primary);
}

.breadcrumbs li a {
    color: var(--color-accent);
}

.breadcrumbs li + li::before {
    content: '›';
    margin-right: 8px;
    color: var(--color-light-gray);
}

/* ---- Table of Contents ---- */
.toc {
    background: var(--color-bg-light);
    padding: 25px 30px;
    margin-bottom: 40px;
    border-left: 3px solid var(--color-accent);
}

.toc h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.toc ol {
    counter-reset: toc;
    list-style: none;
}

.toc ol li {
    counter-increment: toc;
    padding: 6px 0;
}

.toc ol li::before {
    content: counter(toc) ". ";
    color: var(--color-accent);
    font-weight: 600;
}

.toc ol li a {
    color: var(--color-primary);
    font-size: 15px;
}

.toc ol li a:hover {
    color: var(--color-accent);
}

/* ---- Footer ---- */
.site-footer {
    background-color: var(--color-darkest);
    color: var(--color-light-gray);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h5 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-light-gray);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--color-light-gray);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

a.footer-contact-item {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a.footer-contact-item:hover {
    opacity: 0.8;
}

a.footer-contact-item:hover span {
    text-decoration: underline;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item span {
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 0;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--color-accent);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
    color: var(--color-accent);
}

/* ---- Internal Linking Section ---- */
.related-services {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background: var(--color-white);
    padding: 30px 25px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.related-card:hover {
    border-bottom-color: var(--color-accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.related-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.related-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

.related-card a.read-more {
    font-family: var(--font-subheading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.related-card a.read-more:hover {
    gap: 12px;
}

/* ---- Schema/SEO Hidden ---- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    h1 { font-size: 45px; }
    h2 { font-size: 37px; }
    h3 { font-size: 30px; }
    h4 { font-size: 25px; }
    h5 { font-size: 22px; }
    h6 { font-size: 16px; }

    .page-hero h1 { font-size: 40px; }

    .content-grid { gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }

    .section { padding: var(--section-padding-mobile); }
}

@media (max-width: 767px) {
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }

    .page-hero {
        min-height: 400px;
        padding-top: 120px;
        padding-bottom: 50px;
    }
    .page-hero h1 { font-size: 32px; }
    .page-hero p { font-size: 16px; }

    .top-bar { display: none; }

    .site-header { top: 0; }

    .main-nav ul { display: none; }
    .menu-toggle { display: block; }
    .main-nav.open ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .main-nav.open ul a {
        color: var(--color-secondary);
        padding: 12px 0;
    }

    /* Mobile dropdown */
    .has-dropdown:hover > .dropdown-menu {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .has-dropdown.open > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        display: block;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background-color: var(--color-bg-light);
        box-shadow: none;
        border-top: none;
        min-width: auto;
        padding: 5px 0 5px 15px;
        transition: none;
    }

    .dropdown-menu li a {
        color: var(--color-primary) !important;
        font-size: 14px !important;
        padding: 8px 15px !important;
    }

    .dropdown-menu li a:hover {
        color: var(--color-accent) !important;
        background-color: transparent;
        padding-left: 20px !important;
    }

    .content-grid,
    .content-grid.three-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 48px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .nav-cta {
        display: none;
    }

    .lang-switcher {
        display: none;
    }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Tables (espesores, comparativa) ---- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabla-espesores {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--color-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.tabla-espesores thead {
    background-color: var(--color-secondary);
}

.tabla-espesores thead th {
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    white-space: nowrap;
}

.tabla-espesores thead th:first-child {
    border-left: 4px solid var(--color-accent);
}

.tabla-espesores tbody tr {
    border-bottom: 1px solid var(--color-lighter-gray);
    transition: background-color 0.2s ease;
}

.tabla-espesores tbody tr:last-child {
    border-bottom: none;
}

.tabla-espesores tbody tr:hover {
    background-color: var(--color-bg-light);
}

.tabla-espesores tbody td {
    padding: 14px 20px;
    color: var(--color-primary);
    line-height: 1.5;
}

.tabla-espesores tbody td:first-child {
    font-weight: 500;
    color: var(--color-secondary);
    border-left: 4px solid transparent;
}

.tabla-espesores tbody tr:hover td:first-child {
    border-left-color: var(--color-accent);
}

.tabla-espesores tbody td.highlight {
    color: var(--color-accent);
    font-weight: 600;
}

@media (max-width: 767px) {
    .tabla-espesores thead th,
    .tabla-espesores tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ---- Print styles ---- */
@media print {
    .top-bar, .site-header, .site-footer, .cta-section {
        display: none;
    }
}
