/* Estilos para el modelo Adecuaciones */
:root {
    --primary: #1D3557;
    --secondary: #EAE2B7;
    --accent: #E9C46A;
    --neutral: #F4A261;
    --text: #0f1b2b;
    --muted: #4f5a68;
    --surface: #ffffff;
    --background: #f4f7fb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Header */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 10px 30px rgba(15, 27, 43, 0.06);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.navigation {
    display: flex;
    gap: 1.5rem;
}

.navigation a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    position: relative;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.navigation a:hover::after {
    transform: scaleX(1);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
    width: min(1200px, 94%);
    margin: 0 auto;
    padding-inline: clamp(0.5rem, 4vw, 2rem);
}

.hero-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-text p {
    margin: 1rem 0 1.5rem;
}

.hero-img {
    justify-self: center;
    width: min(460px, 100%);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
    padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.about .about-inner,
.services-list,
.projects-grid,
.contact-box {
    display: grid;
    gap: 2rem;
}

.about-inner {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.about-img img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 27, 43, 0.12);
}

.about-info h2,
.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.subtitle,
.section-subtitle {
    color: var(--muted);
    margin-bottom: 2rem;
}


.services-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-item {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(15, 27, 43, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(15, 27, 43, 0.06);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 27, 43, 0.16);
}

.service-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background), #e8eef5);
}

.service-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
    pointer-events: none;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-img img {
    transform: scale(1.08);
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
}

.service-details h3 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

.service-details p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.price {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15, 27, 43, 0.04), rgba(15, 27, 43, 0.08));
    margin-top: 0.25rem;
    transition: background 0.25s ease;
}

.service-item:hover .price {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.projects {
    background: #fff;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 27, 43, 0.12);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 43, 0.45);
    opacity: 0;
    display: grid;
    place-items: center;
    transition: opacity 0.25s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: grid;
    place-items: center;
}

.contact {
    background: linear-gradient(135deg, var(--primary), #101b2d);
    color: #fff;
}

.contact-box {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-item p,
.social-item p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    color: #fff;
}

.map-card {
    margin-top: 2.5rem;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: rgba(8, 12, 24, 0.85);
}

.map-card iframe {
    width: 100%;
    border: none;
    height: clamp(260px, 40vw, 360px);
    display: block;
}

.map-card .map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem;
    color: #fff;
    flex-wrap: wrap;
}

.map-card .map-footer a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.footer {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #0c1320;
    color: rgba(255, 255, 255, 0.8);
}

.footer-supporters {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-supporters__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-supporters__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-supporters__item {
    width: clamp(110px, 24vw, 150px);
    height: 68px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.footer-supporters__item img {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.25s ease;
}

.footer-supporters__item span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-supporters__item:hover img {
    transform: scale(1.03);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.35);
}

@media (max-width: 900px) {
    .navigation {
        display: none;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-img {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-list {
        gap: 2.5rem;
    }

    .service-details {
        padding: 2rem;
    }

    .service-details h3 {
        font-size: 1.4rem;
    }
}