/**
 * Contact (2026) template. Builds on case-study.css and archive.css (cards, logo wall);
 * this sheet adds the hero steps, phone and rating chips, the form card, and the
 * HubSpot form restyle.
 */

/* ---------- Next steps ---------- */
.csc .csc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.csc .csc-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 0 0 18px !important; }
.csc .csc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: repeating-linear-gradient(#2a6a8f 0 4px, transparent 4px 8px); }
.csc .csc-step-num { width: 34px; height: 34px; border-radius: 50%; background: #13a89e; color: #04302c; font-family: Poppins, sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.csc .csc-step-text { font-size: 16px; line-height: 1.55; color: #e6f2f8; padding-top: 5px; }

/* ---------- Phone + rating ---------- */
.csc .csc-phone { display: inline-flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.csc .csc-phone:hover { color: #ffffff; text-decoration: none; }
.csc .csc-phone-icon { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #58c2e3; color: #58c2e3; display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.csc .csc-phone:hover .csc-phone-icon { background: #58c2e3; color: #00263d; }
.csc .csc-phone-label { display: block; font-size: 12.5px; color: #a9c6d8; line-height: 1.3; }
.csc .csc-phone-number { display: block; font-family: Poppins, sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; }
.csc .csc-rating { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid #1f5878; border-radius: 999px; padding: 9px 16px; color: #e6f2f8; font-size: 14px; text-decoration: none; }
.csc .csc-rating:hover { color: #ffffff; border-color: #58c2e3; text-decoration: none; }
.csc .csc-stars { color: #f5c04a; letter-spacing: 1px; font-size: 15px; }

/* ---------- Form card + HubSpot form ---------- */
.csc .csc-form-card { background: #ffffff; color: #0f3a55; border-radius: 18px; padding: 32px 32px 28px; box-shadow: 0 24px 60px rgba(0,20,33,.35); }
.csc .csc-hubspot { min-height: 420px; }
.csc .csc-hubspot .hs-form fieldset { max-width: none !important; }
.csc .csc-hubspot .hs-form fieldset.form-columns-2 .hs-form-field { width: 50% !important; }
.csc .csc-hubspot .hs-form fieldset.form-columns-2 .hs-form-field:first-child { padding-right: 12px; }
.csc .csc-hubspot .hs-form-field { margin-bottom: 16px; }
.csc .csc-hubspot .hs-form-field > label { display: block; font-family: Poppins, sans-serif; font-weight: 600; font-size: 13.5px; color: #0f3a55; margin-bottom: 6px; }
.csc .csc-hubspot .hs-form-required { color: #13a89e; margin-left: 2px; }
.csc .csc-hubspot .input { margin: 0 !important; }
.csc .csc-hubspot input.hs-input:not([type="checkbox"]):not([type="radio"]),
.csc .csc-hubspot select.hs-input,
.csc .csc-hubspot textarea.hs-input { width: 100% !important; box-sizing: border-box; font: 400 15.5px/1.4 'Open Sans', sans-serif; color: #0f3a55; background: #f4f9fc; border: 1px solid #d6e3ec; border-radius: 10px; padding: 12px 14px; height: auto; min-height: 48px; box-shadow: none; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.csc .csc-hubspot textarea.hs-input { min-height: 110px; resize: vertical; }
.csc .csc-hubspot select.hs-input { appearance: none; -webkit-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' stroke='%235b7688' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.csc .csc-hubspot .hs-input:focus { outline: none; border-color: #13a89e; background: #ffffff; box-shadow: 0 0 0 3px rgba(19,168,158,.18); }
.csc .csc-hubspot .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; }
.csc .csc-hubspot .hs-error-msgs li { padding: 0 !important; }
.csc .csc-hubspot .hs-error-msg, .csc .csc-hubspot .hs-main-font-element { font-size: 13px; color: #c2410c; }
.csc .csc-hubspot .legal-consent-container, .csc .csc-hubspot .hs-richtext { font-size: 12.5px; line-height: 1.5; color: #5b7688; }
.csc .csc-hubspot .hs-submit { margin-top: 6px; }
.csc .csc-hubspot .hs-button { width: 100%; font-family: Poppins, sans-serif; font-weight: 700; font-size: 16px; color: #ffffff; background: #0f3a55; border: 2px solid #0f3a55; border-radius: 10px; padding: 15px 22px; cursor: pointer; text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.csc .csc-hubspot .hs-button:hover { background: #13a89e; border-color: #13a89e; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19,168,158,.3); }
.csc .csc-hubspot .submitted-message { font-family: Poppins, sans-serif; font-size: 17px; line-height: 1.5; color: #0f3a55; padding: 20px 0; }

/* ---------- Reviews widget container ---------- */
.csc .csc-reviews { min-height: 200px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.csc .csc-hero-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
}
@media (max-width: 560px) {
	.csc .csc-form-card { padding: 24px 20px 22px; border-radius: 14px; }
	.csc .csc-hubspot .hs-form fieldset.form-columns-2 .hs-form-field { width: 100% !important; padding-right: 0 !important; }
}
