/* The new DevTonic Contact page (design A, Hamza's pick "Build A", 5 Nov 2026). One page family with the new home,
   plugin, About and Services pages: family-v1.css gives the buttons, small labels, section headings and the closing
   band; this file gives the Contact page its own parts. Everything stays inside main.ct2. No lines, no underlines,
   no arrows; filled buttons and filled form fields (a soft ring only on focus); backgrounds bluish white, white,
   electric blue, never two alike in a row. The form is the site's own (see .agents/context/DESIGN.md). */

.ct2{--ct-navy:#001429;--ct-ink:#081f3c;--ct-text:#41566f;--ct-blue:#0066ff;--ct-pale:#e6efff;--ct-pale-text:#0050d8;
  --ct-bluish:#f0f5ff;--ct-field:#eef3fb;--ct-lift:0 1px 3px rgba(10,25,41,.06),0 8px 24px -16px rgba(10,25,41,.18);
  display:block;margin:0;padding:0;font-family:Inter,system-ui,sans-serif;color:var(--ct-navy);line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.ct2 *,.ct2 *::before,.ct2 *::after{box-sizing:border-box}
.ct2 :where(h1,h2,h3,h4,p,ul,ol,li,form,label,figure,small,b){margin:0;padding:0}
.ct2 :where(a){color:inherit}
.ct2 a,.ct2 a:hover,.ct2 a:focus,.ct2 a:visited,.ct2 button,.ct2 button:hover{text-decoration:none!important}
.ct2 :is(a,button):focus{outline:0}
.ct2 :is(a,button):not(.fam-btn):focus-visible{outline:0;border-radius:6px;box-shadow:0 0 0 3px rgba(0,102,255,.35)}
.ct2 img{display:block;max-width:100%;height:auto;border:0}
.ct2 p{text-wrap:pretty}
.ct2 :is(h3,.ct2-note,.ct2-small){text-wrap:balance}
.ct2-wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}
.ct2 section{position:relative;margin:0;border:0}
.ct2-bluish{background:var(--ct-bluish)}
.ct2-white{background:#fff}
.ct2 .ct2-bluish .fam-label{color:#005ce6}

/* Words */
.ct2-h1{display:block;margin:0;font-size:52px;font-weight:760;line-height:1.08;letter-spacing:-2px;color:var(--ct-ink);text-wrap:balance}
.ct2-h1>span{display:block;color:var(--ct-blue)}
.ct2-lead{margin:22px 0 0;max-width:56ch;font-size:18px;line-height:1.65;color:var(--ct-text)}
.ct2-small{font-size:15px;line-height:1.6;color:var(--ct-text)}
.ct2-link{font-weight:600;color:var(--ct-pale-text)}
.ct2-link:hover{color:var(--ct-navy)}

/* The top part: the site's top bar is fixed (97 px above 1200, 89 to 769, 69 below), the top part starts under it.
   Words and the other ways left, the form right; both columns end on one line (the message box takes the rest). */
.ct2-top{padding:145px 0 88px}
.ct2-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,600px);grid-template-rows:auto 1fr;
  grid-template-areas:"words form" "ways form";column-gap:64px}
.ct2-words{grid-area:words}
.ct2-ways{grid-area:ways;align-self:end;display:grid;gap:12px;margin-top:40px}

/* Other ways: a white glyph on an electric-blue tile (the family icon look), the words, one filled button */
.ct2-ic{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:13px;background:var(--ct-blue);color:#fff}
.ct2-ic svg{display:block;width:25px;height:25px;fill:currentColor}
.ct2-way{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;row-gap:14px;align-items:start;padding:22px;
  border-radius:14px;background:#fff;box-shadow:var(--ct-lift)}
.ct2-way h3{font-size:18px;font-weight:700;line-height:1.3;color:var(--ct-navy)}
.ct2-way p{margin-top:4px;font-size:15px;line-height:1.55;color:var(--ct-text)}
.ct2 .ct2-way .fam-btn{grid-column:2;justify-self:start}
.ct2-social{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}
.ct2-social .ct2-small{margin-right:4px}
.ct2-soc{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--ct-pale);color:var(--ct-pale-text)}
.ct2-soc:hover{background:#d4e3ff;color:#003fae}
.ct2-soc svg{display:block;width:20px;height:20px;fill:currentColor}

/* The form card: who reads it, the message after sending, the site's own five fields */
.ct2-form-card{grid-area:form;display:flex;flex-direction:column;padding:36px;border-radius:16px;background:#fff;box-shadow:var(--ct-lift)}
.ct2-form-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px}
.ct2-form-title{font-size:26px;font-weight:750;line-height:1.2;letter-spacing:-.6px;color:var(--ct-navy)}
.ct2-who{display:flex;align-items:center;gap:14px}
.ct2-who img{flex:none;width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 18%}
.ct2-who b{display:block;font-size:16px;font-weight:700;line-height:1.3;color:var(--ct-navy)}
.ct2-who small{display:block;font-size:14px;line-height:1.4;color:var(--ct-text)}
.ct2-status{margin:0 0 22px;padding:14px 16px;border-radius:10px;font-size:15px;font-weight:500;line-height:1.5;text-wrap:pretty}
.ct2-status-ok{background:#e7f6ee;color:#0b5b34}
.ct2-status-no{background:#fdeeee;color:#9b1c1c}
.ct2-status a{font-weight:650;color:inherit}
.ct2 .contact-form{display:grid;gap:18px;flex:1;grid-template-rows:auto auto auto 1fr auto}
.ct2 #contactForm{scroll-margin-top:232px}
.ct2 .form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.ct2 .form-group{display:grid;gap:8px;min-width:0}
.ct2 .ct2-form-message{grid-template-rows:auto 1fr}
.ct2 .form-group label{font-size:14px;font-weight:650;line-height:1.3;color:var(--ct-navy)}
.ct2 .form-group :is(input,textarea){display:block;width:100%;min-height:50px;margin:0;padding:13px 16px;border:0;border-radius:10px;
  background:var(--ct-field);font:inherit;font-size:16px;line-height:1.5;color:var(--ct-navy);box-shadow:none;outline:0;
  transition:background-color .15s,box-shadow .15s}
.ct2 .form-group textarea{min-height:148px;height:100%;resize:vertical}
.ct2 .form-group :is(input,textarea):hover{background:#e6eefa}
.ct2 .form-group :is(input,textarea):focus{background:#fff;box-shadow:0 0 0 3px rgba(0,102,255,.32)}
.ct2-send{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:6px}
.ct2-note{font-size:15px;line-height:1.5;color:var(--ct-text)}
.ct2 .btn-submit:disabled{cursor:progress}
.ct2 #formStatus:empty,.ct2-has-status #formStatus{display:none}
.ct2 #formStatus.error,.ct2 #formStatus.success{padding:14px 16px;border-radius:10px;font-size:15px;font-weight:500;line-height:1.5}
.ct2 #formStatus.error{background:#fdeeee;color:#9b1c1c}
.ct2 #formStatus.success{background:#e7f6ee;color:#0b5b34}

/* Quick answers: question left, answer right, every answer open, each in a filled box */
.ct2-faq{padding:88px 0}
.ct2-faq-head{margin:0 0 36px}
.ct2-faq-list{display:grid;gap:10px}
.ct2-q{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.55fr);gap:48px;align-items:start;padding:22px 24px;border-radius:12px;background:var(--ct-bluish)}
.ct2-q h3{font-size:17px;font-weight:650;line-height:27px;letter-spacing:-.2px;color:var(--ct-navy)}
.ct2-q p{max-width:72ch;font-size:16px;line-height:27px;color:var(--ct-text)}

/* The family closing band: white words, and the see-through button at .12 so its white words read 4.6:1 where it
   sits (the family's .16 reads 4.38:1) */
.ct2 .fam-close p{color:#fff}
.ct2 .fam-close .fam-btn.fam-btn-glass{background:rgba(255,255,255,.12)}
.ct2 .fam-close .fam-btn.fam-btn-glass:hover{background:rgba(0,30,110,.22)}

@media (max-width:1240px){.ct2-wrap{width:calc(100% - 80px)}}
@media (max-width:1100px){
  .ct2-top{padding:137px 0 72px}
  .ct2-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"words" "form" "ways";row-gap:36px}
  .ct2-ways{margin-top:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
  .ct2-social{grid-column:1/-1}
  .ct2 .form-group textarea{height:auto}
  .ct2-way{grid-template-rows:auto 1fr}
  .ct2 .ct2-way .fam-btn{grid-column:1/-1;justify-self:stretch;align-self:end}
}
@media (max-width:760px){
  .ct2-wrap{width:calc(100% - 36px)}
  .ct2-top{padding:101px 0 56px}
  .ct2-grid{row-gap:28px}
  .ct2-h1{font-size:36.66px;letter-spacing:-1.3px;line-height:1.1}
  .ct2-lead{margin-top:18px;font-size:17px}
  .ct2-ways{grid-template-columns:minmax(0,1fr)}
  .ct2-way{padding:20px 18px}
  .ct2-form-card{padding:22px 18px}
  .ct2-form-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:20px}
  .ct2-form-title{font-size:23px}
  .ct2-faq{padding:56px 0}
  .ct2-faq-head{margin-bottom:26px}
  .ct2-q{grid-template-columns:minmax(0,1fr);gap:8px;padding:18px}
  .ct2-q p{font-size:15px;line-height:25px}
}
@media (max-width:420px){.ct2 .form-row{gap:12px}}
/* the smallest phones: each heading line keeps its words together */
@media (max-width:374px){.ct2-h1{font-size:32px;letter-spacing:-1.1px}}
@media (prefers-reduced-motion:reduce){.ct2 .form-group :is(input,textarea){transition:none}}
