/* ============================================================
   CONTACT PAGE — BENTO GRID LAYOUT (v4)
   css/contact.css
============================================================ */

/* ── PAGE WRAPPER ────────────────────────────────────────── */
.ct-page {
    padding-top: 80px;
    /* navbar */
    background: #edf6f1;
    min-height: 100vh;
}

/* ── TOP HEADING BAR ─────────────────────────────────────── */
.ct-topbar {
    padding: 52px 5% 36px;
}

.ct-topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.ct-top-tag {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #147252;
    font-weight: 700;
    margin-bottom: 12px;
}

.ct-topbar-left h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: #062D1F;
    line-height: 1;
    letter-spacing: -2px;
}

.ct-topbar-left h1 em {
    font-style: normal;
    color: #147252;
}

.ct-top-desc {
    max-width: 360px;
    font-size: 0.95rem;
    color: #5a7a68;
    line-height: 1.8;
    text-align: right;
    padding-bottom: 6px;
}

/* ── BENTO GRID ──────────────────────────────────────────── */
.ct-bento {
    display: grid;
    grid-template-columns: 320px 1fr 240px;
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 0 5% 70px;
    max-width: 1240px;
    margin: 0 auto;

    /* Named areas:
       A = photo+info (left, spans 2 rows)
       B = form (center+right top)
       C = book (right top)
       D = map (bottom left+center)
       E = call (bottom right)
    */
    grid-template-areas:
        "A B C"
        "A B C"
        "D D E";
}

/* ── SHARED CELL STYLES ──────────────────────────────────── */
.ct-cell {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

/* ── CELL A: Forest photo + contact info ─────────────────── */
.ct-cell--a {
    grid-area: A;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ct-cell-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.ct-cell--a:hover .ct-cell-img {
    transform: scale(1.04);
}

.ct-cell-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(4, 22, 13, 0.94) 0%,
            rgba(4, 22, 13, 0.50) 50%,
            rgba(4, 22, 13, 0.10) 100%);
}

.ct-cell-a-body {
    position: relative;
    z-index: 2;
    padding: 28px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ct-info-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
}

.ct-info-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
}

.ct-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(168, 216, 176, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8d8b0;
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-info-lbl {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a8d8b0;
    font-weight: 700;
    margin-bottom: 4px;
}

.ct-info-val {
    display: block;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.ct-info-link {
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.ct-info-link:hover {
    color: #a8d8b0;
}

.ct-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: background 0.25s;
    width: fit-content;
}

.ct-directions-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ── CELL B: Enquiry Form ────────────────────────────────── */
.ct-cell--b {
    grid-area: B;
    background: #fff;
    padding: 36px 36px 0;
    display: flex;
    flex-direction: column;
}

.ct-form-head {
    margin-bottom: 26px;
}

.ct-form-eyebrow {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #147252;
    font-weight: 700;
    margin-bottom: 6px;
}

.ct-form-head h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.65rem;
    color: #062D1F;
    line-height: 1.15;
}

.ct-form {
    flex: 1;
}

.ct-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.ct-f {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-f--full {
    grid-column: 1 / -1;
}

.ct-f label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #2a4636;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ct-f label span {
    color: #e05454;
}

.ct-f input,
.ct-f select,
.ct-f textarea {
    padding: 11px 13px;
    border: 1.5px solid #d0e8d8;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 0.87rem;
    color: #062D1F;
    background: #fafdfa;
    transition: border-color 0.22s, box-shadow 0.22s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ct-f select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%230B4A34' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: #fafdfa;
    padding-right: 34px;
}

.ct-f input:focus,
.ct-f select:focus,
.ct-f textarea:focus {
    border-color: #0B4A34;
    box-shadow: 0 0 0 3px rgba(11, 74, 52, 0.07);
    background: #fff;
}

.ct-f input::placeholder,
.ct-f textarea::placeholder {
    color: #aabfb2;
}

.ct-f textarea {
    resize: vertical;
    min-height: 82px;
    line-height: 1.6;
}

.ct-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 36px 28px;
    flex-wrap: wrap;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #0B4A34;
    color: #fff;
    padding: 13px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(11, 74, 52, 0.22);
}

.ct-submit:hover {
    background: #147252;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 74, 52, 0.26);
}

.ct-submit:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.ct-secure {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #8aa89a;
}

/* Success */
.ct-success {
    display: none;
    align-items: center;
    gap: 18px;
    padding: 36px;
    animation: ctFadeUp 0.5s ease;
}

.ct-success.show {
    display: flex;
}

@keyframes ctFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ct-success-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8f5ee;
    border: 2px solid #b2dfc0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B4A34;
    flex-shrink: 0;
}

.ct-success strong {
    display: block;
    font-size: 1.05rem;
    color: #062D1F;
    margin-bottom: 5px;
}

.ct-success p {
    font-size: 0.87rem;
    color: #5a7a68;
    line-height: 1.6;
    margin: 0 0 12px;
}

.ct-success-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0B4A34;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(11, 74, 52, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.ct-success-cta:hover {
    border-color: #0B4A34;
}

/* ── CELL C: Book Now ────────────────────────────────────── */
.ct-cell--c {
    grid-area: C;
    background: #0B4A34;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.ct-cell--c::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(168, 216, 176, 0.07);
    pointer-events: none;
}

.ct-cell--c::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(168, 216, 176, 0.05);
    pointer-events: none;
}

.ct-book-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: #a8d8b0;
    font-weight: 700;
}

.ct-book-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8d8b0;
}

.ct-cell--c h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.7rem;
    color: #fff;
    line-height: 1.1;
    flex: 1;
}

.ct-cell--c p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.7;
}

.ct-book-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0B4A34;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.3s;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    width: fit-content;
}

.ct-book-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* ── CELL D: Map ─────────────────────────────────────────── */
.ct-cell--d {
    grid-area: D;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ct-map-bar {
    background: #062D1F;
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.78rem;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ct-map-bar svg {
    color: #a8d8b0;
    flex-shrink: 0;
}

.ct-map-bar span {
    flex: 1;
}

.ct-map-bar a {
    color: #a8d8b0;
    font-weight: 600;
    font-size: 0.72rem;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid rgba(168, 216, 176, 0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.ct-map-bar a:hover {
    border-color: #a8d8b0;
}

.ct-map-embed {
    flex: 1;
    min-height: 260px;
}

.ct-map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ── CELL E: Call card ───────────────────────────────────── */
.ct-cell--e {
    grid-area: E;
    background: #fff;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ct-call-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #e8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B4A34;
    transition: background 0.3s;
}

.ct-cell--e:hover .ct-call-icon {
    background: #0B4A34;
    color: #fff;
}

.ct-call-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #147252;
    font-weight: 700;
}

.ct-call-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: #062D1F;
    text-decoration: none;
    line-height: 1.2;
    flex: 1;
    display: block;
}

.ct-call-num:hover {
    color: #147252;
}

.ct-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0B4A34;
    color: #fff;
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(11, 74, 52, 0.18);
}

.ct-call-btn:hover {
    background: #147252;
    transform: translateY(-2px);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ct-bento {
        grid-template-columns: 280px 1fr 210px;
    }
}

@media (max-width: 900px) {
    .ct-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "A A"
            "B B"
            "C E"
            "D D";
    }

    .ct-cell--a {
        min-height: 380px;
    }

    .ct-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ct-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-top-desc {
        text-align: left;
    }

    .ct-bento {
        grid-template-columns: 1fr;
        grid-template-areas:
            "A"
            "B"
            "C"
            "D"
            "E";
        padding: 0 4% 50px;
    }

    .ct-form-grid {
        grid-template-columns: 1fr;
    }

    .ct-cell--b {
        padding: 26px 22px 0;
    }

    .ct-form-actions {
        padding: 18px 22px 24px;
    }
}