/**
 * assets/css/contact.css — /contact/ only.
 * Design: mrgentleman.gr css/contact.css (how-it-works list, notes, form box), adapted to this
 * site's tokens. "Get in Touch" panel is new (number shown once). Shared look from base.css.
 */

.section-intro { max-width: 820px; margin: 0 auto; }
h2.title-spaced { margin-bottom: 2rem; }

/* ── How to book ── */
.contact-split { grid-template-columns: 0.9fr 1.1fr; }
.contact-split--flip { grid-template-columns: 1.1fr 0.9fr; }
.contact-split .img-frame { max-width: 460px; }
.booking-steps { list-style: none; margin: 2rem 0 2.2rem; padding: 0; display: grid; gap: 1.3rem; }
.booking-step { display: flex; gap: 1.2rem; align-items: flex-start; }
.booking-step__nr {
    flex-shrink: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold-light); border-radius: 50%; color: var(--gold-light);
    font-family: var(--font-serif); font-size: 1.15rem; font-style: normal; line-height: 1;
    font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;   /* round 44: no low old-style figures → centred */
    padding-bottom: 1px; box-shadow: 0 0 12px rgba(201,168,76,0.25);
}
.booking-step__title { margin: 0.1rem 0 0.15rem; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.3rem; color: var(--gold-light); }
.booking-step__text { margin: 0; }

/* ── Good to Know: 4 cards ── */
.contact-notes { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }   /* desktop: 4 in a row */
.contact-note { padding: 2.4rem 1.9rem 2.2rem; }
.contact-note__icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
    border: 1px solid rgba(201,168,76,0.35); border-radius: 2px; background: rgba(201,168,76,0.05); color: var(--gold-light);
}
.contact-note__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-note__title { margin: 0 0 0.5rem; font-style: normal; line-height: 1.5; font-family: var(--font-sans); font-weight: 400; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }
.contact-note__text { margin: 0; }

/* ── Get in Touch panel ── */
.touch-panel {
    position: relative; padding: 2.6rem 2.6rem 2.2rem; margin-top: 0.5rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(74,158,224,0.12), transparent 72%), rgba(30,38,54,0.98);
    border: 1px solid var(--gold-light);
    box-shadow: 0 0 16px rgba(201,168,76,0.28), 0 0 6px rgba(74,158,224,0.15), inset 0 1px 0 rgba(201,168,76,0.12);
    text-align: center;
}
.touch-panel::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(201,168,76,0.12); pointer-events: none; }
.touch-panel__label { display: block; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dim); }
.touch-panel__number {
    display: inline-block; margin: 0.5rem 0 1.4rem; font-family: var(--font-sans); font-weight: 300;
    font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1;      /* round 55: normal, even digits */
    font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: 0.06em; color: var(--text); text-decoration: none;
    transition: color var(--transition);
}
.touch-panel__number:hover { color: #f6e3ae; }
/* Get in Touch layout: heading top-left, panel + photo below with their tops in line */
.touch-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 5rem; align-items: start;
    grid-template-areas: "head ." "main img";
}
.touch-head { grid-area: head; }
.touch-main { grid-area: main; }
.touch-img  { grid-area: img; justify-self: center; max-width: 440px; margin-top: 0.5rem; }  /* = panel margin-top */
.touch-ornament { display: none; }
.touch-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
button.touch-btn { cursor: pointer; font: inherit; font-family: var(--font-serif); font-size: 1.05rem; }
.touch-btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0.9rem 0.5rem 0.8rem;
    border: 1px solid rgba(201,168,76,0.55); background: rgba(20,26,38,0.9); color: var(--gold-light); text-decoration: none;
    font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: 0.03em;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.touch-btn svg, .touch-row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.touch-btn:hover { transform: translateY(-3px); border-color: #f3dc9a; color: #f6e3ae; box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 0 18px rgba(201,168,76,0.35); }
.touch-panel__divider { height: 1px; border: 0; margin: 2rem 0 1rem; background: linear-gradient(to right, transparent, rgba(201,168,76,0.4), transparent); }
.touch-rows { list-style: none; margin: 0; padding: 0; text-align: left; }
.touch-row {
    display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 0.4rem; text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.1); color: var(--gold-light); transition: color var(--transition), padding var(--transition);
}
.touch-rows li:last-child .touch-row { border-bottom: 0; }
.touch-row__label { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dim); min-width: 92px; }
.touch-row__value { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--text); overflow-wrap: anywhere; transition: color var(--transition); }
.touch-row:hover { padding-left: 0.8rem; }
.touch-row:hover .touch-row__value { color: #f6e3ae; }
.touch-note { margin: 2.4rem 0 0; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--gold-light); }
.touch-note--soft { margin-top: 0.6rem; font-size: 1.08rem; color: var(--text-muted); }

/* ── Form box ── */
.form-box {
    position: relative; max-width: 860px; margin: 3.2rem auto 0; padding: 3.2rem 3.2rem 2.8rem;
    background: rgba(30,38,54,0.98); border: 1px solid rgba(201,168,76,0.5);
    box-shadow: 0 0 14px rgba(201,168,76,0.18), inset 0 1px 0 rgba(201,168,76,0.1);
}
.form-box::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(201,168,76,0.1); pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.4rem; }
.form-field label { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dim); }
.form-field .req { color: var(--gold-light); }
.form-field .opt { text-transform: none; letter-spacing: 0.04em; font-family: var(--font-serif); font-style: italic; font-size: 0.9rem; color: var(--text-faint); margin-left: 0.3rem; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 0.8rem 0.95rem; border-radius: 2px;
    background: rgba(15,20,30,0.85); border: 1px solid rgba(201,168,76,0.25); color: var(--text);
    font-family: var(--font-serif); font-size: 1.1rem; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.form-field select option { background: #1A202C; color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #d98a7a; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 0.4rem 0 0; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; }
.form-status.is-ok { color: var(--gold-light); }
.form-status.is-error { color: #e6a596; }
.form-buttons { margin-top: 0.4rem; }
.form-buttons .btn { margin-top: 1rem; }
.contact-form button[type="submit"][disabled] { opacity: 0.6; cursor: wait; }

/* ── Responsive ── */
@media (max-width: 968px) {
    .contact-split, .contact-split--flip { grid-template-columns: 1fr; }
    .contact-split--flip > .img-frame { order: -1; }
    .contact-notes { grid-template-columns: 1fr; }
    .touch-grid { grid-template-columns: 1fr; grid-template-areas: "img" "orn" "head" "main"; }
    .touch-img { margin: 14px auto 0; width: 100%; }
    .touch-ornament { display: block; grid-area: orn; margin: var(--ornament-space) 0; }   /* phones: stars between photo and heading */
}
@media (max-width: 1200px) and (min-width: 969px) {
    .contact-notes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .contact-note { padding: 2.1rem 1.7rem 1.9rem; }
    .contact-notes { gap: 30px; }
    .touch-panel { padding: 2.2rem 1.3rem 1.6rem; }
    .touch-buttons { grid-template-columns: repeat(2, 1fr); }
    .touch-row__label { min-width: 74px; letter-spacing: 0.18em; }
    .touch-row { gap: 0.7rem; }
    .touch-row__value { font-size: 1rem; }
    .form-box { padding: 2.4rem 1.3rem 2rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* round 55: contact photos in tall portrait shapes, close to the height of the text next to them (cropped from the centre) */
.img-frame img.contact-photo { width: 100%; height: auto; object-fit: cover; object-position: 50% 50%; }
.contact-photo--book  { aspect-ratio: 3 / 5; }
.contact-photo--touch { aspect-ratio: 2 / 3; }
@media (max-width: 968px) { .contact-photo--book, .contact-photo--touch { aspect-ratio: 4 / 5; } }
