/* ============================================================
   Ancordi — Services overview / About / Contact
   Theme layer (Poppins + Montserrat, teal accent).
   ============================================================ */

/* ── PAGE HERO ── */
.page-hero {
    position: relative;
    padding: 120px 24px 108px;
    background: var(--a-navy) center center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(0, 3, 42, .9) 0%, rgba(24, 13, 91, .74) 55%, rgba(0, 3, 42, .58) 100%);
}
.page-hero__inner { position: relative; max-width: var(--a-max); margin: 0 auto; }

.page-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--a-font-head);
    font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
    color: var(--a-accent); margin-bottom: 22px;
}
.page-hero__eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--a-accent); }

.page-hero h1 {
    font-family: var(--a-font-head);
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    font-weight: 700; line-height: 1.18; color: #fff; max-width: 900px;
}
.page-hero p {
    margin-top: 22px; max-width: 700px;
    font-size: 16px; line-height: 2; color: rgba(255, 255, 255, .76);
}

/* ── SECTION SHELL ── */
.section { padding: 96px 24px; }
.section--soft { background: var(--a-bg-soft); }
.section__inner { max-width: var(--a-max); margin: 0 auto; }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head__tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--a-font-head);
    font-size: 11.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    color: var(--a-accent); margin-bottom: 16px;
}
.section-head__tag::before { content: ''; width: 26px; height: 2px; background: var(--a-accent); }
.section-head--center .section-head__tag::after { content: ''; width: 26px; height: 2px; background: var(--a-accent); }
.section-head h2 {
    font-family: var(--a-font-head);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 600; color: var(--a-heading); line-height: 1.28;
}
.section-head p { margin-top: 16px; max-width: 680px; font-size: 15px; line-height: 1.95; }
.section-head--center p { margin-left: auto; margin-right: auto; }

/* ── SERVICES OVERVIEW ── */
.offer-list { display: flex; flex-direction: column; gap: 26px; }

.offer-row {
    display: grid; grid-template-columns: 200px 1fr auto;
    gap: 44px; align-items: center;
    padding: 44px;
    background: #fff; border: 1px solid var(--a-line); border-radius: 6px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.offer-row:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0, 3, 42, .1); border-color: transparent; }
.offer-row__icon { display: flex; align-items: center; justify-content: center; }
.offer-row__icon img { width: 130px; height: auto; }
.offer-row__num {
    font-family: var(--a-font-head);
    font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--a-accent);
    margin-bottom: 10px;
}
.offer-row h3 {
    font-family: var(--a-font-head);
    font-size: 21px; font-weight: 600; color: var(--a-heading); margin-bottom: 12px;
}
.offer-row p { font-size: 14.5px; line-height: 1.95; }
.offer-row__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.offer-row__points li {
    font-family: var(--a-font-head);
    font-size: 11.5px; letter-spacing: .06em;
    padding: 5px 12px; border: 1px solid var(--a-line); border-radius: 3px; color: var(--a-text-soft);
}
.offer-row__cta {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--a-line); color: var(--a-accent);
    font-size: 18px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.offer-row:hover .offer-row__cta { background: var(--a-accent); border-color: var(--a-accent); color: #fff; }

/* ── ABOUT: pillars ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--a-line); border: 1px solid var(--a-line); }
.pillar { background: #fff; padding: 42px 34px; transition: background .3s ease; }
.pillar:hover { background: var(--a-bg-soft); }
.pillar__num {
    font-family: var(--a-font-head);
    font-size: 42px; font-weight: 700; color: var(--a-bg-soft); line-height: 1;
}
.pillar:hover .pillar__num { color: rgba(1, 221, 210, .22); }
.pillar h3 { font-family: var(--a-font-head); font-size: 18px; font-weight: 600; color: var(--a-heading); margin: 10px 0 12px; }
.pillar p { font-size: 14px; line-height: 1.95; }

/* ── ABOUT: split blocks ── */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center;
}
.split + .split { margin-top: 92px; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; max-width: 480px; margin: 0 auto; }
.split h3 {
    font-family: var(--a-font-head);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 600; color: var(--a-heading); line-height: 1.4; margin-bottom: 20px;
}
.split p { font-size: 15px; line-height: 2.05; margin-bottom: 16px; }
.split p:last-child { margin-bottom: 0; }

/* ── ABOUT: stats band ── */
.stats-band { background: var(--a-navy); padding: 66px 24px; }
.stats-band__grid {
    max-width: var(--a-max); margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1);
}
.stat { background: var(--a-navy); padding: 34px 28px; text-align: center; transition: background .3s ease; }
.stat:hover { background: var(--a-dark); }
.stat__num { font-family: var(--a-font-head); font-size: 44px; font-weight: 700; color: #fff; line-height: 1; }
.stat__num span { color: var(--a-accent); }
.stat__lbl { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 10px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 66px; align-items: start; }

.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 26px 28px;
    background: #fff; border: 1px solid var(--a-line); border-radius: 6px;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-card:hover { border-color: var(--a-accent); box-shadow: 0 10px 30px rgba(0, 3, 42, .07); }
.contact-card__icon {
    flex-shrink: 0; width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--a-bg-soft); border-radius: 5px; font-size: 18px;
}
.contact-card__label {
    font-family: var(--a-font-head);
    font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
    color: var(--a-text-soft); margin-bottom: 6px;
}
.contact-card__value { font-family: var(--a-font-head); font-size: 16px; font-weight: 500; color: var(--a-heading); }
.contact-card__value a { text-decoration: none; transition: color .2s ease; }
.contact-card__value a:hover { color: var(--a-accent); }
.contact-card__sub { font-size: 13.5px; color: var(--a-text-soft); margin-top: 4px; }

/* form */
.contact-form {
    background: #fff; border: 1px solid var(--a-line); border-radius: 6px;
    padding: 40px;
}
.contact-form h3 { font-family: var(--a-font-head); font-size: 20px; font-weight: 600; color: var(--a-heading); margin-bottom: 8px; }
.contact-form > p { font-size: 14px; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
    font-family: var(--a-font-head);
    font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--a-heading);
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--a-font-body);
    font-size: 14.5px; color: var(--a-heading);
    padding: 13px 15px;
    border: 1px solid var(--a-line); border-radius: 4px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--a-accent);
    box-shadow: 0 0 0 3px rgba(1, 221, 210, .16);
}
.form-actions { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-submit {
    padding: 15px 40px;
    background: var(--a-accent); color: #fff;
    font-family: var(--a-font-head);
    font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
    border: none; border-radius: 5px; cursor: pointer;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-submit:hover { background: var(--a-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(1, 221, 210, .3); }
.form-note { font-size: 12.5px; color: var(--a-text-soft); }

.form-status {
    margin-bottom: 24px; padding: 14px 18px; border-radius: 4px;
    font-size: 14px;
    background: rgba(1, 221, 210, .1);
    border: 1px solid rgba(1, 221, 210, .4);
    color: #0a7a74;
}
.field-error { font-size: 12.5px; color: #c8391a; }

/* how we work */
.how-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-item { padding: 32px 26px; background: #fff; border: 1px solid var(--a-line); border-radius: 6px; }
.how-item__step {
    font-family: var(--a-font-head);
    font-size: 11.5px; font-weight: 700; letter-spacing: .22em; color: var(--a-accent); margin-bottom: 12px;
}
.how-item h4 { font-family: var(--a-font-head); font-size: 16px; font-weight: 600; color: var(--a-heading); margin-bottom: 8px; }
.how-item p { font-size: 13.5px; line-height: 1.85; }

/* ── CTA BAND ── */
.cta-band { padding: 84px 24px; background: var(--a-navy); text-align: center; }
.cta-band__inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-family: var(--a-font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; color: #fff; margin-bottom: 16px; line-height: 1.32; }
.cta-band p { color: rgba(255, 255, 255, .6); font-size: 15px; line-height: 1.95; margin-bottom: 34px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-accent {
    display: inline-block; padding: 15px 38px;
    background: var(--a-accent); color: #fff;
    font-family: var(--a-font-head);
    font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
    text-decoration: none; border: 2px solid var(--a-accent); border-radius: 5px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-accent:hover { background: var(--a-accent-dark); border-color: var(--a-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(1, 221, 210, .32); }

.btn-ghost-light {
    display: inline-block; padding: 15px 36px;
    color: #fff; border: 2px solid rgba(255, 255, 255, .35); border-radius: 5px;
    font-family: var(--a-font-head);
    font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .offer-row { grid-template-columns: 150px 1fr; gap: 30px; }
    .offer-row__cta { display: none; }
    .pillars { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse .split__media { order: 0; }
    .stats-band__grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .how-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 66px 22px; }
    .page-hero { padding: 82px 22px 70px; }
    .offer-row { grid-template-columns: 1fr; padding: 32px 26px; gap: 22px; }
    .offer-row__icon { justify-content: flex-start; }
    .stats-band__grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .how-list { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 24px; }
}
