/* =========================================================
   SUBHANKAR URBAN SPACES — Inner Page Styles
   Reusable across all inner pages (homestay, real-estate,
   asset-management, hospitality, etc.)
   Depends on the global palette variables in subhankar-urban.css
   ========================================================= */

/* ---------------------------------------------------------
   INNER HERO / BREADCRUMB
   --------------------------------------------------------- */
.ip-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--ivory);
    background: var(--charcoal);
}
.ip-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ip-hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08);
    animation: ipHeroZoom 8s var(--ease) forwards;
}
@keyframes ipHeroZoom { to { transform: scale(1); } }
.ip-hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(15,29,58,0.92) 0%, rgba(20,38,74,0.45) 55%, rgba(20,38,74,0.55) 100%);
}
.ip-hero__inner {
    position: relative; z-index: 2; width: 100%;
    padding-top: 180px; padding-bottom: 70px;
}
.ip-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(245,247,251,0.7); margin-bottom: 24px;
}
.ip-breadcrumb a { color: rgba(245,247,251,0.7); transition: color 0.3s var(--ease); }
.ip-breadcrumb a:hover { color: var(--gold-soft); }
.ip-breadcrumb .sep { color: var(--red); }
.ip-breadcrumb .current { color: var(--white); }
.ip-hero__eyebrow { margin-bottom: 18px; }
.ip-hero h1 {
    font-family: var(--display); font-weight: 500;
    font-size: clamp(38px, 5.5vw, 74px); color: var(--white);
    line-height: 1.08; margin-bottom: 20px; max-width: 18ch;
}
.ip-hero__sub { font-size: 18px; font-weight: 300; color: rgba(245,247,251,0.88); max-width: 60ch; }

/* ---------------------------------------------------------
   GENERIC INNER SECTION
   --------------------------------------------------------- */
.ip-section { padding: 110px 0; }
.ip-section--tight { padding: 80px 0; }
.ip-section--light { background: var(--white); }
.ip-section--ivory { background: var(--ivory); }

.ip-head { max-width: 680px; margin-bottom: 56px; }
.ip-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.ip-head .eyebrow { margin-bottom: 18px; }
.ip-head h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 18px; }
.ip-head h2 em { font-style: italic; color: var(--gold); }
.ip-head p { color: var(--stone); font-size: 17px; }

/* ---------------------------------------------------------
   INTRO SPLIT (text + image)
   --------------------------------------------------------- */
.ip-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.ip-split--reverse .ip-split__media { order: 2; }
.ip-split__content .eyebrow { margin-bottom: 20px; }
.ip-split__content h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 22px; }
.ip-split__content h2 em { font-style: italic; color: var(--gold); }
.ip-split__content p { color: var(--stone); font-size: 16px; margin-bottom: 18px; }
.ip-split__media { position: relative; }
.ip-split__media img { width: 100%; height: 520px; object-fit: cover; }
.ip-split__media .ip-badge {
    position: absolute; left: -26px; bottom: 34px;
    background: var(--brand-blue); color: var(--white);
    padding: 22px 26px; box-shadow: 0 16px 44px rgba(20,38,74,0.28);
}
.ip-split__media .ip-badge .num { font-family: var(--display); font-size: 28px; line-height: 1; }
.ip-split__media .ip-badge .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------------------------------------------------------
   FEATURE CARDS (offerings)
   --------------------------------------------------------- */
.ip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ip-card {
    background: var(--white); border: 1px solid var(--line);
    display: flex; flex-direction: column; overflow: hidden;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ip-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(20,38,74,0.14); }
.ip-card__img { overflow: hidden; height: 230px; }
.ip-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ip-card:hover .ip-card__img img { transform: scale(1.07); }
.ip-card__body { padding: 32px 30px 34px; flex: 1; display: flex; flex-direction: column; }
.ip-card__num { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 14px; font-weight: 600; }
.ip-card h3 { font-size: 23px; margin-bottom: 10px; }
.ip-card__sub { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); margin: 0 0 12px !important; }
.ip-card p { color: var(--stone); font-size: 15px; margin: 0; }

/* ---------------------------------------------------------
   PARTNERS (logo grid)
   --------------------------------------------------------- */
.ip-partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.ip-partner {
    background: var(--white); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    padding: 26px 20px; min-height: 120px;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ip-partner:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,38,74,0.12); }
.ip-partner img {
    max-width: 100%; max-height: 60px; width: auto; height: auto;
    object-fit: contain;
    transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}
.ip-partner:hover img { filter: grayscale(0); opacity: 1; }

/* ---------------------------------------------------------
   SERVICES / INCLUDES LIST (checklist)
   --------------------------------------------------------- */
.ip-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.ip-include {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 22px 0; border-bottom: 1px solid var(--line);
}
.ip-include__tick {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand-blue); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    transition: background 0.4s var(--ease);
}
.ip-include:hover .ip-include__tick { background: var(--red); }
.ip-include span.txt { font-size: 16px; color: var(--charcoal); font-weight: 500; padding-top: 5px; }

/* ---------------------------------------------------------
   STATS STRIP
   --------------------------------------------------------- */
.ip-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); background: var(--white);
}
.ip-stat { padding: 40px 30px; border-right: 1px solid var(--line); }
.ip-stat:last-child { border-right: none; }
.ip-stat .num { font-family: var(--display); font-size: 40px; color: var(--brand-blue); line-height: 1; margin-bottom: 10px; }
.ip-stat .label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }

/* ---------------------------------------------------------
   INNER CTA
   --------------------------------------------------------- */
.ip-cta { padding: 0 0 110px; }
.ip-cta__panel {
    position: relative; overflow: hidden; border-radius: 8px;
    background: linear-gradient(135deg, var(--charcoal-2) 0%, var(--charcoal) 55%, var(--brand-blue-dark) 100%);
    color: var(--ivory); padding: 80px 60px; text-align: center;
}
.ip-cta__panel::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to right, var(--brand-blue) 0%, var(--brand-blue) 62%, var(--red) 62%, var(--red) 100%);
}
.ip-cta__panel .eyebrow { margin-bottom: 20px; }
.ip-cta__panel h2 { font-size: clamp(32px, 4.6vw, 58px); color: var(--white); margin-bottom: 20px; }
.ip-cta__panel p { color: rgba(245,247,251,0.9); font-size: 17px; font-weight: 300; max-width: 60ch; margin: 0 auto 38px; }
.ip-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------
   CAREERS — JOB LISTINGS
   --------------------------------------------------------- */
.ip-jobs { display: flex; flex-direction: column; gap: 64px; }
.ip-jobgroup__head {
    display: flex; align-items: baseline; gap: 18px;
    margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.ip-jobgroup__head .eyebrow { color: var(--red); }
.ip-jobgroup__head h3 { font-size: clamp(22px, 3vw, 32px); }
.ip-jobgroup__count {
    margin-left: auto; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--stone);
}
.ip-joblist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ip-job {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: var(--white); border: 1px solid var(--line);
    padding: 24px 26px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative;
}
.ip-job::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--brand-blue); transform: scaleY(0); transform-origin: bottom;
    transition: transform 0.4s var(--ease);
}
.ip-job:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,38,74,0.12); border-color: transparent; }
.ip-job:hover::before { transform: scaleY(1); transform-origin: top; }
.ip-job__info { min-width: 0; }
.ip-job__title { font-family: var(--display); font-size: 20px; color: var(--charcoal); margin-bottom: 6px; }
.ip-job__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--stone); }
.ip-job__meta .loc { position: relative; padding-left: 16px; }
.ip-job__meta .loc::before { content: ""; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ip-job__meta .type { color: var(--brand-blue); font-weight: 600; letter-spacing: 0.04em; }
.ip-job__apply {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.ip-job:hover .ip-job__apply { background: var(--brand-blue); color: var(--white); border-color: var(--brand-blue); transform: rotate(-45deg); }

/* ---------------------------------------------------------
   CAREERS — JOB ACCORDION
   --------------------------------------------------------- */
.ip-accordion { display: flex; flex-direction: column; gap: 16px; }
.ip-acc {
    background: var(--white); border: 1px solid var(--line);
    transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.ip-acc::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--brand-blue); transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s var(--ease);
}
.ip-acc.is-open { box-shadow: 0 18px 44px rgba(20,38,74,0.12); border-color: transparent; }
.ip-acc.is-open::before { transform: scaleY(1); }

.ip-acc__head {
    width: 100%; background: none; border: none; cursor: pointer; text-align: left;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 24px 28px; font-family: var(--sans);
    transition: background 0.3s var(--ease);
}
.ip-acc__head:hover { background: var(--ivory); }
.ip-acc__title-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ip-acc__title { font-family: var(--display); font-size: 20px; color: var(--charcoal); line-height: 1.2; }
.ip-acc.is-open .ip-acc__title { color: var(--brand-blue); }
.ip-acc__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--stone); }
.ip-acc__meta .loc { position: relative; padding-left: 16px; }
.ip-acc__meta .loc::before { content: ""; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ip-acc__meta .type { color: var(--brand-blue); font-weight: 600; letter-spacing: 0.04em; }

/* Plus / minus icon */
.ip-acc__icon {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); position: relative;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.ip-acc__icon::before, .ip-acc__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; background: var(--brand-blue);
    transform: translate(-50%, -50%); transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.ip-acc__icon::before { width: 13px; height: 2px; }
.ip-acc__icon::after { width: 2px; height: 13px; }
.ip-acc__head:hover .ip-acc__icon { border-color: var(--brand-blue); }
.ip-acc.is-open .ip-acc__icon { background: var(--brand-blue); border-color: var(--brand-blue); }
.ip-acc.is-open .ip-acc__icon::before, .ip-acc.is-open .ip-acc__icon::after { background: var(--white); }
.ip-acc.is-open .ip-acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

/* Panel — animated open/close via max-height */
.ip-acc__panel {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s var(--ease);
}
.ip-acc__panel[hidden] { display: block; } /* JS controls visibility via max-height */
.ip-acc__panel-inner { padding: 4px 28px 30px; border-top: 1px solid var(--line); }
.ip-acc__block { margin-top: 22px; }
.ip-acc__block h4 {
    font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--charcoal); margin-bottom: 10px;
}
.ip-acc__block p { color: var(--stone); font-size: 15px; margin: 0; }
.ip-acc__list { margin: 0; padding: 0; list-style: none; }
.ip-acc__list li {
    position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--stone); font-size: 15px;
}
.ip-acc__list li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
    background: var(--red); border-radius: 50%;
}

/* Quick facts grid */
.ip-acc__facts {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); margin-top: 22px;
}
.ip-acc__fact { background: var(--ivory); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.ip-acc__fact .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); font-weight: 600; }
.ip-acc__fact .v { font-size: 14px; color: var(--charcoal); }

.ip-acc__actions { margin-top: 26px; }

/* Rich job description (HTML from DB: job_desc) */
.ip-acc__desc h2 {
    font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--charcoal); margin: 0 0 12px;
}
.ip-acc__desc .job_data,
.ip-acc__desc ul { list-style: none; margin: 0; padding: 0; }
.ip-acc__desc .job_data > li { position: relative; padding-left: 20px; margin-bottom: 12px; color: var(--stone); font-size: 15px; }
.ip-acc__desc .job_data > li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
    background: var(--red); border-radius: 50%;
}
.ip-acc__desc .job_eli_headding { color: var(--brand-blue); }
.ip-acc__desc ul ul { margin: 8px 0 0; padding-left: 4px; }
.ip-acc__desc ul ul li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: 14px; color: var(--stone); }
.ip-acc__desc ul ul li::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 1px; background: var(--stone-light);
}

/* Job areas legend (from Job Area array) */
.ip-jobareas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.ip-jobarea {
    display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.06em; color: var(--brand-blue);
    background: var(--white); border: 1px solid var(--line);
    padding: 8px 16px; border-radius: 40px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ip-jobarea:hover { background: var(--brand-blue); color: var(--white); border-color: var(--brand-blue); }

.ip-jobs-empty { color: var(--stone); font-size: 16px; }
.ip-jobs-empty a { color: var(--brand-blue); text-decoration: underline; }

/* ---------------------------------------------------------
   CAREERS — APPLICATION FORM
   --------------------------------------------------------- */
.ip-form-wrap {
    max-width: 960px; margin: 0 auto;
    background: var(--white); border: 1px solid var(--line);
    padding: 52px 52px 48px; border-radius: 8px;
    box-shadow: 0 24px 60px rgba(20,38,74,0.06);
}
.ip-form-intro { margin-bottom: 30px; }
.ip-form-intro .eyebrow { margin-bottom: 14px; }
.ip-form-intro h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.ip-form-intro h2 em { font-style: italic; color: var(--gold); }
.ip-form-intro p { color: var(--stone); font-size: 15px; }

/* -------------------------------------------------
   Application form (uses Bootstrap-style classes).
   Self-contained grid so it renders correctly even
   without the Bootstrap grid stylesheet loaded.
   ------------------------------------------------- */
.ip-apply-form .title {
    font-family: var(--display); font-size: 24px; color: var(--charcoal);
    margin: 34px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.ip-apply-form .title:first-child { margin-top: 0; }

/* Rows / columns */
.ip-apply-form .row {
    display: flex; flex-wrap: wrap;
    margin-right: -12px; margin-left: -12px;
}
.ip-apply-form .row > [class*="col-md-"] { padding-right: 12px; padding-left: 12px; margin-bottom: 22px; }
.ip-apply-form .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.ip-apply-form .col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* Labels */
.ip-apply-form .input-field label {
    display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    color: var(--charcoal); margin-bottom: 9px;
}
.ip-apply-form .input-field label .text-small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--stone); }

/* Text / date / select / textarea */
.ip-apply-form .form-control,
.ip-apply-form select,
.ip-apply-form textarea,
.ip-apply-form input[type="file"] {
    font-family: var(--sans); font-size: 15px; color: var(--charcoal);
    background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
    padding: 13px 15px; width: 100%;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ip-apply-form textarea { resize: vertical; min-height: 130px; }
.ip-apply-form select { cursor: pointer; 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 fill='%2320408A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.ip-apply-form .form-control::placeholder,
.ip-apply-form textarea::placeholder { color: var(--stone-light); }
.ip-apply-form .form-control:focus,
.ip-apply-form select:focus,
.ip-apply-form textarea:focus,
.ip-apply-form input[type="file"]:focus {
    outline: none; border-color: var(--brand-blue); background: var(--white);
    box-shadow: 0 0 0 3px rgba(32,64,138,0.12);
}
.ip-apply-form input[type="file"] { padding: 11px 14px; cursor: pointer; }

/* Skills / Qualifications checkboxes */
.ip-apply-form .fields111 { margin-bottom: 22px; }
.ip-apply-form .fields111 .fields {
    display: flex; flex-wrap: wrap; gap: 14px 28px;
}
.ip-apply-form .fields111 .d-flex.align-items-center {
    display: flex; align-items: center; gap: 10px;
    background: var(--ivory); border: 1px solid var(--line); border-radius: 40px;
    padding: 10px 18px;
}
.ip-apply-form .fields111 label { margin: 0; font-weight: 500; font-size: 14px; color: var(--charcoal); }
.ip-apply-form .fields111 input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--brand-blue); cursor: pointer; }

/* reCAPTCHA placeholder */
.ip-apply-form .g-recaptcha {
    min-height: 78px; border: 1px dashed var(--stone-light); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: var(--stone); font-size: 13px; background: var(--ivory);
}
.ip-apply-form .g-recaptcha::before { content: "reCAPTCHA"; }

/* Buttons */
.ip-apply-form .btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 15px 32px; border-radius: 4px; cursor: pointer;
    border: 1px solid transparent; transition: all 0.4s var(--ease); margin-top: 10px;
}
.ip-apply-form .btn.btn-primary {
    background: transparent; color: var(--charcoal); border-color: var(--charcoal); margin-right: 12px;
}
.ip-apply-form .btn.btn-primary:hover { background: var(--charcoal); color: var(--white); }
.ip-apply-form .theme-btn-2 {
    background: var(--brand-blue); color: var(--white); border-color: var(--brand-blue);
}
.ip-apply-form .theme-btn-2:hover { background: var(--red); border-color: var(--red); }

/* ---------------------------------------------------------
   CONTACT PAGE
   --------------------------------------------------------- */
.ip-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }

/* Info column */
.ip-contact__info .eyebrow { margin-bottom: 16px; }
.ip-contact__info h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.ip-contact__info h2 em { font-style: italic; color: var(--gold); }
.ip-contact__info > p { color: var(--stone); font-size: 16px; margin-bottom: 34px; max-width: 46ch; }

.ip-contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ip-contact-card {
    display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line);
    border-radius: 6px; padding: 22px 22px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.ip-contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,38,74,0.10); border-color: transparent; }
.ip-contact-card__icon {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
    background: var(--brand-blue); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.ip-contact-card:hover .ip-contact-card__icon { background: var(--red); }
.ip-contact-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ip-contact-card__body .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); font-weight: 600; }
.ip-contact-card__body .v { font-size: 14px; color: var(--charcoal); line-height: 1.5; word-break: break-word; }
a.ip-contact-card__body, .ip-contact-card__body a.v { transition: color 0.3s var(--ease); }

/* Social links row spans full width beneath the contact cards */
.ip-contact-social { grid-column: 1 / -1; margin-top: 6px; }
.ip-contact-card__body a.v:hover { color: var(--brand-blue); }

/* Form column */
.ip-contact-formcard {
    background: var(--white); border: 1px solid var(--line); border-radius: 8px;
    padding: 40px 40px 36px; box-shadow: 0 24px 60px rgba(20,38,74,0.06);
    position: relative; overflow: hidden;
}
.ip-contact-formcard::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to right, var(--brand-blue) 0%, var(--brand-blue) 62%, var(--red) 62%, var(--red) 100%);
}
.ip-contact-formcard h3 { font-family: var(--display); font-size: 28px; margin-bottom: 6px; }
.ip-contact-formcard__sub { color: var(--stone); font-size: 15px; margin-bottom: 28px; }

.ip-cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.ip-cfield { display: flex; flex-direction: column; }
.ip-cfield--full { grid-column: 1 / -1; }
.ip-cfield label {
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 8px;
}
.ip-cfield input,
.ip-cfield textarea {
    font-family: var(--sans); font-size: 15px; color: var(--charcoal);
    background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
    padding: 13px 15px; width: 100%;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ip-cfield textarea { resize: vertical; min-height: 130px; }
.ip-cfield input::placeholder,
.ip-cfield textarea::placeholder { color: var(--stone-light); }
.ip-cfield input:focus,
.ip-cfield textarea:focus {
    outline: none; border-color: var(--brand-blue); background: var(--white);
    box-shadow: 0 0 0 3px rgba(32,64,138,0.12);
}
.ip-cform__actions { margin-top: 26px; }
.ip-cform__actions .su-btn { border: none; }

/* ---------------------------------------------------------
   ALERTS (flashdata: success / error)
   --------------------------------------------------------- */
.ip-alert {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 16px 16px 18px; border-radius: 6px;
    margin-bottom: 24px; position: relative;
    border: 1px solid transparent; border-left-width: 4px;
    animation: ipAlertIn 0.45s var(--ease) both;
}
@keyframes ipAlertIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ip-alert__icon {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: var(--white); margin-top: 1px;
}
.ip-alert__body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ip-alert__body strong { font-size: 14px; letter-spacing: 0.02em; }
.ip-alert__body span { font-size: 14px; line-height: 1.5; }
.ip-alert__close {
    flex: 0 0 auto; background: none; border: none; cursor: pointer;
    font-size: 22px; line-height: 1; color: currentColor; opacity: 0.55;
    padding: 0 2px; transition: opacity 0.3s var(--ease);
}
.ip-alert__close:hover { opacity: 1; }

/* Success (brand blue) */
.ip-alert--success {
    background: rgba(32,64,138,0.07); border-color: var(--brand-blue); color: var(--brand-blue-dark);
}
.ip-alert--success .ip-alert__icon { background: var(--brand-blue); }

/* Error (brand red) */
.ip-alert--error {
    background: rgba(214,34,49,0.07); border-color: var(--red); color: #a01824;
}
.ip-alert--error .ip-alert__icon { background: var(--red); }

/* Dismissed state */
.ip-alert.is-hidden { display: none; }

/* Value / benefit cards for careers (icon-free, text-led) */
.ip-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ip-value { border-top: 2px solid var(--brand-blue); padding-top: 24px; }
.ip-value h4 { font-size: 20px; margin-bottom: 10px; }
.ip-value p { color: var(--stone); font-size: 15px; margin: 0; }

/* ---------------------------------------------------------
   SCROLL REVEAL (reuse .reveal from global JS/observer)
   Local fallback in case a page loads without global reveal
   --------------------------------------------------------- */
.ip-reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.ip-reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1100px) {
    .ip-cards { grid-template-columns: repeat(2, 1fr); }
    .ip-partners { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .ip-section { padding: 80px 0; }
    .ip-hero { min-height: 54vh; }
    .ip-hero__inner { padding-top: 150px; padding-bottom: 56px; }

    .ip-split { grid-template-columns: 1fr; gap: 44px; }
    .ip-split--reverse .ip-split__media { order: -1; }
    .ip-split__media img { height: 420px; }

    .ip-stats { grid-template-columns: repeat(2, 1fr); }
    .ip-stat { border-bottom: 1px solid var(--line); }
    .ip-stat:nth-child(2) { border-right: none; }

    .ip-values { grid-template-columns: 1fr; gap: 24px; }
    .ip-values .ip-value { border-top: none; border-bottom: 1px solid var(--line); padding: 0 0 22px; }
    .ip-values .ip-value:first-child { border-top: 2px solid var(--brand-blue); padding-top: 24px; }

    .ip-apply-form .col-md-4 { flex: 0 0 50%; max-width: 50%; }
    .ip-form-wrap { padding: 40px 34px 36px; }

    .ip-contact { grid-template-columns: 1fr; gap: 44px; }
    .ip-contact-formcard { padding: 34px 30px 30px; }
}

@media (max-width: 600px) {
    .ip-section { padding: 64px 0; }
    .ip-hero { min-height: 48vh; }
    .ip-hero__inner { padding-top: 130px; padding-bottom: 44px; }
    .ip-hero__sub { font-size: 16px; }

    .ip-cards { grid-template-columns: 1fr; }
    .ip-partners { grid-template-columns: repeat(2, 1fr); }
    .ip-includes { grid-template-columns: 1fr; gap: 0; }
    .ip-joblist { grid-template-columns: 1fr; }
    .ip-jobgroup__count { width: 100%; margin-left: 0; }
    .ip-acc__head { padding: 20px 20px; }
    .ip-acc__panel-inner { padding: 4px 20px 26px; }
    .ip-acc__facts { grid-template-columns: 1fr; }
    .ip-acc__actions .su-btn { display: flex; justify-content: center; }

    .ip-form-wrap { padding: 32px 22px 30px; }
    .ip-apply-form .col-md-4 { flex: 0 0 100%; max-width: 100%; }
    .ip-apply-form .btn { width: 100%; margin-right: 0; }

    .ip-contact__cards { grid-template-columns: 1fr; }
    .ip-cform__grid { grid-template-columns: 1fr; gap: 18px; }
    .ip-contact-formcard { padding: 30px 22px 26px; }
    .ip-cform__actions .su-btn { display: flex; justify-content: center; }

    .ip-split__media img { height: 320px; }
    .ip-split__media .ip-badge { left: 0; padding: 16px 20px; }

    .ip-stats { grid-template-columns: 1fr; }
    .ip-stat { border-right: none; }
    .ip-stat:last-child { border-bottom: none; }

    .ip-cta { padding-bottom: 64px; }
    .ip-cta__panel { padding: 52px 24px; border-radius: 6px; }
    .ip-cta__actions { flex-direction: column; align-items: stretch; }
    .ip-cta__actions .su-btn { justify-content: center; }
}
