/* Photoscotland Contact Engine */
.ps-contact-root { --ps-contact-orange: #fb8401; --ps-contact-text: #262626; --ps-contact-muted: #777; }
.ps-contact-toggle {
    position: fixed; z-index: 99980; left: 22px; top: 13%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
    padding: 0; background: var(--ps-contact-orange); color: #fff; cursor: pointer;
    box-shadow: 0 3px 14px rgba(0,0,0,.22); transition: transform .18s ease, box-shadow .18s ease;
}
.ps-contact-toggle:hover, .ps-contact-toggle:focus-visible { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(0,0,0,.28); }
.ps-contact-toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps-contact-overlay {
    position: fixed; z-index: 99981; inset: 0; background: rgba(0,0,0,.48);
    opacity: 0; transition: opacity .22s ease;
}
.ps-contact-overlay[hidden] { display: none; }
.ps-contact-overlay.is-visible { opacity: 1; }
.ps-contact-panel {
    position: fixed; z-index: 99982; top: 0; bottom: 0; left: 0; width: min(500px, 92vw);
    background: #fff; color: var(--ps-contact-text); box-shadow: 5px 0 28px rgba(0,0,0,.18);
    transform: translateX(-105%); visibility: hidden; transition: transform .28s ease, visibility .28s;
    overflow-y: auto; overscroll-behavior: contain;
}
.ps-contact-panel.is-open { transform: translateX(0); visibility: visible; }
.ps-contact-panel-inner { position: relative; box-sizing: border-box; min-height: 100%; padding: 48px 38px 30px; }
.ps-contact-close {
    position: absolute; top: 12px; right: 18px; border: 0; background: transparent; color: #777;
    font-size: 34px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.ps-contact-heading { margin: 0 0 28px; padding-right: 28px; }
.ps-contact-heading h2 { margin: 0 0 8px; color: #222; font-size: 27px; line-height: 1.25; font-weight: 600; }
.ps-contact-heading p { margin: 0; color: var(--ps-contact-muted); font-size: 14px; line-height: 1.6; }
.ps-contact-field { margin: 0 0 19px; }
.ps-contact-field label, .ps-contact-challenge label {
    display: block; margin: 0 0 7px; color: #333; font-size: 13px; font-weight: 600;
}
.ps-contact-field label span { color: var(--ps-contact-orange); }
.ps-contact-field input, .ps-contact-field textarea, .ps-contact-challenge input {
    display: block; box-sizing: border-box; width: 100%; border: 1px solid #d8d8d8; border-radius: 3px;
    background: #fff; color: #222; font: inherit; font-size: 15px; padding: 12px 13px;
    box-shadow: none; outline: none; transition: border-color .16s ease, box-shadow .16s ease;
}
.ps-contact-field input { min-height: 45px; }
.ps-contact-field textarea { min-height: 132px; resize: vertical; }
.ps-contact-field input:focus, .ps-contact-field textarea:focus, .ps-contact-challenge input:focus {
    border-color: var(--ps-contact-orange); box-shadow: 0 0 0 2px rgba(251,132,1,.12);
}
.ps-contact-challenge { display: grid; grid-template-columns: 1fr 92px; align-items: end; gap: 12px; margin: 2px 0 20px; }
.ps-contact-challenge label { align-self: center; margin: 0; }
.ps-contact-challenge input { min-height: 42px; text-align: center; }
.ps-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ps-contact-submit {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; width: 100%;
    border: 0; border-radius: 3px; padding: 12px 20px; background: var(--ps-contact-orange);
    color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .16s ease, opacity .16s ease;
}
.ps-contact-submit:hover { background: #e87500; }
.ps-contact-submit:disabled { cursor: wait; opacity: .65; }
.ps-contact-status { min-height: 22px; margin: 13px 0 0; font-size: 13px; line-height: 1.5; }
.ps-contact-status.is-error { color: #b42318; }
.ps-contact-status.is-success { color: #18794e; }
.ps-contact-privacy { margin: 16px 0 0; color: #777; font-size: 11px; line-height: 1.55; }
.ps-contact-privacy a { color: #555; text-decoration: underline; }
body.ps-contact-open { overflow: hidden; }
@media (max-width: 600px) {
    .ps-contact-toggle { left: 14px; width: 40px; height: 40px; 
    top: 250px;}
    .ps-contact-panel-inner { padding: 46px 23px 24px; }
    .ps-contact-heading h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .ps-contact-toggle, .ps-contact-submit { transition: none; }
}

/* Keep the contact panel invisible until explicitly opened. */
.ps-contact-panel[hidden] { display: none !important; }


/* ========================================================= PHOTOSCOTLAND CONTACT PANEL - LOCH ARD DESIGN Visual enhancements only. Preserve existing slide motion. ========================================================= */ .ps-contact-root { 
    --ps-contact-orange: #fb8401; --ps-contact-text: #f4f3f0; --ps-contact-muted: #b7bec4;
}
/* Dark photographic panel */ .ps-contact-panel { background: #101820; color: #f4f3f0; box-shadow: 5px 0 32px rgba(0, 0, 0, .35);
}
/* Panel content and photographic lower section */ .ps-contact-panel-inner { position: relative; isolation: isolate; box-sizing: border-box; min-height: 100%; padding-bottom: 290px; background: #101820; color: #f4f3f0;
}
.ps-contact-panel-inner::before { content: ""; position: absolute; z-index: 0; pointer-events: none; left: 0; right: 0; bottom: 0; height: 285px; background-image: linear-gradient( to bottom,
            #101820 0%,
            rgba(16, 24, 32, .82) 25%, rgba(16, 24, 32, .18) 100% ), url('../assets/contact-panel/loch-ard-contact.webp'); background-size: cover; background-position: center 58%; background-repeat: no-repeat; opacity: .9;
}
/* Keep the actual form above the photograph */ .ps-contact-panel-inner > :not(.ps-contact-close) { position: relative; z-index: 1;
}
.ps-contact-close { z-index: 2; color: #e6e6e6; transition: color .18s ease, transform .18s ease;
}
.ps-contact-close:hover { color: var(--ps-contact-orange); transform: rotate(90deg);
}
/* Heading */ .ps-contact-heading h2 { color: #fff; font-size: 28px; letter-spacing: .2px;
}
.ps-contact-heading p { color: #c1c8ce; font-size: 13px;
}
/* Field labels */ .ps-contact-field label, .ps-contact-challenge label { color: #e6e8e9; font-size: 12px; letter-spacing: .2px;
}
.ps-contact-field label span { color: var(--ps-contact-orange);
}
/* Dark translucent input fields */ .ps-contact-field input, .ps-contact-field textarea, .ps-contact-challenge input { background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; color: #fff; box-shadow: none;
}
.ps-contact-field input::placeholder, .ps-contact-field textarea::placeholder { color: rgba(255, 255, 255, .48);
}
.ps-contact-field input:focus, .ps-contact-field textarea:focus, .ps-contact-challenge input:focus { background: rgba(255, 255, 255, .11); border-color: var(--ps-contact-orange); box-shadow: 0 0 0 3px rgba(251, 132, 1, .15);
}
/* Send button */ .ps-contact-submit { border-radius: 4px; background: var(--ps-contact-orange); color: #fff; letter-spacing: .4px; box-shadow: 0 4px 14px rgba(251, 132, 1, .2);
}
.ps-contact-submit:hover { background: #ff9828; box-shadow: 0 5px 18px rgba(251, 132, 1, .3);
}
/* Status and privacy text */ .ps-contact-status { color: #e6e8e9;
}
.ps-contact-status.is-error { color: #ffaaa3;
}
.ps-contact-status.is-success { color: #8ee0b3;
}
.ps-contact-privacy { color: #c1c8ce;
}
.ps-contact-privacy a { color: #ffad55;
}
.ps-contact-privacy a:hover { color: #fff;
}
/* Small-screen spacing */ @media (max-width: 600px) { .ps-contact-panel-inner { padding-bottom: 250px;
    }
    .ps-contact-panel-inner::before { height: 245px;
    }
}

/* ========================================================= LOCH ARD DESIGN - SIMPLIFIED ========================================================= */ .ps-contact-panel { background: #050505 !important; color: #f4f4f4;
}
.ps-contact-panel-inner { background: #050505 !important; color: #f4f4f4; padding-bottom: 450px !important;
}
.ps-contact-panel-inner::before { height: 800px !important; background-color: #050505; background-image: linear-gradient( to bottom,
            #050505 0%,
            rgba(5, 5, 5, .25) 5%, rgba(5, 5, 5, 0) 12% ), url('../assets/contact-panel/loch-ard-contact.webp'); background-size: cover; background-position: center bottom; background-repeat: no-repeat; opacity: 1;
}
.ps-contact-heading h2 { color: #fff;
}
.ps-contact-heading p { color: #c5c5c5;
}
/* Mobile: hide the photographic section in portrait and landscape */
@media (max-width: 600px) {
    .ps-contact-panel-inner {
        padding-bottom: 30px !important;
    }

    .ps-contact-panel-inner::before {
        display: none !important;
    }
}


/* Mobile landscape: hide the photograph on phones with a wider landscape viewport */
@media (orientation: landscape) and (max-width: 900px) and (max-height: 600px) {
    .ps-contact-panel-inner {
        padding-bottom: 30px !important;
    }

    .ps-contact-panel-inner::before {
        display: none !important;
    }
}
