/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border-radius: 10px;
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.hero-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
    background-color: #fff;
}

.welcome-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-top: 20px;
}

.section-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-top: 10%;
}

.section-title {
    margin-left: 20%;
    margin-top: 10%;
    font-size: 2.5rem;
    color: #d12727;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title-verde {
    margin-top: 0%;
    font-size: 2.5rem;
    color: #d12727;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title-principios {
    margin-top: -3%;
    font-size: 2.5rem;
    color: #d12727;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.text-center {
    margin-top: -7%;
    text-align: center;
}

.text-center-bien {
    margin-top: 0%;
    text-align: center;
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background-color: #f3f3f3;
    border-top: 5px solid #d12727;
}

.section-subtitle {
    font-size: 2rem;
    color: #444;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-list {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.section-list ul {
    list-style: none;
    padding-left: 0;
}

.section-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.section-list li:before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #d12727;
    font-size: 1.2rem;
}

/* Principles Section */
.principles-section {
    padding: 60px 0;
    background-color: #e7e7e7;
}

.principles-content {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-top: 20px;
}

.principles-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 20px;
}

.principles-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background-color: #fff;
}

.gallery-item {
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Environment Section */
.environment-section {
    padding: 60px 0;
    background-color: #f3f3f3;
    border-top: 5px solid #d12727;
}

.environment-content {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title,
    .section-subtitle {
        font-size: 1.8rem;
    }

    .gallery-item {
        margin-bottom: 20px;
    }

    .hero-section {
        height: 60vh;
    }
}

/* ================================================================
   Renovacion visual 2026 - pagina de inicio
   ================================================================ */
.hero-section {
    height: auto;
    min-height: clamp(500px, 70vh, 760px);
    padding: 0;
    background: #111;
}

.hero-section .section-hero,
.hero-section .section-hero__back {
    width: 100%;
    min-height: inherit;
    height: 100%;
    padding: 0;
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    min-height: inherit;
    padding: 60px 24px;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(9, 11, 14, .82) 0%, rgba(9, 11, 14, .48) 55%, rgba(9, 11, 14, .28) 100%);
}

.hero-overlay .grid-center {
    width: min(1180px, 100%);
    margin: 0 auto;
    text-align: left;
}

.hero-overlay .col-6_md-10 {
    width: min(760px, 100%);
}

.hero-title {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.045em;
    text-align: left !important;
    text-wrap: balance;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .28);
}

.hero-title::before {
    content: "AUTOSERVICIO MONGE";
    display: block;
    margin-bottom: 18px;
    color: #ff4a40;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.2;
}

.welcome-section,
.environment-section,
.principles-section {
    padding: clamp(70px, 9vw, 120px) 24px;
    border: 0;
}

.welcome-section {
    position: relative;
    background: #fff;
}

.welcome-section::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border: 44px solid rgba(229, 35, 27, .05);
    border-radius: 50%;
}

.welcome-section .grid-center,
.environment-section .grid-center,
.principles-section .grid-center {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    margin: 0 auto;
}

.welcome-section .col-10,
.welcome-section .col-8_md-10,
.environment-section .col-8_md-10,
.principles-section .col-8_md-10 {
    width: 100%;
}

.section-title,
.section-title-verde,
.section-title-principios {
    margin: 0 0 28px;
    color: var(--am-ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-transform: none;
    text-wrap: balance;
}

.section-title::after,
.section-title-verde::after,
.section-title-principios::after {
    content: "";
    display: block;
    width: 58px;
    height: 5px;
    margin: 22px auto 0;
    border-radius: 5px;
    background: var(--am-red);
}

.text-center,
.text-center-bien {
    margin-top: 0;
}

.welcome-text,
.environment-content,
.principles-content {
    max-width: 860px;
    margin: 0 auto;
    color: var(--am-muted);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.9;
}

.environment-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(16, 19, 23, .91), rgba(16, 19, 23, .94)),
        url("../img/pag_inicio_pie.jpg") center/cover fixed;
}

.environment-section .section-title-verde,
.environment-section .environment-content {
    color: #fff;
}

.environment-section .environment-content {
    max-width: 920px;
}

.environment-section .environment-content p {
    color: rgba(255, 255, 255, .76);
}

.principles-section {
    background: #f2f3f5;
}

.principles-content {
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(21, 24, 28, .08);
    border-radius: var(--am-radius);
    background: #fff;
    box-shadow: var(--am-shadow);
}

.principles-content ol,
.principles-content ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
    margin: 28px 0 0;
    padding-left: 24px;
    text-align: left;
}

.principles-content li {
    padding-left: 6px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 520px;
    }

    .hero-overlay {
        background: linear-gradient(rgba(9, 11, 14, .70), rgba(9, 11, 14, .74));
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .principles-content ol,
    .principles-content ul {
        grid-template-columns: 1fr;
    }
}
