/*
Theme Name: Olabode Child
Theme URI: https://olabodetech.com
Description: Olabode Technologies child theme for Kadence
Author: Olabode Technologies
Template: kadence
Version: 1.0.0
*/

/* ── Brand tokens ── */
:root {
  --ot-orange:       #F87010;
  --ot-orange-hover: #D4580A;
  --ot-navy:         #083060;
  --ot-charcoal:     #1C1C1E;
  --ot-charcoal-alt: #252525;
  --ot-warm-grey:    #F7F5F2;
  --ot-heading:      #0A325A;
  --ot-body:         #2D2D2D;
  --ot-medium:       #5A5A5A;
  --ot-subtle:       #9A9A9A;
  --ot-light-sub:    #A8A8B0;
  --ot-white:        #FFFFFF;
  --ot-card-border:  #E0DDD8;
}

/* ── Typography ── */
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ot-body); }
h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ot-heading); letter-spacing: -0.02em; }

/* ── Utility classes ── */
.ot-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ot-orange);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ot-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--ot-orange);
  flex-shrink: 0;
}

.ot-section { padding: 80px 40px; }
.ot-section-sm { padding: 60px 40px; }
.ot-container { max-width: 1100px; margin: 0 auto; }
.ot-container-sm { max-width: 720px; margin: 0 auto; }

.ot-bg-charcoal { background: var(--ot-charcoal); }
.ot-bg-charcoal-alt { background: var(--ot-charcoal-alt); }
.ot-bg-navy { background: var(--ot-navy); }
.ot-bg-warm { background: var(--ot-warm-grey); }
.ot-bg-white { background: var(--ot-white); }

/* ── Buttons ── */
.ot-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ot-orange);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.ot-btn-primary:hover { background: var(--ot-orange-hover); color: #fff !important; }
.ot-btn-primary::after { content: '→'; }

.ot-btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(168,168,176,.5);
  color: var(--ot-light-sub) !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s;
}
.ot-btn-outline:hover { border-color: var(--ot-light-sub); }

.ot-btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--ot-orange);
  color: var(--ot-orange) !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.ot-btn-ghost:hover { background: rgba(248,112,16,.06); }

.ot-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Hero ── */
.ot-hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 100px 40px;
  background: var(--ot-charcoal);
}
.ot-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(248,112,16,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 75%, rgba(8,48,96,.45) 0%, transparent 50%);
  pointer-events: none;
}
.ot-hero-content { position: relative; max-width: 640px; }
.ot-hero h1 { font-size: 42px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.ot-hero-sub { font-size: 17px; color: var(--ot-light-sub); line-height: 1.75; margin-bottom: 36px; max-width: 560px; }

/* ── Section headings ── */
.ot-h2 { font-size: 30px; font-weight: 700; color: var(--ot-heading); line-height: 1.25; margin-bottom: 14px; }
.ot-h2-white { font-size: 30px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 14px; }
.ot-body-text { font-size: 15px; line-height: 1.75; color: var(--ot-medium); margin-bottom: 24px; }
.ot-body-light { font-size: 15px; line-height: 1.75; color: var(--ot-light-sub); }

/* ── Two column ── */
.ot-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ot-two-col-start { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media(max-width:768px) {
  .ot-two-col, .ot-two-col-start { grid-template-columns: 1fr; }
  .ot-hero h1 { font-size: 28px; }
  .ot-section { padding: 60px 20px; }
}

/* ── Prose section ── */
.ot-prose { font-size: 18px; line-height: 1.85; color: var(--ot-body); text-align: center; }

/* ── Icon list ── */
.ot-icon-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.ot-icon-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ot-body); }
.ot-icon-list li::before { content: '✓'; color: var(--ot-orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Intelligence card ── */
.ot-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  border: 1px solid var(--ot-card-border);
}
.ot-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.ot-card-pin { width: 30px; height: 30px; background: var(--ot-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; flex-shrink: 0; }
.ot-card-title { font-size: 12px; font-weight: 600; color: var(--ot-heading); }
.ot-card-sub { font-size: 10px; color: var(--ot-subtle); margin-top: 2px; }
.ot-card-body { font-size: 13px; line-height: 1.65; color: var(--ot-body); margin-bottom: 14px; }
.ot-pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ot-pill { font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 500; }
.ot-pill-orange { background: #FDE8D8; color: #8B3A00; }
.ot-pill-blue   { background: #E0EAF5; color: var(--ot-navy); }
.ot-pill-green  { background: #E0F5EC; color: #085030; }

/* ── Steps strip ── */
.ot-steps { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ot-card-border); border-radius: 10px; overflow: hidden; margin-top: 40px; }
.ot-step { padding: 28px 22px; border-right: 1px solid var(--ot-card-border); }
.ot-step:last-child { border-right: none; }
.ot-step-num { font-size: 36px; font-weight: 700; color: var(--ot-orange); line-height: 1; margin-bottom: 12px; }
.ot-step h3 { font-size: 14px; font-weight: 600; color: var(--ot-heading); margin-bottom: 8px; }
.ot-step p { font-size: 12px; color: var(--ot-medium); line-height: 1.65; }
@media(max-width:768px) { .ot-steps { grid-template-columns: 1fr 1fr; } .ot-step { border-bottom: 1px solid var(--ot-card-border); } }

/* ── How it works (dark 3-col) ── */
.ot-dark-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 48px; }
.ot-dark-step { padding: 32px; border-right: 1px solid #2A2A2A; }
.ot-dark-step:last-child { border-right: none; }
.ot-dark-step-num { font-size: 42px; font-weight: 700; color: var(--ot-orange); line-height: 1; margin-bottom: 14px; }
.ot-dark-step h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.ot-dark-step p { font-size: 13px; color: var(--ot-light-sub); line-height: 1.65; }
@media(max-width:768px) { .ot-dark-steps { grid-template-columns: 1fr; } .ot-dark-step { border-right: none; border-bottom: 1px solid #2A2A2A; } }

/* ── Audience cards ── */
.ot-four-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.ot-audience-card { background: var(--ot-warm-grey); border-radius: 10px; padding: 24px; }
.ot-aud-icon { font-size: 22px; margin-bottom: 12px; }
.ot-aud-title { font-size: 14px; font-weight: 600; color: var(--ot-heading); margin-bottom: 8px; }
.ot-aud-body { font-size: 12px; color: var(--ot-medium); line-height: 1.6; }
@media(max-width:900px) { .ot-four-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px) { .ot-four-grid { grid-template-columns: 1fr; } }

/* ── Principle cards ── */
.ot-principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.ot-principle-card { background: var(--ot-warm-grey); border-radius: 10px; padding: 28px 24px; border-top: 4px solid var(--ot-orange); }
.ot-principle-card h3 { font-size: 15px; font-weight: 600; color: var(--ot-heading); margin-bottom: 10px; }
.ot-principle-card p { font-size: 13px; color: var(--ot-medium); line-height: 1.65; }
@media(max-width:768px) { .ot-principle-grid { grid-template-columns: 1fr; } }

/* ── Where we are cards ── */
.ot-where-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.ot-where-card { background: #fff; border-radius: 8px; padding: 24px; border: 2px solid var(--ot-orange); }
.ot-where-label { font-size: 11px; font-weight: 700; color: var(--ot-orange); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.ot-where-body { font-size: 12px; color: var(--ot-medium); line-height: 1.65; }
@media(max-width:768px) { .ot-where-grid { grid-template-columns: 1fr; } }

/* ── Intelligence category grid ── */
.ot-intel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 40px; }
.ot-intel-cell { background: var(--ot-charcoal-alt); padding: 28px 24px; }
.ot-intel-icon { width: 32px; height: 32px; background: rgba(248,112,16,.15); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 16px; }
.ot-intel-title { font-size: 13px; font-weight: 600; color: var(--ot-orange); margin-bottom: 8px; }
.ot-intel-body { font-size: 12px; color: var(--ot-light-sub); line-height: 1.65; margin-bottom: 12px; }
.ot-intel-example { font-size: 11px; font-style: italic; color: var(--ot-subtle); border-top: 1px solid #333; padding-top: 10px; }
@media(max-width:768px) { .ot-intel-grid { grid-template-columns: 1fr; } }

/* ── Audience detail sections ── */
.ot-audience-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #F0F0EE; margin-bottom: 40px; }
.ot-audience-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ot-audience-tag { font-size: 11px; font-weight: 700; color: var(--ot-orange); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.ot-audience-h3 { font-size: 20px; font-weight: 600; color: var(--ot-heading); margin-bottom: 12px; }
@media(max-width:768px) { .ot-audience-detail { grid-template-columns: 1fr; } }

/* ── Market grid ── */
.ot-market-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.ot-market-card { background: #fff; border-radius: 10px; padding: 24px; border: 0.5px solid var(--ot-card-border); }
.ot-market-icon { font-size: 22px; margin-bottom: 10px; }
.ot-market-title { font-size: 13px; font-weight: 700; color: var(--ot-heading); margin-bottom: 6px; }
.ot-market-body { font-size: 12px; color: var(--ot-medium); line-height: 1.65; margin-bottom: 10px; }
.ot-market-tag { font-size: 11px; color: var(--ot-orange); font-weight: 600; }
@media(max-width:900px) { .ot-market-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px) { .ot-market-grid { grid-template-columns: 1fr; } }

/* ── Pull quote ── */
.ot-pull-quote { background: #fff; border-left: 3px solid var(--ot-orange); padding: 20px 24px; border-radius: 0 8px 8px 0; margin-top: 24px; font-size: 15px; font-style: italic; color: var(--ot-heading); line-height: 1.6; }

/* ── Info box ── */
.ot-info-box { background: #fff; border-left: 3px solid var(--ot-orange); border-radius: 0 8px 8px 0; padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; }
.ot-info-box-icon { font-size: 20px; flex-shrink: 0; }
.ot-info-box-title { font-size: 13px; font-weight: 600; color: var(--ot-heading); margin-bottom: 4px; }
.ot-info-box-body { font-size: 12px; color: var(--ot-medium); line-height: 1.65; }

/* ── What/What not boxes ── */
.ot-twin-box { background: var(--ot-warm-grey); border-radius: 10px; padding: 20px; }
.ot-twin-box-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.ot-twin-box-body { font-size: 13px; color: var(--ot-body); line-height: 1.65; }

/* ── Demo form ── */
.ot-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ot-form-box { background: #252525; border-radius: 12px; padding: 32px; }
.ot-form-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 24px; }
.ot-field { margin-bottom: 16px; }
.ot-field label { display: block; font-size: 11px; color: var(--ot-light-sub); font-weight: 500; margin-bottom: 6px; }
.ot-field input, .ot-field textarea, .ot-field select {
  width: 100%;
  background: #333;
  border: 1px solid #444;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 13px;
  color: #fff;
  font-family: inherit;
}
.ot-field textarea { height: 80px; resize: vertical; color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.ot-field textarea:focus { color: #FFFFFF !important; }
.ot-field textarea:focus,
.ot-field textarea:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline: none;
  border-color: #F87010;
}
.ot-form-note { font-size: 11px; color: var(--ot-subtle); text-align: center; margin-top: 12px; }
.ot-demo-points { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.ot-demo-point { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ot-light-sub); }
.ot-demo-point::before { content: '✓'; color: var(--ot-orange); font-weight: 700; flex-shrink: 0; }
@media(max-width:768px) { .ot-demo-grid { grid-template-columns: 1fr; } }

/* ── CTA section ── */
.ot-cta { text-align: center; padding: 100px 40px; background: var(--ot-charcoal); }
.ot-cta h2 { font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.ot-cta p { font-size: 16px; color: var(--ot-light-sub); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.ot-footer { background: var(--ot-navy); padding: 56px 0 0; }
.ot-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 0; }
.ot-footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.ot-footer-link { display: block; font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 12px; text-decoration: none; transition: color .2s; }
.ot-footer-link:hover { color: #fff; }
.ot-footer-company { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.8; }
.ot-footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.25); }
@media(max-width:900px) { .ot-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width:480px) { .ot-footer-grid { grid-template-columns: 1fr; } }


/* ── Hero background image ── */
.ot-hero[style*="background-image"] {
    background-color: var(--ot-charcoal);
    background-blend-mode: normal;
}
.ot-hero[style*="background-image"] .ot-hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(28,28,30,.72) !important;
    z-index: 1;
}
.ot-hero[style*="background-image"] .ot-hero-content,
.ot-hero[style*="background-image"] svg {
    position: relative;
    z-index: 2;
}

/* ── Section images ── */
.ot-section-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* ── Audience card images ── */
.ot-audience-detail img.ot-section-img {
    max-height: 380px;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

/* ── Image placeholder while no image set ── */
.ot-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--ot-warm-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-subtle);
    font-size: 13px;
}


/* ── Nav overrides ── */
.ot-site-header .custom-logo {
    max-height: 54px;
    width: auto;
    display: block;
}
.ot-site-header .custom-logo-link {
    display: flex;
    align-items: center;
}

/* Hide the text fallback when logo image exists */
.ot-site-header .custom-logo + span {
    display: none;
}

.ot-hero,
.ot-hero * {
    --hero-bg: #1C1C1E;
}
.ot-hero {
    background-color: #1C1C1E !important;
}
.ot-hero-bg {
    background: radial-gradient(ellipse at 82% 15%, rgba(248,112,16,.08) 0%, transparent 50%),
                radial-gradient(ellipse at 78% 72%, rgba(8,48,96,.18) 0%, transparent 48%) !important;
}

.ot-site-header {
    width: 100%;
    box-sizing: border-box;
}
.ot-site-header > div {
    width: 100%;
}

.ot-footer img {
    max-height: 56px;
    width: auto;
}
/* ── Hamburger menu ── */
.ot-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.ot-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}
.ot-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.ot-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.ot-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .ot-hamburger { display: flex; }
	#ot-nav-links {
    display: none !important;
	}
	#ot-nav-links.open {
		display: flex !important;
	}

    .ot-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ot-navy);
        flex-direction: column;
        padding: 16px 20px 20px;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,.1);
        z-index: 999;
    }
    .ot-nav-links.open {
        display: flex;
    }
    .ot-nav-links .nav-link {
        padding: 12px 0;
        font-size: 15px !important;
        border-bottom: 1px solid rgba(255,255,255,.07);
        color: rgba(255,255,255,.8) !important;
    }
    .ot-nav-links .ot-btn-primary {
        margin-top: 14px;
        text-align: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    .ot-site-header > div {
        flex-wrap: nowrap !important;
        height: 64px !important;
        padding: 0 20px !important;
        position: relative;
    }
}

/* ── Contact page mobile stack ── */
@media (max-width: 768px) {
    .ot-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .ot-contact-grid > div:last-child {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .ot-footer > div {
        padding: 0 20px !important;
    }
    .ot-footer [style*="grid-template-columns:1.4fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .ot-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 768px) {
    /* Stack all three-column grids on mobile */
    [style*="grid-template-columns:repeat(3,1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Stack all two-column grids on mobile */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix card header layout when stacked */
    .ot-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    /* Prevent card text overflow */
    .ot-card-body {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Contain cards within screen width */
    .ot-card {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ── Remove white space below footer ── */
html, body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site, 
.site-content,
#page,
#content,
.wp-site-blocks,
.entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

footer.ot-footer {
    margin-bottom: 0 !important;
}