:root {
    --primary: #fff701;
    --secondary: #1e1e1e;
    --dark: #1e1e1e;
    --light-gray: #f7f7f7;
    --white: #ffffff;
    --border: #d9d9d9;
    --text-soft: #666666;
    --container: 1200px;
    --radius: 18px;
    --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background: var(--white);
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.main-content {
    flex: 1;
}

.header,
.main-content,
.footer {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.footer-item,
.footer-social-link,
.footer a,
.footer span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.section-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 14px;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    background: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 8px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 130px;
    height: auto;
    margin: 0;
}

.menu-toggle {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    margin: 5px auto;
    transition: 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar {
    width: 100%;
    margin-top: 8px;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.navbar a {
    text-decoration: none;
    color: #111111;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding-bottom: 5px;
    position: relative;
    transition: opacity 0.25s ease;
}

.navbar a:hover,
.navbar a.active {
    opacity: 0.72;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #111111;
    transition: width 0.25s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* HOME SLIDER */

.slider {
    position: relative;
    height: 68vh;
    min-height: 420px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.slide h2 {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.45);
    padding: 12px 28px;
    border-radius: 8px;
    text-align: center;
}

/* SERVICES */

.services {
    padding: 90px 20px;
    background: var(--light-gray);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-head h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 15px;
}

.services-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.service-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 10px;
    background: rgba(255, 247, 1, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

.service-box h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-box p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 22px;
    flex: 1;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-service:hover {
    transform: translateY(-1px);
    background: var(--secondary);
}

/* QUIENES SOMOS */

.about-page {
    padding: 70px 20px;
    background: #f5f5f5;
}

.about-container {
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: stretch;
}

.about-media {
    min-height: 520px;
    border-radius: 22px;
    overflow: hidden;
    background: #e9e9e9;
    border: 1px solid #d8d8d8;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    background: #ffffff;
    border-radius: 22px;
    padding: 38px 36px;
    border: 1px solid #d8d8d8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h1 {
    font-size: 2.3rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #111111;
}

.about-content p {
    font-size: 15px;
    line-height: 1.85;
    color: #333333;
    margin-bottom: 18px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* FOOTER */

.footer {
    background: var(--primary);
    color: var(--dark);
    padding: 38px 20px 34px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.footer h4 {
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 16px;
    color: #111111;
}

.footer a {
    display: block;
    margin-bottom: 8px;
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.55;
    transition: opacity 0.25s ease;
}

.footer a:hover {
    opacity: 0.72;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #111111;
}

.footer-item .icon {
    width: 16px;
    height: 16px;
    color: #111111;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-item svg {
    width: 100%;
    height: 100%;
}

.footer-item a,
.footer-item span {
    color: #111111;
    text-decoration: none;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.footer-social-link .icon {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-social-link .icon svg {
    width: 100%;
    height: 100%;
}

.footer-credit {
    width: 100%;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.85);
}

.footer-credit a {
    display: inline;
    margin: 0;
    font-weight: 700;
    text-decoration: underline;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    z-index: 999;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.btn-whatsapp-detalle,
.btn-whatsapp-destacado,
.btn-principal,
.btn-whatsapp {
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.3s ease;
}

.btn-whatsapp-detalle:hover,
.btn-whatsapp-destacado:hover,
.btn-principal:hover,
.btn-whatsapp:hover {
    transform: translateY(-1px);
}

/* BREADCRUMB */

.breadcrumb {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #111;
}

.breadcrumb-separador {
    color: #b0b0b0;
}

.breadcrumb-actual {
    color: #111;
    font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .services-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-media {
        min-height: 420px;
    }
}

@media (max-width: 980px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        align-items: start;
    }

    .footer-col {
        min-width: 0;
        width: 100%;
    }

    .footer-brand {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 16px;
    }

    .header-top {
        justify-content: center;
        min-height: 56px;
    }

    .menu-toggle {
        display: block;
    }

    .logo-container img {
        width: 118px;
    }

    .navbar {
        display: none;
        margin-top: 12px;
        padding-top: 14px;
        border-top: 1px solid rgba(17, 17, 17, 0.12);
    }

    .navbar.is-open {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .navbar li {
        width: 100%;
    }

    .navbar a {
        display: block;
        text-align: center;
        padding: 10px 14px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.35);
        font-size: 13px;
    }

    .navbar a::after {
        display: none;
    }

    .slider {
        height: 52vh;
        min-height: 300px;
    }

    .slide h2 {
        width: calc(100% - 32px);
        font-size: 1.2rem;
        padding: 10px 16px;
    }

    .services {
        padding: 64px 16px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: 34px;
    }

    .section-head h2 {
        font-size: 1.9rem;
    }

    .about-page {
        padding: 50px 16px;
    }

    .about-media {
        min-height: 300px;
    }

    .about-content {
        padding: 28px 20px;
    }

    .about-content h1 {
        font-size: 1.9rem;
    }

    .footer {
        padding: 32px 16px 26px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        justify-content: flex-start;
    }

    .footer-col {
        min-width: 0;
        width: 100%;
    }

    .footer-logo {
        width: 120px;
        max-width: 100%;
    }

    .breadcrumb {
        font-size: 13px;
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .section-head h2 {
        font-size: 1.7rem;
    }

    .service-box {
        padding: 26px 18px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}