/* 
 * Page: Contacto
 * Description: Styles for the manual Contact page template
 */

/* Global Typography for this page */
#contacto-page {
    font-family: 'Myriad Pro', 'Segoe UI', Helvetica, Arial, sans-serif;
}

#contacto-page h1,
#contacto-page h2,
#contacto-page h3,
#contacto-page p,
#contacto-page label,
#contacto-page input,
#contacto-page textarea,
#contacto-page button {
    font-family: 'Myriad Pro', 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

/* Hero Section */
.k-contacto-hero {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    /* Fallback */
}

.k-contacto-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.k-contacto-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Removed Overlay & Content styles as requested */

@media (max-width: 768px) {
    .k-contacto-hero {
        height: 250px;
    }
}

/* Info Cards Section */
.k-contacto-info {
    padding: 60px 0;
    background-color: #f5f5f5;
    /* Light bg to separate from white cards if needed, or white? Reference has whitespace. */
    background-color: transparent;
    /* Stick to site bg */
    margin-top: 40px;
    /* POSITIVE margin to separate from banner as requested */
}

.k-contacto-info__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .k-contacto-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .k-contacto-info__grid {
        grid-template-columns: 1fr;
    }
}

.k-contacto-card {
    background: #fff;
    border-radius: 12px;
    /* Soft Shadow / Floating Effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 24px 24px;
    /* Desktop Padding adjusted */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    /* No hard border */
    /* Flex Layout for Icon + Text */
    display: flex;
    align-items: center;
    gap: 15px;
    height: auto;
}

.k-contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Icon Container */
.k-contacto-card__icon {
    flex-shrink: 0;
    width: 60px;
    /* Reduced from generic, but inner icon controls visual size */
    height: 60px;
    background: #ffed00;
    /* Kamasa Yellow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    /* Remove bottom margin for flex row */
}

/* Icon Itself */
.k-contacto-card__icon img,
.k-contacto-card__icon svg {
    width: 32px;
    /* Desktop Target 32-40px */
    height: 32px;
    object-fit: contain;
}

/* Content Wrapper */
.k-contacto-card__content {
    display: flex;
    flex-direction: column;
}

.k-contacto-card__title {
    font-size: 16px;
    /* Target 16-18px */
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.2;
}

.k-contacto-card__text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    /* Target 1.4-1.5 */
}

.k-contacto-card__text p {
    margin: 0;
}

.k-contacto-card__text a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.k-contacto-card__text a:hover {
    color: #f7941d;
}

/* Responsive Adjustments for Cards */
@media (max-width: 768px) {
    .k-contacto-card {
        padding: 16px 18px;
        /* Mobile Padding */
    }

    .k-contacto-card__icon {
        width: 50px;
        height: 50px;
    }

    .k-contacto-card__icon img,
    .k-contacto-card__icon svg {
        width: 28px;
        /* Mobile Target 28-32px */
        height: 28px;
    }
}

/* Main Content: Form & Map */
.k-contacto-main {
    padding-bottom: 80px;
}

.k-contacto-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 */
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .k-contacto-main__grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styling */
.k-contacto-form-wrapper {
    padding-right: 20px;
}

.k-contacto-form__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.k-contacto-form__subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.k-contacto-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Target 12-16px spacing */
}

.k-form-group {
    /* No margin bottom needed if parent has gap */
}

.k-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.k-form-group input,
.k-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
    background: #f9f9f9;
}

.k-form-group input:focus,
.k-form-group textarea:focus {
    outline: none;
    border-color: #ffed00;
    background: #fff;
}

.k-contacto-submit {
    display: inline-block;
    background-color: #ffed00;
    color: #000;
    font-weight: 700;
    height: 48px;
    /* Target 44-48px */
    padding: 0 40px;
    /* Horizontal padding, let height align center */
    line-height: 48px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    align-self: flex-start;
    font-size: 16px;
    /* Soft Shadow requested */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.k-contacto-submit:hover {
    background-color: #e6bd00;
}

/* Map Styling */
.k-contacto-map-wrapper {
    width: 100%;
    height: 400px;
    /* Desktop Target 350-420px */
    min-height: auto;
    /* Reset */
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.k-contacto-map-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .k-contacto-map-wrapper {
        height: 300px;
        /* Mobile Target 280-320px */
    }
}