/*====================================================
  CONSULTING PAGE
  Reuses the shared header + fonts from style.css.
  Only page-specific styles live here.
====================================================*/

.consulting-body {
    margin: 0;
    background: #050505;
}

/*====================================================
  HERO
====================================================*/

.con-hero {
    height: 760px;
    display: flex;
    flex-direction: column;
    /* Supplied smoke background image, covering the whole hero */
    background-image: url("../assets/image-08.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #050505;
}

/* Content area above the bottom strip */
.con-hero-content {
    flex: 1;
    display: flex;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: var(--header-height) 40px 0;
    box-sizing: border-box;
    min-height: 0;
}

/* Left 48% / right 52% */
.con-left {
    flex: 1 1 48%;
    min-width: 0;
    display: flex;
    align-items: flex-end;          /* portrait bottom-aligned */
    padding-left: 70px;
    box-sizing: border-box;
}

.con-left img {
    display: block;
    width: 687px;
    /* max-width: 100%; */
    height: 512px;                   /* keep aspect ratio, no crop/stretch */
}

.con-right {
    flex: 1 1 52%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;        /* vertically centered */
    align-items: flex-end;          /* aligned toward the right */
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Title */
.con-title {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 110px;
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
}


/*====================================================
  BOTTOM STRIP
====================================================*/

.con-strip {
    height: 80px;
    display: flex;
    align-items: center;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.con-strip-inner {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.con-strip span {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
}


/*====================================================
  RESPONSIVE
====================================================*/

/* Tablet - portrait above title */
@media (max-width: 1000px) {
    .con-hero { height: auto; }
    .con-hero-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: calc(var(--header-height) + 40px) 20px 40px;
    }
    .con-left, .con-right {
        flex: 1 1 auto;
        max-width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }
    .con-title { font-size: 84px; }
    .con-strip-inner { flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
}

/* Mobile */
@media (max-width: 600px) {
    .con-title { font-size: 60px; }
    .con-strip { height: auto; padding: 16px 0; }
}


/*====================================================
  ADVISORY / KEYNOTES SECTION
====================================================*/

.cs-section {
    /* Same white patterned background asset already used on the site */
    background: url("../assets/image-09.jpg") center center / cover no-repeat;
    background-color: #f1f1f1;
    padding: 80px 40px 90px;
    box-sizing: border-box;
}

.cs-container {
    max-width: 1450px;
    margin: 0 auto;
}

/* Two headings on one row */
.cs-headings {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cs-heading {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 58px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #111111;
}

/* Centered description */
.cs-desc {
    max-width: 980px;
    margin: 22px auto 34px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    color: #222222;
}

/* Image with black offset panel behind it */
.cs-image-wrap {
    display: flex;
    justify-content: center;
}

.cs-image {
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* Solid black panel behind the image, offset left + bottom */
.cs-panel {
    position: absolute;
    left: -18px;
    top: 16px;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
}

.cs-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 1180px;
    max-width: 100%;
    height: auto;               /* keep aspect ratio, no crop */
}

/* Responsive */
@media (max-width: 900px) {
    .cs-headings { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .cs-heading { font-size: 44px; }
    .cs-desc { font-size: 19px; }
}

@media (max-width: 600px) {
    .cs-section { padding: 50px 20px 60px; }
    .cs-image img { width: 100%; }
}


/*====================================================
  ADVISORY & CONSULTING DETAIL SECTION
====================================================*/

.cs2-section {
    /* Transparent -> shows the page's existing dark background (blends) */
    background: transparent;
    padding: 90px 40px;
    box-sizing: border-box;
}

.cs2-container {
    max-width: 1450px;
    margin: 0 auto;
}

/* Top two columns */
.cs2-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 70px;
}

.cs2-left { flex: 0 0 auto; }

/* Portrait with white offset frame behind */
.cs2-image {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.cs2-frame {
    position: absolute;
    left: -14px;
    top: -14px;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1;
}

.cs2-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 520px;
    max-width: 100%;
    height: auto;               /* keep aspect ratio, no crop/stretch */
}

/* Right intro (right-aligned like the reference) */
.cs2-right {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    padding-top: 6px;
}

.cs2-eyebrow {
    margin: 0 0 6px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.cs2-title {
    margin: 0 0 16px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 62px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}

.cs2-desc {
    max-width: 560px;
    margin: 0 0 0 auto;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.6;
    color: #f3f3f3;
}

/* Middle title */
.cs2-mid-title {
    margin: 70px 0 24px;
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}

/* Grey tags - 3 col grid */
.cs2-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 20px;
    max-width: none;
    margin: 0;
}

.cs2-tag {
    background: #545454;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;        /* single line, sized to its text */
}

/* Left column tags left-aligned, middle centered, right right-aligned */
.cs2-tag:nth-child(3n+1) { justify-self: start; }
.cs2-tag:nth-child(3n+2) { justify-self: center; }
.cs2-tag:nth-child(3n)   { justify-self: end; }

/* How / Who columns */
.cs2-engage {
    display: flex;
    justify-content: space-between;
    gap: 140px;
    margin-top: 70px;
}

.cs2-engage-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs2-engage-col.left  { align-items: flex-start; }
.cs2-engage-col.right { align-items: flex-end; }

.cs2-col-title {
    margin: 0 0 6px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}

.cs2-wbtn {
    display: inline-block;
    background: #ffffff;
    color: #111111;
    padding: 12px 20px;
    border-radius: 2px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
}

/* Bottom CTA - two stacked centered buttons */
.cs2-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 70px;
}

.cs2-cta-btn {
    background: #ffffff;
    color: #111111;
    padding: 14px 30px;
    border-radius: 2px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
}

/* Responsive */
@media (max-width: 1000px) {
    .cs2-top { flex-direction: column; align-items: center; gap: 32px; }
    .cs2-right { text-align: center; }
    .cs2-desc { margin: 0 auto; }
    .cs2-tags { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
    .cs2-engage { gap: 60px; }
    .cs2-col-title { font-size: 42px; }
}

@media (max-width: 640px) {
    .cs2-section { padding: 50px 20px; }
    .cs2-tags { grid-template-columns: 1fr; }
    .cs2-engage { flex-direction: column; gap: 40px; }
    .cs2-engage-col.right { align-items: flex-start; }
    .cs2-wbtn, .cs2-cta-btn { width: 100%; text-align: center; box-sizing: border-box; }
}


/*====================================================
  KEYNOTES & SPEAKING SECTION
====================================================*/

.ks-section {
    /* Same white patterned background asset already used on the site */
    background: url("../assets/image-09.jpg") center center / cover no-repeat;
    background-color: #f1f1f1;
    padding: 90px 40px;
    box-sizing: border-box;
}

.ks-container {
    max-width: 1450px;
    margin: 0 auto;
}

/* Top: 48% / 52% */
.ks-top {
    display: flex;
    align-items: flex-start;
    gap: 70px;
}

.ks-left  { flex: 1 1 48%; min-width: 0; }
.ks-right { flex: 1 1 52%; min-width: 0; display: flex; justify-content: flex-end; }

.ks-eyebrow {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #111111;
}

.ks-title {
    margin: 0 0 14px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    text-transform: uppercase;
    color: #111111;
}

.ks-desc {
    max-width: 470px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.6;
    color: #222222;
}

/* Image with black offset frame */
.ks-image {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.ks-frame {
    position: absolute;
    left: -14px;
    top: -14px;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
}

.ks-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 560px;
    max-width: 100%;
    height: auto;
}

/* Middle title */
.ks-mid-title {
    margin: 70px 0 28px;
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 58px;
    line-height: 1;
    text-transform: uppercase;
    color: #111111;
}

/* Signature talks - two columns */
.ks-talks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 90px;
}

.ks-talk {
    display: flex;
    flex-direction: column;
}

.ks-talk:nth-child(odd)  { align-items: flex-start; text-align: left; }
.ks-talk:nth-child(even) { align-items: flex-end; text-align: right; }

.ks-talk-label {
    background: #6a6a6a;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 2px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 6px;
}

.ks-talk-desc {
    background: #6a6a6a;
    color: #ffffff;
    padding: 16px 18px;
    border-radius: 2px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    max-width: 430px;
}

/* Bottom: stage/formats + image */
.ks-bottom {
    display: flex;
    justify-content: space-between;
    gap: 90px;
    margin-top: 70px;
}

.ks-bottom-left  { flex: 1 1 auto; min-width: 0; }
.ks-bottom-right { flex: 0 0 auto; }

.ks-col-title {
    margin: 0 0 16px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: 1;
    text-transform: uppercase;
    color: #111111;
}

.ks-col-title-2 { margin-top: 40px; }

.ks-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ks-tag {
    background: #ffffff;
    color: #111111;
    padding: 10px 18px;
    border-radius: 2px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

/* CTA */
.ks-cta-wrap {
    text-align: center;
    margin-top: 46px;
}

.ks-cta {
    display: inline-block;
    background: #4a4a4a;
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 3px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
}

/* Responsive */
@media (max-width: 1000px) {
    .ks-top { flex-direction: column; align-items: center; gap: 32px; text-align: center; }
    .ks-desc { max-width: none; }
    .ks-right { justify-content: center; }
    .ks-talks { grid-template-columns: 1fr; gap: 20px; }
    .ks-talk:nth-child(even) { align-items: flex-start; text-align: left; }
    .ks-bottom { flex-direction: column; align-items: center; gap: 40px; }
}

@media (max-width: 600px) {
    .ks-section { padding: 50px 20px; }
    .ks-image img { width: 100%; }
    .ks-cta { width: 100%; box-sizing: border-box; text-align: center; }
}


/*====================================================
  ADDED RESPONSIVE — all devices
  (only media-query additions; desktop rules unchanged)
====================================================*/

/* Tablet & below: every image must scale and never overflow */
@media (max-width: 1000px) {
    .con-left img { width: auto; max-width: 100%; height: auto; }
    .cs-image img,
    .cs2-image img,
    .ks-image img { max-width: 100%; height: auto; }
    .con-right { padding-right: 0; }
}

/* Small tablet */
@media (max-width: 768px) {
    .con-title { font-size: 84px; }
    .cs-heading { font-size: 40px; }
    .cs2-title { font-size: 48px; }
    .ks-title { font-size: 52px; }
    .cs2-mid-title, .ks-mid-title { font-size: 44px; }
    .cs2-col-title, .ks-col-title { font-size: 42px; }
}

/* Phone */
@media (max-width: 600px) {
    .con-title { font-size: 60px; }
    .con-strip span { font-size: 13px; letter-spacing: 0.2px; }

    .cs-section { padding: 44px 18px 50px; }
    .cs-heading { font-size: 32px; }
    .cs-desc { font-size: 17px; }

    .cs2-section { padding: 44px 18px; }
    .cs2-eyebrow { font-size: 14px; }
    .cs2-title { font-size: 40px; }
    .cs2-desc { font-size: 18px; }
    .cs2-mid-title { font-size: 38px; }
    .cs2-col-title { font-size: 38px; }
    .cs2-cta-btn { font-size: 18px; padding: 12px 22px; }

    .ks-section { padding: 44px 18px; }
    .ks-title { font-size: 44px; }
    .ks-desc { font-size: 18px; }
    .ks-mid-title { font-size: 38px; }
    .ks-col-title { font-size: 40px; }
    .ks-cta { width: 100%; box-sizing: border-box; text-align: center; }
    .ks-tags { justify-content: center; }
}

/* Very small phone */
@media (max-width: 380px) {
    .con-title { font-size: 48px; }
    .cs2-title { font-size: 32px; }
    .ks-title { font-size: 36px; }
    .cs2-mid-title, .ks-mid-title { font-size: 32px; }
    .cs2-col-title, .ks-col-title { font-size: 34px; }
}
