/* ══════════════════════════════════════════════════════════
   HIRE ODOO DEVELOPER — page-specific styles
   Layered on top of common.css + odoo-pages.css + content-kit.css.
   Only holds what those three don't already provide: the hero
   enquiry card, trust bar, breadcrumb, engagement-model cards
   and the full enquiry section.
   ══════════════════════════════════════════════════════════ */

/* ── BREADCRUMB (inside hero, above H1) ───────────────── */
.hod-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    font-size: .82rem;
}

.hod-crumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .62);
}

.hod-crumbs a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .2s ease;
}

.hod-crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.hod-crumbs li+li::before {
    content: "/";
    color: rgba(255, 255, 255, .35);
}

.hod-crumbs [aria-current="page"] {
    color: rgba(255, 255, 255, .55);
}

/* ── HERO LAYOUT (copy left, enquiry card right) ───────── */
.hod-hero-split {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 56px;
    align-items: center;
    text-align: left;
}

.hod-hero-split .op-hero-sub {
    margin-left: 0;
    max-width: 560px;
}

.hod-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 100px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hod-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

/* Trust chips under the hero copy */
.hod-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hod-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .82);
    font-size: .88rem;
    font-weight: 500;
}

.hod-trust-item i {
    color: #7fb2f0;
    font-size: 1rem;
}

/* ── HERO ENQUIRY CARD ─────────────────────────────────── */
.hod-form-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 10, 30, .45);
    overflow: hidden;
}

.hod-form-card-head {
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--blue-pale);
}

.hod-form-card-head h2,
.hod-form-card-head h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.24rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin: 0 0 6px;
}

.hod-form-card-head p {
    font-size: .86rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.hod-form-body {
    padding: 22px 28px 26px;
}

.hod-field {
    margin-bottom: 14px;
}

.hod-field label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.hod-field label span {
    color: var(--accent);
}

.hod-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hod-input-wrap>i {
    position: absolute;
    left: 13px;
    color: var(--muted);
    font-size: .95rem;
    pointer-events: none;
}

.hod-input-wrap.hod-textarea-wrap>i {
    top: 13px;
    align-self: flex-start;
}

.hod-input-wrap input,
.hod-input-wrap select,
.hod-input-wrap textarea {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    font-family: inherit;
    font-size: .92rem;
    color: var(--dark);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hod-input-wrap textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.6;
}

.hod-input-wrap select {
    appearance: none;
    cursor: pointer;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3E%3Cpath d='M8 11.5 3.5 7h9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 13px;
}

.hod-input-wrap input::placeholder,
.hod-input-wrap textarea::placeholder {
    color: #9ca3af;
}

.hod-input-wrap input:focus,
.hod-input-wrap select:focus,
.hod-input-wrap textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(0, 97, 194, .13);
}

.hod-input-wrap input[aria-invalid="true"],
.hod-input-wrap select[aria-invalid="true"],
.hod-input-wrap textarea[aria-invalid="true"] {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
}

.hod-field-error {
    display: none;
    margin: 5px 0 0;
    font-size: .78rem;
    color: #c0392b;
}

.hod-field-error.is-shown {
    display: block;
}

.hod-captcha {
    margin: 4px 0 14px;
    transform-origin: 0 0;
}

.hod-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: .98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hod-submit:hover:not(:disabled) {
    background: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -12px rgba(0, 74, 153, .8);
}

.hod-submit:disabled {
    opacity: .68;
    cursor: not-allowed;
}

.hod-submit .hod-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hod-spin .7s linear infinite;
}

@keyframes hod-spin {
    to {
        transform: rotate(360deg);
    }
}

.hod-microcopy {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 12px 0 0;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--muted);
}

.hod-microcopy i {
    color: var(--green);
    margin-top: 2px;
}

/* ── ENGAGEMENT MODEL CARDS ───────────────────────────── */
.hod-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 24px;
}

.hod-model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hod-model-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-mid);
    box-shadow: var(--sh-md);
}

.hod-model-card.is-featured {
    border-color: var(--blue);
    box-shadow: 0 14px 40px -18px rgba(0, 74, 153, .55);
}

.hod-model-flag {
    position: absolute;
    top: -12px;
    left: 26px;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--blue);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hod-model-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 1.3rem;
}

.hod-model-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}

.hod-model-card>p {
    font-size: .93rem;
    color: var(--mid);
    line-height: 1.65;
    margin: 0 0 16px;
}

.hod-model-meta {
    list-style: none;
    margin: 0 0 20px;
    padding: 16px 0 0;
    border-top: 1px dashed var(--border);
}

.hod-model-meta li {
    display: flex;
    gap: 9px;
    font-size: .86rem;
    color: var(--mid);
    padding: 5px 0;
}

.hod-model-meta li i {
    color: var(--green);
    margin-top: 4px;
    flex-shrink: 0;
}

.hod-model-card .hod-model-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

.hod-model-card .hod-model-cta:hover {
    text-decoration: underline;
}

/* ── FULL ENQUIRY SECTION ─────────────────────────────── */
.hod-enquiry {
    position: relative;
    padding: 76px 0;
    background: linear-gradient(135deg, #001231 0%, #00306b 55%, #004a99 100%);
    overflow: hidden;
}

.hod-enquiry::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .5;
}

.hod-enquiry-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    gap: 56px;
    align-items: center;
}

.hod-enquiry-copy h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.22;
    margin: 0 0 16px;
}

.hod-enquiry-copy>p {
    color: rgba(255, 255, 255, .76);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 26px;
    max-width: 520px;
}

.hod-next-steps {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    counter-reset: hodstep;
}

.hod-next-steps li {
    position: relative;
    counter-increment: hodstep;
    padding: 0 0 18px 46px;
    color: rgba(255, 255, 255, .8);
    font-size: .93rem;
    line-height: 1.6;
}

.hod-next-steps li::before {
    content: counter(hodstep);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: .82rem;
    font-weight: 700;
}

.hod-next-steps li strong {
    display: block;
    color: #fff;
    font-size: .96rem;
    margin-bottom: 2px;
}

.hod-direct {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hod-direct a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}

.hod-direct a:hover {
    text-decoration: underline;
}

.hod-direct a i {
    color: #7fb2f0;
}

.hod-enquiry .hod-form-card {
    box-shadow: 0 34px 80px rgba(0, 8, 24, .55);
}

.hod-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

/* ── CTA PANEL: full-width variant ────────────────────── */
/* odoo-pages.css only paints .op-cta-panel h3 white; this page uses an h2 there
   for heading order, and the panel spans the full container instead of sitting
   in a narrow column, so the flex column stretched the button edge to edge. */
.op-cta-panel h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.hod-cta-wide .op-cta-panel-inner {
    align-items: flex-start;
    padding: 42px 40px;
}

.hod-cta-wide .op-cta-panel-inner p {
    max-width: 760px;
}

.hod-cta-wide .op-cta-panel-inner .btn-white {
    align-self: flex-start;
    margin-top: 6px;
}

@media (max-width: 575px) {
    .hod-cta-wide .op-cta-panel-inner {
        padding: 32px 24px;
    }

    .hod-cta-wide .op-cta-panel-inner .btn-white {
        align-self: stretch;
        justify-content: center;
    }
}

/* Narrow-column CTA panel: op-cta-panel-inner is a flex column, so a lone
   .btn-white stretches edge to edge. Keep it button-sized. */
.hod-cta-tight .op-cta-panel-inner .btn-white {
    align-self: flex-start;
}

/* Short copy beside a tall image reads better centred than top-aligned. */
.hod-media-center {
    align-items: center;
}

/* reCAPTCHA is lazy-loaded on first interaction; reserve its height so the
   submit button doesn't jump when the widget appears (CLS). */
.hod-captcha {
    min-height: 78px;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1199px) {
    .hod-hero-split {
        gap: 40px;
    }
}

@media (max-width: 991px) {

    .hod-hero-split,
    .hod-enquiry-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hod-enquiry-copy>p {
        max-width: none;
    }

    .hod-form-card {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 575px) {

    .hod-form-card-head,
    .hod-form-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hod-form-row {
        grid-template-columns: 1fr;
    }

    .hod-captcha {
        transform: scale(.87);
    }

    .hod-trust {
        gap: 10px 16px;
    }
}
