/* =============================================================
 The FloorHaus™. Contact page (Downloads/handoff 20, "Contact Original v2", 2026-10-27)

 Original colours. Loaded after styles.css, home.css and enquiry.css: the
 header, Our Products dropdown, menu, footer and 90% zoom are the home
 page's (js/home.js). This file is the banner and the page's own
 sections, `ct-*`; behaviour is js/contact.js. Reveals (.is-seen on each
 [data-ct-seen]) only hide anything under .hp-js.
 ============================================================= */

body.ct .hp-hdr { position: sticky; }
.hp-nav__link[aria-current="page"] { display: inline-flex; align-items: center; gap: 7px; }
.hp-nav__link[aria-current="page"]::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6B5B3E; }

/* ----- Banner: three messages, 5s each, cross-fade; arrows step ----- */
.ct-banner {
 background: #1A1A1A; color: #FFFFFF; height: 40px; display: flex; align-items: center; justify-content: center; gap: clamp(16px,6vw,120px);
 font-size: 13px; font-weight: 500; letter-spacing: .02em; padding: 0 8px;
}
.ct-banner button { width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center; color: #FFFFFF; opacity: .7; cursor: pointer; }
.ct-banner button:hover { opacity: 1; }
/* The message sits in a fixed-width slot, so the arrows stay put as the messages change
   (Stephen, 2026-10-28: centred on the text, they jumped sideways every 5s). */
.ct-banner__msg { flex: 0 1 520px; min-width: 0; text-align: center; transition: opacity .35s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-banner__msg.is-out { opacity: 0; }

/* ----- Shared ----- */
.ct-main { --ct-ease: cubic-bezier(.22,.61,.36,1); --ct-wipe: cubic-bezier(.65,0,.35,1); display: block; }
.ct-main h1, .ct-main h2 { font-family: var(--hp-display); margin: 0; }
.ct-wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px,4vw,56px); }
.ct-sec { padding: clamp(72px,8vw,112px) 0; }
.ct-rule { height: 1px; background: #B8B3A6; }
.ct-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.ct-head p { margin: 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.65; color: #666; text-wrap: pretty; }
.ct-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #666; }
.ct-eyebrow > span { display: block; width: 32px; height: 2px; border-radius: 2px; background: #6B5B3E; }
.ct-eyebrow--light { color: #B8B3A6; }
.ct-eyebrow--light > span { background: #B8B3A6; }
.ct-eyebrow--walnut { color: #6B5B3E; }
.ct-h2 { font-weight: 700; font-size: clamp(36px,4.2vw,64px); line-height: .96; letter-spacing: -.03em; text-transform: uppercase; }
.ct-btn {
 height: 48px; padding: 0 22px; box-sizing: border-box; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
 font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .3s ease, color .3s ease, transform .3s var(--ct-ease);
}
.ct-btn--dark { background: #1A1A1A; color: #FFFFFF; }
.ct-btn--dark:hover { background: #6B5B3E; color: #FFFFFF; }
.ct-btn--line { border: 1.5px solid #1A1A1A; color: #1A1A1A; }
.ct-btn--line:hover { background: #1A1A1A; color: #FFFFFF; }
.ct-btn--lg { height: 54px; padding: 0 30px; gap: 12px; letter-spacing: .14em; margin-top: 8px; }
.ct-btn--lg:hover { transform: translateY(-2px); }

/* Reveals */
.ct-fade { transition: opacity .8s ease var(--d, 0s); }
.ct-rise { transition: opacity 1s ease var(--d, 0s), transform 1s var(--ct-ease) var(--d, 0s); }
.hp-js [data-ct-seen]:not(.is-seen) .ct-fade { opacity: 0; }
.hp-js [data-ct-seen]:not(.is-seen) .ct-rise { opacity: 0; transform: translateY(24px); }

/* ----- 1. Contact band ----- */
.ct-band { background: #1A1A1A; color: #F5F2EB; padding: clamp(48px,6vw,88px) 0; overflow: clip; }
.ct-band__grid { padding: 0 clamp(20px,3vw,48px); display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(36px,5vw,88px); align-items: center; }
@media (min-width: 1000px) { .ct-band__grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); } }
.ct-intro { display: flex; flex-direction: column; gap: clamp(20px,2.2vw,28px); }
.ct-crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #B8B3A6; }
.ct-crumbs a { color: #B8B3A6; transition: color .3s ease; }
.ct-crumbs a:hover { color: #FFFFFF; }
.ct-crumbs [aria-current] { color: #F5F2EB; font-weight: 600; }
.ct-h1 { font-weight: 700; font-size: clamp(52px,6.4vw,104px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; color: #FFFFFF; }
.ct-mask { display: block; overflow: hidden; padding-bottom: .04em; }
.ct-mask > span { display: block; transition: transform 1.2s var(--ct-ease) .15s; }
.hp-js .ct-band:not(.is-seen) .ct-mask > span { transform: translateY(110%); }
.ct-intro__copy { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.ct-intro__copy p { margin: 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.65; color: #F5F2EB; text-wrap: pretty; }
.ct-intro__copy .ct-intro__mute { font-size: 16px; color: #B8B3A6; }
.ct-details { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px 32px; margin: 6px 0 0; }
@media (min-width: 520px) { .ct-details { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.ct-details > div { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1.5px dashed rgba(245,242,235,.22); }
.ct-details dt { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #B8B3A6; }
.ct-details dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: #F5F2EB; }
.ct-details a { color: #F5F2EB; }
.ct-details a:hover { color: #FFFFFF; }

/* Form card */
.ct-card { scroll-margin-top: 120px; border-radius: 28px; background: #FFFFFF; color: #1A1A1A; box-shadow: 0 30px 80px rgba(0,0,0,.35); padding: clamp(28px,3.4vw,56px); transition-duration: .9s, 1s; }
.ct-form { display: flex; flex-direction: column; gap: 22px; }
.ct-form__title { margin: 0 0 6px; font-family: var(--hp-display); font-weight: 700; font-size: clamp(28px,2.8vw,42px); line-height: 1; letter-spacing: -.025em; text-transform: uppercase; outline: none; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px 18px; align-items: start; }
@media (min-width: 640px) { .ct-fields { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.ct-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-label { font-size: 15px; font-weight: 600; color: #1A1A1A; }
.ct-req { color: #A0432B; }
.ct-opt { font-weight: 500; color: #666; }
.ct-input {
 height: 58px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #B8B3A6; background: #FFFFFF; font: inherit; font-size: 16px; color: #1A1A1A;
 outline: none; box-sizing: border-box; width: 100%; transition: border-color .25s ease, box-shadow .25s ease;
}
.ct-input:focus { border-color: #1A1A1A; box-shadow: 0 0 0 4px rgba(107,91,62,.22); }
.ct-input--area { resize: vertical; height: auto; min-height: 128px; padding: 14px 16px; line-height: 1.5; }
.ct-unit { position: relative; display: block; }
.ct-unit .ct-input { padding-right: 48px; }
.ct-unit > span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: #666; pointer-events: none; }
.ct-phone { display: flex; height: 58px; border-radius: 14px; border: 1.5px solid #B8B3A6; background: #FFFFFF; box-sizing: border-box; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.ct-cc { position: relative; flex: none; padding: 0 12px 0 14px; display: flex; align-items: center; gap: 8px; border-right: 1.5px solid #ECE7DA; font-size: 15px; font-weight: 600; color: #1A1A1A; }
.ct-cc__flag { flex: none; width: 22px; height: 15px; border-radius: 3px; background: #E3DCCB center / cover no-repeat; box-shadow: 0 0 0 1px rgba(26,26,26,.1); }
.ct-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ct-cc:focus-within { box-shadow: inset 0 0 0 2px #1A1A1A; }
.ct-phone__num { flex: 1; min-width: 0; height: 100%; padding: 0 16px; border: 0; border-radius: 0 12px 12px 0; background: transparent; font: inherit; font-size: 16px; color: #1A1A1A; outline: none; transition: box-shadow .25s ease; }
.ct-phone__num:focus { box-shadow: inset 0 0 0 2px #1A1A1A, 0 0 0 4px rgba(107,91,62,.22); }
.ct-err { font-size: 13px; color: #A0432B; }
.ct-field.is-bad .ct-input, .ct-field.is-bad .ct-phone { border-color: #A0432B; }
.ct-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.ct-submit {
 height: 60px; padding: 0 38px; border: 0; border-radius: 999px; background: #1A1A1A; color: #FFFFFF; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
 cursor: pointer; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 26px rgba(26,26,26,.18); transition: background .3s ease, transform .3s var(--ct-ease);
}
.ct-submit:hover { background: #6B5B3E; transform: translateY(-2px); }
.ct-submit:disabled { opacity: .6; cursor: default; transform: none; }
.ct-reply { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; }
.ct-reply > span { width: 7px; height: 7px; border-radius: 50%; background: #1E9E45; box-shadow: 0 0 0 2px rgba(30,158,69,.18); }
.ct-fail { margin: 0; font-size: 14px; color: #A0432B; }
.ct-fail a { color: #A0432B; text-decoration: underline; }
.ct-done { min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.ct-done[hidden] { display: none; }
.ct-done .ct-form__title { font-size: clamp(28px,2.6vw,38px); margin: 0; }
.ct-done p { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.6; color: #666; }
.ct-done__ic { width: 64px; height: 64px; border-radius: 50%; background: #1A1A1A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.ct-again { height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid #1A1A1A; color: #1A1A1A; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease; }
.ct-again:hover { background: #1A1A1A; color: #FFFFFF; }

/* ----- 2. Visit our Showroom ----- */
.ct-show__inner { display: flex; flex-direction: column; gap: clamp(28px,3vw,40px); }
.ct-map {
 position: relative; height: clamp(460px,44vw,620px); border-radius: 28px; overflow: hidden; background: #E3DCCB; box-shadow: 0 24px 60px rgba(26,26,26,.12);
 clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1.3s var(--ct-wipe) .15s;
}
.hp-js .ct-show:not(.is-seen) .ct-map { clip-path: inset(100% 0 0 0 round 28px); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.ct-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(26,26,26,.35)); }
.ct-pin > span:first-child { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: 999px; background: #1A1A1A; color: #FFFFFF; font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.ct-pin > span:first-child > span { width: 26px; height: 26px; border-radius: 50%; background: #F5F2EB; color: #1A1A1A; display: flex; align-items: center; justify-content: center; }
.ct-pin__tail { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 10px solid #1A1A1A; }
.ct-map__card {
 position: absolute; right: clamp(14px,2.4vw,32px); bottom: clamp(14px,2.4vw,32px); width: min(400px, calc(100% - 28px)); box-sizing: border-box; padding: 24px; border-radius: 24px;
 background: #F5F2EB; box-shadow: 0 20px 50px rgba(26,26,26,.25); display: flex; flex-direction: column; gap: 14px; transition: opacity .8s ease .9s, transform .9s var(--ct-ease) .9s;
}
.hp-js .ct-show:not(.is-seen) .ct-map__card { opacity: 0; transform: translateY(16px); }
.ct-map__brand { display: flex; align-items: center; gap: 14px; }
.ct-map__brand img { height: 30px; width: auto; }
.ct-map__brand span { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #6B5B3E; }
.ct-map__card address { font-style: normal; font-size: 17px; font-weight: 600; line-height: 1.45; }
.ct-map__hours { font-size: 14px; color: #666; }
.ct-map__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* ----- 3. Designer or contractor? ----- */
.ct-trade__card {
 position: relative; border-radius: 24px; background: #E3DCCB; padding: clamp(40px,5.5vw,80px) clamp(24px,5vw,80px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.ct-trade__card .ct-eyebrow { color: #666; }
.ct-h2--trade { font-size: clamp(34px,4vw,60px); line-height: .98; }
.ct-trade__card p { margin: 0; max-width: 620px; font-size: clamp(16px,1.3vw,19px); line-height: 1.6; color: #4a4740; text-wrap: pretty; }

/* ============== ONE SCREEN EACH (desktop) ============== */
/* As on the other v2 pages (home.css's --hp-room / --hp-fitpad / --hp-fitgap): from 1024px
   the padding follows the window height and the map takes the height that's left. */
@media (min-width: 1024px) {
 .ct-band { padding: var(--hp-fitpad) 0; }
 .ct-intro { gap: clamp(14px, 2.4vh, 28px); }
 .ct-h1 { font-size: clamp(48px, min(6.4vw, 11vh), 104px); }
 .ct-card { padding: clamp(24px, 4vh, 56px) clamp(28px,3.4vw,56px); }
 .ct-form { gap: clamp(14px, 2.2vh, 22px); }
 .ct-fields { gap: clamp(12px, 2vh, 20px) 18px; }
 .ct-input, .ct-phone { height: clamp(48px, 6.4vh, 58px); }
 .ct-input--area { height: auto; min-height: clamp(80px, 12vh, 128px); }
 .ct-submit { height: clamp(52px, 6.6vh, 60px); }
 .ct-done { min-height: 0; }

 .ct-show { padding: var(--hp-fitpad) 0; }
 .ct-show__inner { gap: var(--hp-fitgap); }
 .ct-show .ct-h2 { font-size: clamp(32px, min(4.2vw, 7vh), 64px); }
 .ct-map { height: clamp(300px, calc(var(--hp-room) - 2 * var(--hp-fitpad) - var(--hp-fitgap) - 190px), 620px); }

 .ct-trade { padding: var(--hp-fitpad) 0; }
}

/* ============== PHONES ============== */
/* Below 768px: smaller type and padding. The contact band (intro + an eight-field form) is
   taller than a phone screen by nature; the showroom map takes the height that's left. */
@media (max-width: 767px) {
 .ct-banner { font-size: 12px; gap: 8px; height: auto; min-height: 40px; padding: 4px 8px; justify-content: space-between; }
 .ct-banner__msg { flex: 1 1 auto; }
 .ct-banner__msg { white-space: normal; line-height: 1.35; }
 .ct-sec { padding: clamp(28px, 4.5vh, 44px) 0; }
 .ct-band { padding: 28px 0 32px; }
 .ct-intro { gap: 14px; }
 .ct-h1 { font-size: clamp(44px, 13vw, 56px); }
 .ct-intro__copy p { font-size: 15.5px; line-height: 1.55; }
 .ct-details { gap: 14px 20px; }
 .ct-details > div { padding-top: 12px; gap: 4px; }
 .ct-details dd { font-size: 15px; }
 /* The form is one screen of its own on a phone (the intro above is another): names and
    company | community side by side, shorter fields and gaps, a smaller message box. */
 .ct-card { border-radius: 22px; padding: 18px 16px; }
 .ct-form { gap: 12px; }
 .ct-form__title { font-size: 22px; margin: 0; }
 .ct-fields { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
 .ct-fields > :nth-child(3), .ct-fields > :nth-child(4), .ct-fields > :nth-child(7), .ct-fields > :nth-child(8) { grid-column: 1 / -1; }
 .ct-field { gap: 5px; }
 .ct-label { font-size: 13px; }
 .ct-input, .ct-phone { height: 46px; border-radius: 12px; }
 .ct-input { padding: 0 12px; font-size: 16px; }
 .ct-input--area { height: 62px; min-height: 62px; padding: 10px 12px; }
 .ct-cc { padding: 0 8px 0 10px; gap: 6px; font-size: 14px; }
 .ct-form__foot { gap: 8px; margin-top: 2px; }
 .ct-submit { width: 100%; justify-content: center; height: 50px; }
 .ct-reply { font-size: 13px; }
 .ct-done { min-height: 320px; }
 .ct-h2 { font-size: clamp(30px, 8.6vw, 36px); }
 .ct-head { gap: 12px; }
 .ct-head p { font-size: 15px; line-height: 1.55; }
 .ct-show__inner { gap: 18px; }
 .ct-map { height: clamp(380px, calc(100vh - 62px - 2 * clamp(28px, 4.5vh, 44px) - 230px), 560px); border-radius: 20px; clip-path: inset(0 0 0 0 round 20px); }
 .hp-js .ct-show:not(.is-seen) .ct-map { clip-path: inset(100% 0 0 0 round 20px); }
 .ct-map__card { padding: 16px; gap: 10px; border-radius: 18px; }
 .ct-map__card address { font-size: 15px; }
 .ct-map__btns .ct-btn { flex: 1 1 0; justify-content: center; height: 44px; padding: 0 12px; font-size: 12px; }
 .ct-trade__card { padding: 32px 20px; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
 .ct-main *, .ct-banner * { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Phones (2026-10-29): the H1's search line ("Flooring showroom in Al Barsha, Dubai") made the
   intro taller than a 390 × 750 screen, so the eyebrow fits one line and the details sit closer.
   The form below still counts as its own screen. */
@media (max-width: 519px) {
 .ct-intro > .ct-eyebrow { font-size: 10.5px; letter-spacing: .1em; gap: 10px; }
 .ct-intro > .ct-eyebrow > span { width: 24px; }
 .ct-h1 .fh-h1-tail { margin-top: .6em; }
 .ct-details { gap: 10px 20px; }
 .ct-details > div { padding-top: 10px; }
}
