/* =========================================================
   RESET Y BASE
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: "Bai Jamjuree", sans-serif;
    color: #333;
    line-height: 1.6;
}
/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
    position: relative;
    margin-top: var(--header-height, 0px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    z-index: 3;
}
.container-contact{
    width: 1280px;
    padding: 50px 0;
    overflow: hidden;
    background-color: #ffffff;
}
.contact-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-label {
    display: block;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #005da4;
    margin-bottom: 12px;
}

.contact-form-wrapper h2 {
    margin: 0 0 15px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    font-weight: 600;
    color: #173060;
    letter-spacing: 0.03em;
}

.contact-form-wrapper h2 span {
    display: block;
    color: #005da4;
    font-weight: 300;
}

.contact-intro {
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #183254;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.95rem;
    color: #374151;
    padding: 12px 16px;
    background: #f8f9fb;
    border: 1px solid rgba(23, 48, 96, 0.1);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005da4;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(41, 82, 186, 0.1);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    padding: 14px 32px;
    background: linear-gradient(135deg, #183254, #005da4);
    color: #ffffff;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(41, 82, 186, 0.25);
}

.contact-submit i {
    transition: transform 0.3s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(41, 82, 186, 0.35);
}

.contact-submit:hover i {
    transform: translateX(4px);
}

/* =========================================================
   CONTACT INFO — Imagen + iconos superpuestos al bottom
   ========================================================= */
.contact-info-wrapper {
    position: relative;           /* ← ancla los iconos a este contenedor */
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;             /* ← que la imagen respete el borde */
    border-radius: 16px;          /* opcional: mismo radio que la card antigua */
}

.contact-info-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

/* Capa de iconos en el bottom de la imagen */
.contact-image-icons {
    position: absolute;
    left: 70%;
    bottom: 10px;                 /* separación inferior */
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 999px;         /* píldora */
    z-index: 2;
    transition: background 0.3s ease;
}

.contact-image-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.contact-image-icons .social-icon:hover {
    transform: scale(1.12);
}

.contact-image-icons .social-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    pointer-events: none;
}
/* =========================================================
   RESPONSIVE — TABLET (<= 992px)
   ========================================================= */
@media (max-width: 992px) {
    /* Parallax */
    .container-center-parallax {
        height: 65vh;
        min-height: 460px;
    }

    /* Rent story */
    .rent-story {
        padding: 80px 0;
    }
    .center-container {
        padding: 80px 0;
    }
    .rent-story-container {
        grid-template-columns: 1fr;
        gap: 55px;
        max-width: 720px;
        width: calc(100% - 40px);
    }
    .rent-image-wrapper {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    .rent-image {
        height: 430px;
    }
    .rent-content {
        max-width: 100%;
    }
    .rent-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Rental */
    .rental-section {
        padding: 70px 0;
    }
    .rental-wrapper {
        padding: 30px 20px 0;
        max-width: 100%;
    }
    .rental-title-wrapper {
        padding: 0 0 16px 0;
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 32px;
    }
    .rental-title {
        font-size: 1.9rem;
    }
    .rental-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .rental-card-header {
        min-height: 90px;
        padding: 22px 20px 16px;
    }
    .rental-card-number {
        font-size: 2.2rem;
    }
    .rental-card-header .card-title {
        font-size: 1.05rem;
    }
    .rental-card-body {
        padding: 18px 20px 20px;
    }
    .rental-card-footer {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
    .rental-card-link {
        justify-content: center;
    }
    .rental-price-wrapper {
        align-items: center;
    }

    /* Contact */
    .center-container-contact {
        padding: 80px 0;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 720px;
        width: calc(100% - 40px);
    }
    .contact-info-wrapper {
        flex-direction: row;
        align-items: stretch;
        gap: 20px;
    }
    .contact-info-card {
        flex: 0 0 280px;
    }
    .contact-map-wrapper {
        min-height: 280px;
    }
    .contact-map-wrapper iframe {
        min-height: 280px;
    }
}

/* =========================================================
   RESPONSIVE — MÓVIL GRANDE (<= 768px)
   ========================================================= */
@media (max-width: 768px) {
    /* Parallax */
    .container-center-parallax {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll;
        background-position: center center;
    }
    .parallax-content {
        width: calc(100% - 32px);
        max-width: 100%;
        padding: 24px 18px;
        margin: 0 auto;
    }
    .parallax-content h1 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }
    .parallax-content p {
        font-size: 0.95rem;
        margin-top: 10px;
        line-height: 1.5;
    }
    .parallax-content p br {
        display: none;
    }

    /* Rent story */
    .rent-story {
        padding: 55px 0;
    }
    .center-container {
        padding: 55px 0;
    }
    .rent-story-container {
        width: calc(100% - 32px);
        max-width: 100%;
        gap: 40px;
    }
    .rent-image-wrapper {
        padding: 0 0 22px 10px;
        max-width: 100%;
    }
    .rent-image {
        height: 300px;
        border-radius: 14px;
    }
    .rent-image-wrapper::before {
        top: 15px;
        border-radius: 14px;
    }
    .rent-badge {
        width: 88px;
        height: 88px;
        right: 6px;
        bottom: -4px;
        border-width: 4px;
    }
    .rent-badge strong {
        font-size: 0.85rem;
        color: #ffffff;
    }
    .rent-badge span {
        font-size: 0.45rem;
        color: #ffffff;
    }
    .rent-content h2 {
        font-size: 2rem;
    }
    .rent-intro {
        font-size: 0.98rem;
    }
    .rent-description {
        font-size: 0.88rem;
    }
    .rent-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rent-highlight {
        flex-direction: row;
        align-items: center;
        padding: 12px;
    }
    .rent-highlight .highlight-icon {
        flex-shrink: 0;
    }
    .rent-button {
        width: 100%;
        justify-content: center;
    }

    /* Rental */
    .rental-section {
        padding: 50px 0;
    }
    .rental-wrapper {
        padding: 20px 16px 0;
    }
    .rental-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 0 16px 0;
        margin-bottom: 28px;
    }
    .rental-title {
        font-size: 1.4rem;
    }
    .rental-subtitle {
        font-size: 0.7rem;
    }
    .rental-view-more {
        font-size: 0.8rem;
        padding: 8px 18px;
        align-self: flex-start;
    }
    .rental-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .rental-card-header {
        min-height: 82px;
        padding: 18px 16px 14px;
        gap: 12px;
    }
    .rental-card-number {
        font-size: 1.9rem;
        min-width: 42px;
    }
    .rental-card-header .card-title {
        font-size: 1rem;
    }
    .rental-card-body {
        padding: 16px 16px 18px;
    }
    .rental-card-body .card-description {
        font-size: 0.85rem;
    }
    .rental-features li {
        font-size: 0.8rem;
    }
    .rental-price {
        font-size: 1.1rem;
    }
    .rental-card-link {
        font-size: 0.75rem;
        padding: 8px 18px;
        justify-content: center;
        width: 100%;
    }
    .rental-card-badge {
        top: 12px;
        right: 12px;
        font-size: 0.5rem;
        padding: 3px 10px;
    }
    .rental-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .rental-price-wrapper {
        align-items: flex-start;
    }

    /* Contact */
    .center-container-contact {
        padding: 60px 0;
    }
    .contact-container {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 36px;
    }
        /* ===== CONTACT (continuación móvil) ===== */
    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 11px 14px;
    }

    .contact-form-wrapper h2 {
        font-size: 1.9rem;
    }

    .contact-intro {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }

    .contact-form {
        gap: 14px;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
        font-size: 0.85rem;
    }

    .contact-info-wrapper {
        flex-direction: column;
        gap: 18px;
    }

    .contact-info-card {
        flex: 1 1 auto;
        padding: 26px 22px;
        border-radius: 14px;
    }

    .contact-info-card h3 {
        font-size: 1.25rem;
    }

    .contact-address {
        font-size: 0.92rem;
        margin-bottom: 16px;
    }

    .contact-map-wrapper {
        min-height: 240px;
        border-radius: 14px;
    }

    .contact-map-wrapper iframe {
        min-height: 240px;
    }
}

/* =========================================================
   RESPONSIVE — MÓVIL PEQUEÑO (<= 480px)
   ========================================================= */
@media (max-width: 480px) {
    /* Parallax */
    .container-center-parallax {
        height: 55vh;
        min-height: 340px;
    }

    .parallax-content {
        padding: 20px 14px;
    }

    .parallax-content h1 {
        font-size: 1.7rem;
        letter-spacing: 0.04em;
    }

    .parallax-content p {
        font-size: 0.85rem;
    }

    /* Rent story */
    .rent-story,
    .center-container {
        padding: 40px 0;
    }

    .rent-story-container {
        width: calc(100% - 24px);
        gap: 30px;
    }

    .rent-image {
        height: 240px;
    }

    .rent-badge {
        width: 76px;
        height: 76px;
    }

    .rent-badge strong {
        font-size: 0.75rem;
    }

    .rent-badge span {
        font-size: 0.4rem;
    }

    .rent-content h2 {
        font-size: 1.65rem;
    }

    .rent-intro {
        font-size: 0.92rem;
    }

    .rent-description {
        font-size: 0.85rem;
        margin-bottom: 22px;
    }

    .rent-highlight {
        padding: 10px;
    }

    .rent-highlight strong {
        font-size: 0.78rem;
    }

    .rent-highlight span {
        font-size: 0.66rem;
    }

    /* Rental */
    .rental-section {
        padding: 40px 0;
    }

    .rental-wrapper {
        padding: 16px 12px 0;
    }

    .rental-title {
        font-size: 1.25rem;
    }

    .rental-grid {
        gap: 14px;
    }

    .rental-card {
        border-radius: 14px;
    }

    .rental-card-header {
        min-height: 76px;
        padding: 16px 14px 12px;
    }

    .rental-card-number {
        font-size: 1.6rem;
        min-width: 36px;
    }

    .rental-card-header .card-title {
        font-size: 0.92rem;
    }

    .rental-card-header .card-tag {
        font-size: 0.55rem;
    }

    .rental-card-body {
        padding: 14px 14px 16px;
    }

    .rental-card-body .card-description {
        font-size: 0.8rem;
    }

    .rental-features li {
        font-size: 0.76rem;
        gap: 8px;
    }

    .rental-price {
        font-size: 1rem;
    }

    .rental-price span {
        font-size: 0.62rem;
    }

    .rental-card-link {
        font-size: 0.72rem;
        padding: 8px 16px;
    }

    .rental-card-badge {
        font-size: 0.45rem;
        padding: 3px 8px;
    }

    /* Contact */
    .center-container-contact {
        padding: 45px 0;
    }

    .contact-container {
        width: calc(100% - 24px);
        gap: 28px;
    }

    .contact-form-wrapper h2 {
        font-size: 1.55rem;
    }

    .contact-label {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .contact-intro {
        font-size: 0.88rem;
    }

    .form-group label {
        font-size: 0.72rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.88rem;
        padding: 10px 12px;
    }

    .contact-submit {
        padding: 12px 20px;
        font-size: 0.82rem;
    }

    .contact-info-card {
        padding: 22px 18px;
    }

    .contact-info-card h3 {
        font-size: 1.1rem;
    }

    .contact-address {
        font-size: 0.86rem;
    }

    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        min-height: 200px;
    }
}