/* ============================================================
   i-BnB — Inner page styles (Services / Career / Contact)
   Extends css/styles.css — load this file after it.
   ============================================================ */

/* ---------- PAGE HERO (shared banner for inner pages) ---------- */
.page-hero {
    padding: 100px 16px 40px;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--rule);
}
.page-hero-inner { max-width: var(--content-w); margin: 0 auto; }
.page-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 10px;
}
.page-title .accent { color: var(--red); }
.page-sub {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-top: 14px;
    max-width: 56ch;
}

/* ---------- HUB GRID (services.html quick links) ---------- */
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.hub-card {
    display: block;
    text-decoration: none;
    color: var(--ink);
    border: 1.5px solid var(--rule);
    border-radius: var(--radius-m);
    padding: 20px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hub-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(28, 18, 17, 0.3); }
.hub-card h3 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin-top: 14px; }
.hub-card p { font-size: 13px; color: var(--ink-soft); margin-top: 5px; }
.hub-card.wide { grid-column: 1 / -1; }

/* ---------- SERVICE DETAIL SECTIONS ---------- */
.service-detail { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--rule); }
.service-detail:first-of-type { margin-top: 44px; }

.detail-head { display: flex; align-items: flex-start; gap: 14px; }
.detail-icon {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    background: var(--red-tint); color: var(--red-deep);
    display: flex; align-items: center; justify-content: center;
}
.detail-icon-dark { background: var(--ink); color: var(--paper); }
.detail-head .section-title { margin-top: 4px; max-width: 26ch; }

.detail-intro { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin-top: 18px; max-width: 62ch; }

.detail-columns { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.detail-columns h4 { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--red); }

.check-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.check-list li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Outlined';
    position: absolute; left: 0; top: 0;
    font-size: 17px; color: #2f9e5c;
}

.ideal-text { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-top: 12px; }

.service-detail .btn { margin-top: 26px; }

/* ---------- VALUE GRID (career.html "Why build with i-BnB") ---------- */
.value-section { margin-top: 8px; }
.value-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.value-card { border-radius: var(--radius-m); padding: 20px; }
.value-card.dark { background: var(--ink); color: rgba(255, 255, 255, 0.92); }
.value-card.dark p { color: rgba(255, 255, 255, 0.62); }
.value-card.light { background: var(--red-tint); color: var(--ink); }
.value-card.outline { background: var(--paper); border: 1.5px solid var(--rule); color: var(--ink); }
.value-chip {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-chip .material-symbols-outlined { font-size: 20px; }
.value-chip.on-dark { background: var(--red); color: var(--paper); }
.value-chip.on-light { background: var(--red); color: var(--paper); }
.value-chip.on-outline { background: var(--ink); color: var(--paper); }
.value-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-top: 14px; }
.value-card p { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }
.value-card.wide { display: flex; align-items: flex-start; gap: 16px; }
.value-card.wide .value-chip { margin-top: 2px; }
.value-card.wide h3 { margin-top: 0; }

/* ---------- ROLES (career.html) ---------- */
.roles-section { margin-top: 48px; }
.role-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.role-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border: 1.5px solid var(--rule);
    border-radius: var(--radius-m);
    padding: 16px 18px;
    transition: border-color 0.2s ease;
}
.role-card:hover { border-color: var(--red); }
.role-info h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.role-info p { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.role-apply {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.role-apply .material-symbols-outlined { font-size: 15px; }
.roles-fallback { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }
.roles-fallback a { color: var(--red); font-weight: 600; text-decoration: none; }

/* ---------- CONTACT PAGE ---------- */
.contact-layout { display: flex; flex-direction: column; gap: 24px; margin-top: 4px; }

.contact-form-card,
.location-card {
    background: var(--paper);
    border: 1.5px solid var(--rule);
    border-radius: var(--radius-m);
    padding: 22px;
}

.contact-form-card form { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.form-row .optional { font-weight: 400; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea {
    font-family: var(--font-body);
    font-size: 14.5px;
    padding: 12px 14px;
    border-radius: var(--radius-s);
    border: 1.5px solid var(--rule);
    background: var(--paper-warm);
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--red); }
.form-row textarea { resize: vertical; min-height: 96px; }
.contact-form-card .btn { margin-top: 6px; }
.form-status { font-size: 13px; color: #2f9e5c; font-weight: 600; min-height: 18px; }

.location-card { margin-top: 0; }
.location-details { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.location-details li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.location-details li a { color: var(--ink); text-decoration: none; font-weight: 600; }
.location-details .material-symbols-outlined { font-size: 18px; color: var(--red); flex-shrink: 0; }

.map-embed { margin-top: 18px; border-radius: var(--radius-s); overflow: hidden; border: 1.5px solid var(--rule); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.location-card .cta-fine { margin-top: 16px; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 768px) {
    .page-hero { padding: 140px 32px 56px; }
    .page-hero-inner { max-width: 1040px; }
    .page-title { font-size: 44px; max-width: 20ch; }
    .page-sub { font-size: 16px; }

    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .value-card.wide { grid-column: 1 / -1; align-items: center; }

    .hub-grid { grid-template-columns: repeat(2, 1fr); }
    .hub-card.wide { grid-column: 1 / -1; }

    .detail-columns { grid-template-columns: 1.3fr 1fr; }

    .role-card { padding: 18px 22px; }

    .contact-layout { flex-direction: row; align-items: flex-start; gap: 28px; }
    .contact-form-card { flex: 1.15; }
    .location-card { flex: 0.85; position: sticky; top: 96px; }
}

@media (min-width: 1024px) {
    .page-hero-inner { max-width: 1140px; }
    .page-title { font-size: 50px; }
}