/* =========================================================
   Contact Us - page styles  (contact-us.html)
   Shared styles live in css/style.css.
   ========================================================= */

/* Contact page: navy / white with brand-blue (#2e9bff) accents */
/* hero: same behaviour as the other inner pages - it stays put while the content slides up over it */
.page-hero { position: sticky; top: 0; z-index: 0; overflow: hidden; background: #0a1220; }
.page-hero > .ph-bg { position: absolute; inset: 0; background: url('../../image/conn.png') center 40% / cover no-repeat; transform-origin: center; will-change: transform; }
.page-hero > .ph-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10,12,16,.6) 0%, rgba(10,12,16,.25) 55%, rgba(10,12,16,0) 100%), linear-gradient(to top, rgba(8,9,12,.6) 0%, transparent 40%); }
.page-hero > .ph-dim { position: absolute; inset: 0; background: var(--brand-navy); opacity: 0; pointer-events: none; }
.page-hero > .ph-inner { position: relative; width: 100%; will-change: transform, opacity; }
main > section:not(.page-hero) { position: relative; z-index: 1; }
.ph-fade { animation: ph-fade .8s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--d, .1s); }
@keyframes ph-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ph-fade { animation: none; } }
/* phones: keep room under the text for the contact card that overlaps the banner */
@media (max-width: 639.98px) { body .page-hero > .ph-inner.c-hero-inner { padding-bottom: 3.75rem; } }
.c-card { box-shadow: 0 30px 60px -28px rgba(10,18,32,.45), 0 0 0 1px rgba(14,22,38,.06); }
.c-panel { background: #12151b url('../../image/dummy.jpg') center 70% / cover no-repeat; background-blend-mode: luminosity; }
.c-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(12,14,19,.96) 0%, rgba(12,14,19,.9) 55%, rgba(12,14,19,.78) 100%); }
.c-hl { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.c-hl-link { transition: text-decoration-color .2s, color .2s; }
.c-hl-link:hover { color: #2e9bff; text-decoration-color: #2e9bff; }
.crumb a:hover { color: #2e9bff; }
.c-info { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.c-info li { display: flex; align-items: flex-start; gap: 1rem; }
.c-ico { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: background-color .25s, color .25s; }
.c-info li:hover .c-ico { background: #fff; color: #12151b; }
.c-ico svg { width: 1.1rem; height: 1.1rem; }
.c-label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.c-value { display: block; margin-top: .1rem; font-size: .98rem; font-weight: 500; line-height: 1.45; color: #fff; transition: color .2s; }
a.c-value:hover { color: rgba(255,255,255,.7); }
.c-note { display: block; margin-top: .15rem; font-size: .78rem; line-height: 1.45; color: rgba(255,255,255,.55); }
.c-info li:hover .c-ico-wa { background: #25D366; border-color: #25D366; color: #fff; }
@media (max-width: 639.98px) { .c-note { font-size: .7rem; } }
/* card social icons: brand-coloured, ring + pulse on hover (same motion as the homepage call button) */
.c-social { position: relative; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; color: var(--brand, #fff); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); transition: background-color .25s, color .25s, border-color .25s, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.c-social::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--brand, #fff); opacity: 0; pointer-events: none; }
.c-social svg { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.c-social:hover, .c-social:focus-visible { background: var(--brand, #fff); border-color: transparent; color: #fff; transform: translateY(-3px) scale(1.08); box-shadow: 0 10px 20px -8px var(--brand, #fff); outline: none; }
.c-social[style*="#e7e9ea"]:hover, .c-social[style*="#e7e9ea"]:focus-visible { color: #000; }
.c-social:hover svg, .c-social:focus-visible svg { animation: qc-ring .9s ease-in-out infinite; }
.c-social:hover::after, .c-social:focus-visible::after { animation: qc-pulse 1.2s ease-out infinite; }
.c-info li:hover .c-ico-call svg { animation: qc-ring .9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .c-social svg, .c-social::after, .c-ico-call svg { animation: none !important; } }
.c-field { display: block; }
.c-field > span { display: block; margin-bottom: .45rem; font-size: .82rem; font-weight: 500; color: #3d4654; }
.c-field input, .c-field select { width: 100%; height: 2.75rem; padding: 0 1.1rem; font: inherit; font-size: 15px; color: #0e1626; background: #f1f3f5; border: 1px solid transparent; border-radius: 999px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.c-field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230e1626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.2rem center; }
.c-field textarea { width: 100%; padding: .85rem 1.1rem; font: inherit; font-size: 15px; color: #0e1626; background: #f1f3f5; border: 1px solid transparent; border-radius: 1.2rem; resize: vertical; min-height: 7.5rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.c-field input::placeholder, .c-field textarea::placeholder { color: #98a1ad; }
.c-field input:focus, .c-field select:focus, .c-field textarea:focus { outline: none; border-color: #2e9bff; background: #fff; box-shadow: 0 0 0 3px rgba(46,155,255,.28); }
.c-field .is-invalid { border-color: #c0392b; background: #fff; }
@media (max-width: 639.98px) {
  .c-info { gap: .7rem; }
  .c-ico { width: 2.1rem; height: 2.1rem; }
  .c-ico svg { width: .95rem; height: .95rem; }
  .c-label { font-size: .6rem; }
  .c-value { font-size: .86rem; }
  .c-social { width: 2rem; height: 2rem; }
  .c-field > span { font-size: .76rem; margin-bottom: .35rem; }
  .c-field input, .c-field select { height: 2.5rem; font-size: 16px; }   /* 16px stops iOS zooming on focus */
  .c-field textarea { min-height: 6.5rem; font-size: 16px; }
  .about-btn.c-send { width: 100%; justify-content: center; }
  .ready-band .btn-go { min-height: 38px; padding: 0 42px 0 14px; font-size: 12.5px; }
  .ready-band .btn-go .ico, .ready-band .btn-go .gear { width: 26px; height: 26px; }
  .ready-band .btn-go .ico { right: 5px; margin-top: -13px; }
  .ready-band .btn-go .ar { width: 12px; height: 6px; }
}
#contact-form { scroll-margin-top: 6rem; }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .ready-band .btn-go { min-height: 40px; padding: 0 44px 0 15px; font-size: 13px; }
  .ready-band .btn-go .ico, .ready-band .btn-go .gear { width: 28px; height: 28px; }
  .ready-band .btn-go .ico { right: 5px; margin-top: -14px; }
  .ready-band .btn-go .ar { width: 13px; height: 6px; }
}
.ready-band { position: relative; overflow: hidden; background: #0c0e13; }
/* left side only: straight vertical lines + a light gradient travelling down them */
.ready-band::before, .ready-band::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; pointer-events: none;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 55%); mask-image: linear-gradient(270deg, transparent, #000 55%); }
.ready-band::before { background: linear-gradient(90deg, rgba(46,155,255,.14) 1px, transparent 1px) left / 56px 100%; }
.ready-band::after { background: linear-gradient(180deg, transparent 0%, rgba(46,155,255,.0) 30%, rgba(46,155,255,.55) 48%, rgba(95,195,245,.9) 50%, rgba(46,155,255,.0) 70%, transparent 100%) 0 0 / 100% 220% no-repeat;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 55%), linear-gradient(90deg, #000 1px, transparent 1px);
  -webkit-mask-size: 100% 100%, 56px 100%; -webkit-mask-position: 0 0, left; -webkit-mask-composite: source-in;
  mask-image: linear-gradient(270deg, transparent, #000 55%), linear-gradient(90deg, #000 1px, transparent 1px);
  mask-size: 100% 100%, 56px 100%; mask-position: 0 0, left; mask-composite: intersect;
  animation: band-flow 4.5s linear infinite; }
.ready-band::after { background-image: linear-gradient(180deg, transparent 30%, rgba(95,195,245,.9) 50%, transparent 70%); }
@keyframes band-flow { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.ready-band > div { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ready-band::after { animation: none; opacity: 0; } }
/* image pair: large road photo + small white inset card overlapping its corner */
/* right media panel: full-height photo with a slanted edge */
/* phone + tablet: show the whole banner (no crop) so the full car is visible */
.rb-media { position: relative; aspect-ratio: 2048 / 768; margin: 0 1rem 1.25rem; }
@media (min-width: 640px) { .rb-media { margin: 0 1.5rem 2.25rem; } }
@media (max-width: 767.98px) { .rb-photo img { object-fit: contain; object-position: center; } .rb-photo::after { display: none; } }
.rb-photo { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; }
.rb-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 78% 62%; transition: transform 1s cubic-bezier(.22,.61,.36,1); }
.rb-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12,14,19,.75) 0%, rgba(12,14,19,0) 45%), linear-gradient(0deg, rgba(12,14,19,.45), transparent 40%); }
.rb-edge { display: none; }
.rb-media:hover .rb-photo img { transform: scale(1.04); }
/* tablet + desktop: text left, slanted photo panel right */
@media (min-width: 768px) {
  .rb-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; height: auto; aspect-ratio: auto; margin: 0; }
  .rb-photo { border-radius: 0; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
  .rb-photo::after { background: linear-gradient(90deg, rgba(12,14,19,.55) 0%, rgba(12,14,19,0) 40%); }
  .rb-edge { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(95,195,245,.9), rgba(46,155,255,.2)); clip-path: polygon(16% 0, calc(16% + 2px) 0, 2px 100%, 0 100%); }
}
@media (min-width: 768px) and (max-width: 1023.98px) { .rb-photo img { object-position: 98% 62%; } }
@media (min-width: 1024px) { .rb-media { width: 54%; } }
/* Send button: homepage "Read our full story" style (.about-btn), compact */
.about-btn.c-send { margin-top: 1rem; padding: .7rem 1.3rem; font-size: .85rem; cursor: pointer; }
.ph { position: relative; display: grid; place-items: center; text-align: center; border: 2px dashed #b7bcc5; background: repeating-linear-gradient(45deg, #eceef1, #eceef1 14px, #e3e6ea 14px, #e3e6ea 28px); color: #5b6472; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.ph svg { width: 2.2rem; height: 2.2rem; margin: 0 auto .5rem; opacity: .7; }
