/* Shared section copy */

.section-heading--split > p {
    color: var(--muted);
    line-height: 1.7;
}

/* Inquiry form */

.project-form {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.project-form__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.project-form__heading h2 {
    margin-bottom: 0;
    font-size: 1.42rem;
}

.form-label {
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    letter-spacing: 0.09em;
}

.response-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.response-pill > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #24b66d;
    box-shadow: 0 0 0 4px rgba(36, 182, 109, 0.12);
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #d8e1f0;
    border-radius: 10px;
    outline: none;
    background: white;
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input {
    height: 50px;
    padding: 0 15px;
}

.field textarea {
    min-height: 112px;
    padding: 14px 15px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa5bc;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(7, 87, 255, 0.1);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: var(--danger);
    font-size: 0.85rem;
}

.button--submit {
    width: 100%;
    margin-top: 2px;
}

.button--submit[disabled] {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.form-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.messages,
.form-alert {
    margin-bottom: 16px;
}

.message,
.form-alert {
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.message--success {
    background: var(--success-bg);
    color: var(--success);
}

.form-alert {
    background: var(--danger-bg);
    color: var(--danger);
}

.form-alert ul {
    margin: 0;
    padding-left: 18px;
}

/* Shared icon box */

.icon-box {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #dfe8f8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.icon-box svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Shared section heading and text link */

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 64px;
}

.section-heading--split h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.section-heading--split > p {
    max-width: 530px;
    margin-bottom: 4px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-weight: 750;
    text-decoration: none;
}

.text-link span {
    transition: transform 150ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* Process list (service detail: delivery approach steps) */

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
}

.process-list li {
    position: relative;
    min-height: 250px;
    padding: 30px 34px 20px;
    border-top: 1px solid #cdd9eb;
    border-right: 1px solid #dce5f2;
}

.process-list li:first-child {
    padding-left: 0;
}

.process-list li:last-child {
    border-right: 0;
}

.process-list li::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: -4px;
    left: 34px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px var(--surface);
}

.process-list li:first-child::before {
    left: 0;
}

.process-list span {
    display: block;
    margin-bottom: 46px;
    color: var(--blue);
    font-size: 1.08rem;
    font-weight: 750;
}

.process-list h3 {
    margin-bottom: 9px;
    font-size: 1.05rem;
}

.process-list p {
    max-width: 250px;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* FAQ */

.faq {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.faq__grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.7fr) minmax(540px, 1.3fr);
    gap: clamp(70px, 10vw, 160px);
    align-items: start;
}

.faq__grid > div:first-child > p:last-child {
    max-width: 520px;
    color: var(--muted);
    line-height: 1.7;
}

.faq__items {
    border-top: 1px solid #ccd8ea;
}

.faq__items details {
    border-bottom: 1px solid #ccd8ea;
}

.faq__items summary {
    position: relative;
    padding: 24px 42px 24px 0;
    color: var(--ink);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}

.faq__items summary::-webkit-details-marker {
    display: none;
}

.faq__items summary::after {
    content: "+";
    position: absolute;
    top: 21px;
    right: 4px;
    color: var(--blue);
    font-size: 1.35rem;
    font-weight: 400;
}

.faq__items details p {
    max-width: 760px;
    margin: -5px 42px 25px 0;
    color: var(--muted-dark);
    line-height: 1.75;
}

/* Services directory and detail pages */

/* Hover depth and motion refinements */

.icon-box,
.item-icon {
    transition: transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out),
        background var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        color var(--duration-base) var(--ease-out);
}

.icon-box svg,
.item-icon svg {
    transition: stroke var(--duration-base) var(--ease-out);
}

.hero-services__grid a:hover .item-icon,
.home-service:hover .item-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-sm), 0 0 0 5px rgba(7, 87, 255, 0.08);
}

.process-list li,
.home-process__steps li {
    transition: background var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
}

.home-process__steps li:hover,
.process-list li:hover {
    background: rgba(7, 87, 255, 0.035);
}

.process-list li:hover::before {
    box-shadow: 0 0 0 6px var(--surface), 0 0 0 11px rgba(7, 87, 255, 0.16);
    transition: box-shadow var(--duration-base) var(--ease-out);
}

.faq__items summary::after {
    transition: transform var(--duration-base) var(--ease-out);
}

.faq__items details[open] summary::after {
    content: "+";
    transform: rotate(45deg);
}

/* Accent rotation: give repeated cards a touch of individual character */

.hero-services__grid a:nth-child(3n+2) .item-icon,
.home-service:nth-child(3n+2) .item-icon {
    border-color: rgba(8, 205, 209, 0.4);
    background: rgba(8, 205, 209, 0.1);
    color: var(--cyan);
}

.hero-services__grid a:nth-child(3n+3) .item-icon,
.home-service:nth-child(3n+3) .item-icon {
    border-color: rgba(7, 21, 61, 0.16);
    background: rgba(7, 21, 61, 0.045);
    color: var(--ink-soft);
}

/* Density pass */

.process-list li {
    min-height: 210px;
}
