/* app.ryfetech.com/contact. Builds on home.css (charcoal page, plum header line). The form sits on a white panel for easy reading. */
.ct-hero{padding-top:clamp(56px,7vw,104px);display:flex;flex-direction:column;gap:20px}
.ct-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.08;font-weight:600;letter-spacing:-.03em}
.ct-hero p{max-width:640px;font-size:18px;line-height:28px;color:var(--soft)}

.ct-ways{padding-top:clamp(40px,5vw,64px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ct-way{display:flex;flex-direction:column;gap:4px;padding:24px;border:1px solid var(--ch2);border-radius:12px;text-decoration:none;transition:border-color .15s,background-color .15s}
.ct-way:hover{border-color:var(--mid);background:#2B2627}
.ct-way svg{color:var(--plum);margin-bottom:12px}
.ct-way b{font-size:14px;line-height:20px;font-weight:600;color:var(--soft)}
.ct-way span{font-size:17px;line-height:25px;font-weight:600;color:#fff;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--mid);text-underline-offset:5px}
.ct-way:hover span{text-decoration-color:#fff}
.ct-way small{font-size:14px;line-height:20px;color:var(--soft)}
@media(max-width:1000px){.ct-ways{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ct-ways{grid-template-columns:1fr}.ct-way{padding:20px}}

.ct-main{padding-top:clamp(40px,5vw,64px);padding-bottom:clamp(72px,8vw,120px);display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(32px,4vw,64px);align-items:start}
@media(max-width:900px){.ct-main{grid-template-columns:1fr}}

/* form panel */
.ct-panel{background:#fff;color:var(--ch);border-radius:16px;padding:clamp(24px,3.4vw,40px);display:flex;flex-direction:column;gap:24px;scroll-margin-top:96px}
.hm .ct-panel h2{font-size:24px;line-height:32px;letter-spacing:-.015em}
.ct-form{display:flex;flex-direction:column;gap:20px}
.ct-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
@media(max-width:600px){.ct-row{grid-template-columns:1fr}}
.ct-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.ct-field label{font-size:14px;line-height:20px;font-weight:600}
.ct-opt{font-weight:400;color:var(--mid)}
.ct-field input,.ct-field select,.ct-field textarea{width:100%;font:inherit;font-size:16px;line-height:24px;color:var(--ch);background:#fff;border:1px solid #A8A5A6;border-radius:6px;padding:11px 12px}
.ct-field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23231F20' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
.ct-field textarea{resize:vertical;min-height:160px}
.ct-field input:focus,.ct-field select:focus,.ct-field textarea:focus{outline:3px solid #008DC1;outline-offset:1px;border-color:var(--blue-d)}
.ct-field [aria-invalid="true"]{border:2px solid #B42318;padding:10px 11px}
.ct-error{font-size:14px;line-height:20px;font-weight:600;color:#B42318}
.ct-error::before{content:"! ";}
.ct-hint{font-size:14px;line-height:20px;color:var(--mid)}
.ct-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.ct-submit{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding-top:4px}
.ct-submit p{flex:1 1 220px;font-size:14px;line-height:20px;color:var(--mid)}
.ct-panel a{color:var(--blue-d);text-underline-offset:3px}
.ct-btn{font:inherit;font-size:15px;font-weight:600;line-height:20px;color:#fff;background:var(--blue-d);border:1px solid var(--blue-d);border-radius:6px;padding:14px 22px;cursor:pointer;transition:background-color .15s}
.ct-btn:hover{background:#00587A}
.ct-btn:focus-visible{outline:3px solid #008DC1;outline-offset:3px}

.ct-note{display:flex;gap:12px;align-items:flex-start;border-radius:12px;padding:14px 16px;font-size:15px;line-height:22px}
.ct-note svg{flex-shrink:0;margin-top:1px}
.ct-note.ok{background:#EDF8EE;border:1px solid #9BD3A6;color:#1F5130}
.ct-note.err{background:#FEF3F2;border:1px solid #F4B3AC;color:#7A271A}
.hm .ct-note.err a{color:#7A271A}

/* side column */
.ct-side{display:flex;flex-direction:column;gap:40px}
.ct-side section{display:flex;flex-direction:column;gap:12px;scroll-margin-top:96px}
.hm .ct-side h2{font-size:22px;line-height:30px;letter-spacing:-.015em}
.ct-side p,.ct-side address{font-size:15px;line-height:24px;color:var(--soft);font-style:normal}
.ct-side p a{color:#fff;text-underline-offset:4px}
.ct-stores{list-style:none;margin:4px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.ct-stores a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--ch2);border-radius:12px;font-size:16px;font-weight:600;text-decoration:none}
.ct-stores a:hover{border-color:var(--mid)}
.ct-stores span{font-size:13px;font-weight:500;color:var(--soft)}
.ct-stores span::after{content:" →"}
.ct-link{align-self:flex-start;font-size:15px;font-weight:600;text-underline-offset:5px;text-decoration-thickness:2px;padding:6px 0}

.hm-links a[aria-current="page"]{color:#fff;text-decoration:underline;text-decoration-color:var(--plum);text-decoration-thickness:2px;text-underline-offset:8px}
