/* =========================================================
   KONTAK DESA KANDANG
========================================================= */

/* =========================================================
   REVEAL
========================================================= */

.contact-reveal {
    opacity: 0;

    transform: translateY(35px);

    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.contact-reveal.contact-visible {
    opacity: 1;

    transform: translateY(0);
}

/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #022c22;
}

.contact-hero-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.11;

    background-image: linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.13) 25%,
            transparent 25%
        ),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.07) 25%, transparent 25%);

    background-size: 65px 65px;
}

.contact-glow {
    position: absolute;

    width: 470px;
    height: 470px;

    border-radius: 50%;

    opacity: 0.12;

    filter: blur(8px);

    animation: contactFloat 8s ease-in-out infinite;
}

.contact-glow-one {
    top: -260px;
    right: -130px;

    background: #34d399;
}

.contact-glow-two {
    bottom: -270px;
    left: -170px;

    background: #22c55e;

    animation-delay: -3s;
}

@keyframes contactFloat {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

.contact-hero .container {
    position: relative;

    z-index: 2;
}

.contact-hero-content {
    max-width: 760px;

    padding: 80px 0;
}

.contact-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 14px;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.05);

    color: #a7f3d0;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.contact-hero h1 {
    margin: 0 0 18px;

    color: white;

    font-size: clamp(48px, 7vw, 75px);

    line-height: 1;

    letter-spacing: -3px;
}

.contact-hero h1 span {
    color: #6ee7b7;
}

.contact-hero p {
    max-width: 600px;

    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;

    line-height: 1.8;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 27px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}

.contact-breadcrumb a {
    color: #86efac;

    text-decoration: none;
}

.contact-breadcrumb strong {
    color: white;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 100px 0;

    background: #f8fafc;
}

/* =========================================================
   HEADING
========================================================= */

.contact-heading {
    max-width: 680px;

    margin-bottom: 50px;
}

.contact-heading > span {
    color: #16a34a;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.contact-heading h2 {
    margin: 10px 0;

    color: #0f172a;

    font-size: clamp(35px, 5vw, 50px);

    line-height: 1.1;

    letter-spacing: -1.8px;
}

.contact-heading h2 strong {
    color: #16a34a;
}

.contact-heading p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.8;
}

/* =========================================================
   LAYOUT
========================================================= */

.contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 70px;

    align-items: start;
}

/* =========================================================
   INFORMATION
========================================================= */

.contact-information {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

/* =========================================================
   INFO CARD
========================================================= */

.contact-info-card {
    display: flex;

    gap: 18px;

    padding: 21px;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    background: white;

    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.035);

    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);

    border-color: #bbf7d0;

    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-icon {
    flex-shrink: 0;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #ecfdf5;

    color: #15803d;

    font-size: 22px;
}

.contact-info-label {
    display: block;

    margin-bottom: 4px;

    color: #16a34a;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1.1px;
}

.contact-info-card h3 {
    margin: 0 0 5px;

    color: #0f172a;

    font-size: 15px;
}

.contact-info-card p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.65;
}

/* =========================================================
   SERVICE HOURS
========================================================= */

.service-hours {
    margin-top: 5px;

    padding: 23px;

    border-radius: 18px;

    background: #022c22;

    overflow: hidden;

    position: relative;
}

.service-hours::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -70px;
    top: -90px;

    border-radius: 50%;

    background: rgba(52, 211, 153, 0.12);
}

.service-hours-heading {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}

.service-clock {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.08);

    color: #6ee7b7;

    font-size: 22px;
}

.service-hours-heading span {
    display: block;

    color: #6ee7b7;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.service-hours-heading h3 {
    margin: 4px 0 0;

    color: white;

    font-size: 15px;
}

.service-hours-list {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;
}

.service-hours-list > div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 11px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-hours-list span {
    color: rgba(255, 255, 255, 0.58);

    font-size: 11px;
}

.service-hours-list strong {
    color: white;

    font-size: 11px;
}

.service-hours-list strong.closed {
    color: #fca5a5;
}

/* =========================================================
   FORM
========================================================= */

.contact-form-wrapper {
    padding: 38px;

    border: 1px solid #e5e7eb;

    border-radius: 24px;

    background: white;

    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.055);
}

.contact-form-header > span {
    color: #16a34a;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1.4px;
}

.contact-form-header h2 {
    margin: 7px 0;

    color: #0f172a;

    font-size: 27px;

    letter-spacing: -0.7px;
}

.contact-form-header p {
    max-width: 560px;

    margin: 0 0 28px;

    color: #64748b;

    font-size: 11px;

    line-height: 1.7;
}

/* =========================================================
   FORM GROUP
========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.form-group label {
    color: #334155;

    font-size: 10px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    outline: none;

    background: #f8fafc;

    color: #0f172a;

    font-family: inherit;

    font-size: 11px;

    transition: border-color 0.25s ease, background 0.25s ease,
        box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #86efac;

    background: white;

    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08);
}

.form-group textarea {
    min-height: 135px;

    resize: vertical;

    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
}

/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: 5px;

    padding: 14px 17px;

    border: 0;

    border-radius: 11px;

    background: #15803d;

    color: white;

    font-family: inherit;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition: transform 0.25s ease, background 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);

    background: #166534;

    box-shadow: 0 12px 25px rgba(21, 128, 61, 0.2);
}

.contact-submit b {
    font-size: 19px;
    font-weight: 400;

    transition: transform 0.25s ease;
}

.contact-submit:hover b {
    transform: translateX(4px);
}

/* =========================================================
   FORM MESSAGE
========================================================= */

.contact-form-message {
    display: none;

    padding: 12px 14px;

    border: 1px solid #bbf7d0;

    border-radius: 9px;

    background: #f0fdf4;

    color: #15803d;

    font-size: 10px;

    line-height: 1.6;
}

.contact-form-message.show {
    display: block;

    animation: messageIn 0.4s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MAP SECTION
========================================================= */

.contact-map-section {
    padding: 100px 0;

    background: white;
}

.contact-map-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 30px;
}

.contact-map-heading > div > span {
    color: #16a34a;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1.3px;
}

.contact-map-heading h2 {
    margin: 8px 0 0;

    color: #0f172a;

    font-size: clamp(32px, 5vw, 46px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.contact-map-heading h2 strong {
    color: #16a34a;
}

.contact-map-heading p {
    max-width: 350px;

    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.7;
}

/* =========================================================
   MAP
========================================================= */

.contact-map {
    position: relative;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.contact-map iframe {
    display: block;

    filter: grayscale(0.15) saturate(0.85);
}

.map-location-card {
    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 17px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.map-location-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #ecfdf5;

    color: #15803d;

    font-size: 19px;
}

.map-location-card span,
.map-location-card strong,
.map-location-card small {
    display: block;
}

.map-location-card span {
    color: #16a34a;

    font-size: 8px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.map-location-card strong {
    margin-top: 2px;

    color: #0f172a;

    font-size: 12px;
}

.map-location-card small {
    margin-top: 2px;

    color: #64748b;

    font-size: 9px;
}

/* =========================================================
   CTA
========================================================= */

.contact-cta {
    position: relative;

    overflow: hidden;

    padding: 95px 0;

    background: #022c22;
}

.contact-cta-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.08;

    background-image: radial-gradient(circle, white 1px, transparent 1px);

    background-size: 30px 30px;
}

.contact-cta .container {
    position: relative;

    z-index: 2;
}

.contact-cta-content {
    max-width: 700px;

    margin: auto;

    text-align: center;
}

.contact-cta-content > span {
    color: #6ee7b7;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.contact-cta-content h2 {
    margin: 10px 0;

    color: white;

    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.contact-cta-content p {
    max-width: 550px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;

    line-height: 1.8;
}

.contact-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 12px 18px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);

    color: white;

    text-decoration: none;

    font-size: 10px;
    font-weight: 800;

    transition: transform 0.25s ease, background 0.25s ease;
}

.contact-cta-button:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.14);
}

.contact-cta-button span {
    font-size: 17px;

    transition: transform 0.25s ease;
}

.contact-cta-button:hover span {
    transform: translateX(4px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {
    .contact-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .contact-information {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

    .service-hours {
        grid-column: span 2;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
    .contact-section,
    .contact-map-section {
        padding: 75px 0;
    }

    .contact-hero {
        min-height: 470px;
    }

    .contact-hero-content {
        padding: 70px 0;
    }

    .contact-hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .contact-information {
        display: flex;

        flex-direction: column;
    }

    .service-hours {
        grid-column: auto;
    }

    .contact-form-wrapper {
        padding: 25px;

        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-map-heading {
        display: block;
    }

    .contact-map-heading p {
        margin-top: 15px;
    }

    .contact-map iframe {
        height: 380px;
    }

    .map-location-card {
        left: 15px;
        bottom: 15px;

        right: 15px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {
    .contact-hero h1 {
        font-size: 44px;
    }

    .contact-heading h2 {
        font-size: 35px;
    }

    .contact-info-card {
        padding: 17px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .service-hours {
        padding: 19px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-map iframe {
        height: 320px;
    }
}
