/*===========================================================
  our-team.css  –  Limestone Investments · Our Team Page
  Brand palette:
    Primary   : #EB265A  (rose-red)
    Secondary : #1EABAD  (teal)
    Dark      : #0f1f3d  (navy)
    Light bg  : #f8fafc
    Body text : #666666
===========================================================*/

:root {
    --ot-primary   : #EB265A;
    --ot-teal      : #1EABAD;
    --ot-dark      : #0f1f3d;
    --ot-light     : #f8fafc;
    --ot-text      : #666666;
    --ot-heading   : #111827;
    --ot-white     : #ffffff;
    --ot-gradient  : linear-gradient(135deg, #EB265A, #1EABAD);
    --ot-shadow    : 0 10px 40px rgba(0,0,0,0.08);
    --ot-shadow-lg : 0 24px 60px rgba(0,0,0,0.13);
    --ot-radius-lg : 24px;
    --ot-radius-md : 16px;
    --ot-radius-sm : 10px;
    --ot-trans     : all 0.35s ease;
}

/* ─── SHARED UTILITIES ───────────────────────────────── */
.ot-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(235, 38, 90, 0.08);
    color: var(--ot-primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ot-tag--light {
    background: rgba(255,255,255,0.15);
    color: var(--ot-white);
    border: 1px solid rgba(255,255,255,0.3);
}

.ot-accent        { color: var(--ot-primary); }
.ot-accent-light  { color: rgba(255,255,255,0.88); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }

.ot-section-header { margin-bottom: 55px; }

.ot-section-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--ot-heading);
    line-height: 1.2;
    margin-bottom: 16px;
}

.ot-title-light    { color: var(--ot-white); }

.ot-section-subtitle {
    font-size: 16px;
    color: var(--ot-text);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.85;
}

.ot-subtitle-light { color: rgba(255,255,255,0.72); }

.ot-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--ot-gradient);
    color: var(--ot-white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: var(--ot-trans);
    box-shadow: 0 8px 25px rgba(235,38,90,0.28);
    margin-top: 24px;
}
.ot-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235,38,90,0.4);
}
.ot-primary-btn i { transition: transform 0.3s; }
.ot-primary-btn:hover i { transform: translateX(4px); }


/*===========================================================
  SECTION 1 · INTRO BANNER
===========================================================*/
.ot-intro-section {
    padding: 90px 0 80px;
    background: var(--ot-white);
}

.ot-intro-title {
    font-size: 46px;
    font-weight: 700;
    color: var(--ot-heading);
    line-height: 1.2;
    margin-bottom: 20px;
}

.ot-intro-lead {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    font-weight: 500;
    margin-bottom: 14px;
}

.ot-intro-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ot-text);
    margin-bottom: 32px;
}

/* Pillars */
.ot-intro-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ot-pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ot-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ot-radius-sm);
    background: linear-gradient(135deg, var(--ot-primary), #c4183e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(235,38,90,0.25);
}

.ot-pillar-teal {
    background: linear-gradient(135deg, var(--ot-teal), #157d7e);
    box-shadow: 0 6px 18px rgba(30,171,173,0.25);
}

.ot-pillar-icon i { font-size: 18px; color: var(--ot-white); }

.ot-pillar strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ot-heading);
    margin-bottom: 4px;
}

.ot-pillar p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ot-text);
}

/* Stat panel (right column) */
.ot-intro-panel {
    background: var(--ot-dark);
    border-radius: var(--ot-radius-lg);
    overflow: hidden;
    box-shadow: var(--ot-shadow-lg);
}

.ot-panel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ot-panel-stat {
    padding: 42px 36px;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.ot-panel-stat:nth-child(2) { border-right: none; }
.ot-panel-row:last-of-type .ot-panel-stat { border-bottom: none; }

.ot-ps-featured {
    background: rgba(235,38,90,0.12);
    position: relative;
}

.ot-ps-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ot-gradient);
}

.ot-ps-num {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--ot-white);
    line-height: 1;
}

.ot-ps-suf {
    font-size: 22px;
    font-weight: 700;
    color: var(--ot-primary);
}

.ot-panel-stat p {
    margin: 10px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.ot-panel-bottom {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 32px;
    background: rgba(30,171,173,0.12);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ot-panel-bottom i {
    font-size: 24px;
    color: var(--ot-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.ot-panel-bottom p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
}


/*===========================================================
  SECTION 2 · TEAM CARDS
===========================================================*/
.ot-team-section {
    padding: 90px 0;
    background: var(--ot-light);
}

/* ── Founder cards (large, horizontal) ── */
.ot-founders-row { margin-bottom: 20px; }

.ot-founder-card {
    display: flex;
    background: var(--ot-white);
    border-radius: var(--ot-radius-lg);
    overflow: hidden;
    box-shadow: var(--ot-shadow);
    border-left: 5px solid var(--ot-primary);
    transition: var(--ot-trans);
    height: 100%;
}

.ot-founder-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ot-shadow-lg);
}

.ot-founder-card--teal { border-left-color: var(--ot-teal); }

/* Founder image column */
.ot-founder-img-col {
    width: 300px;
    flex-shrink: 0;
    position: relative;
    background: var(--ot-dark);
    overflow: hidden;
}

.ot-founder-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.4s;
}

.ot-founder-card:hover .ot-founder-img-col img {
    transform: scale(1.06);
    opacity: 1;
}

/* Social icons on image */
.ot-founder-socials {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(to top, rgba(15,31,61,0.9) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.ot-founder-card:hover .ot-founder-socials { transform: translateY(0); }

.ot-founder-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-white) !important;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
}

.ot-founder-socials a:hover { background: rgba(255,255,255,0.3); }

/* Content */
.ot-founder-content { padding: 36px 34px; flex: 1; }

.ot-founder-role-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(235,38,90,0.08);
    color: var(--ot-primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ot-role-teal {
    background: rgba(30,171,173,0.08);
    color: var(--ot-teal);
}

.ot-founder-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ot-heading);
    margin-bottom: 4px;
    line-height: 1.2;
}

.ot-founder-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ot-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.ot-founder-card--teal .ot-founder-title { color: var(--ot-teal); }

.ot-founder-content p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--ot-text);
    margin-bottom: 20px;
}

/* Expertise badges */
.ot-founder-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ot-founder-expertise span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--ot-light);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ot-heading);
}

.ot-founder-expertise span i { color: var(--ot-teal); font-size: 12px; }

/* Connect button */
.ot-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--ot-gradient);
    color: var(--ot-white) !important;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--ot-trans);
    box-shadow: 0 6px 18px rgba(235,38,90,0.25);
}

.ot-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(235,38,90,0.35);
}

.ot-connect-btn--teal {
    background: linear-gradient(135deg, var(--ot-teal), #157d7e);
    box-shadow: 0 6px 18px rgba(30,171,173,0.25);
}

.ot-connect-btn--teal:hover {
    box-shadow: 0 12px 30px rgba(30,171,173,0.35);
}

/* ── Extended team member cards ── */
.ot-extended-row { margin-top: 20px; }

.ot-member-card {
    border-radius: var(--ot-radius-lg);
    overflow: hidden;
    background: var(--ot-white);
    box-shadow: var(--ot-shadow);
    transition: var(--ot-trans);
    margin-bottom: 30px;
}

.ot-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ot-shadow-lg);
}

.ot-member-img-wrap {
    position: relative;
    overflow: hidden;
}

.ot-member-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ot-member-card:hover .ot-member-img-wrap img { transform: scale(1.07); }

.ot-member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(235,38,90,0.88), rgba(30,171,173,0.88));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.ot-member-card:hover .ot-member-overlay { opacity: 1; }

.ot-member-socials {
    display: flex;
    gap: 12px;
}

.ot-member-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-white) !important;
    font-size: 15px;
    text-decoration: none;
    transition: var(--ot-trans);
    transform: translateY(12px);
}

.ot-member-card:hover .ot-member-socials a { transform: translateY(0); }
.ot-member-socials a:nth-child(1) { transition-delay: 0.05s; }
.ot-member-socials a:nth-child(2) { transition-delay: 0.10s; }
.ot-member-socials a:nth-child(3) { transition-delay: 0.15s; }
.ot-member-socials a:hover { background: rgba(255,255,255,0.35); }

.ot-member-info {
    padding: 26px 26px 28px;
    border-top: 3px solid transparent;
    background:
        linear-gradient(var(--ot-white), var(--ot-white)) padding-box,
        var(--ot-gradient) border-box;
}

.ot-member-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ot-heading);
    margin-bottom: 4px;
}

.ot-member-info span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ot-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.ot-member-info p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--ot-text);
    margin: 0;
}


/*===========================================================
  SECTION 3 · CULTURE & VALUES
===========================================================*/
.ot-culture-section {
    position: relative;
    padding: 110px 0;
    background: var(--ot-dark);
    overflow: hidden;
}

.ot-culture-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(235,38,90,0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 0%, rgba(30,171,173,0.16) 0%, transparent 55%);
    pointer-events: none;
}

.ot-culture-row { margin-top: 10px; }

.ot-culture-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--ot-radius-lg);
    padding: 44px 34px 40px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--ot-trans);
}

.ot-culture-card:hover {
    transform: translateY(-8px);
    border-color: rgba(235,38,90,0.35);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.ot-culture-card--featured {
    background: var(--ot-gradient);
    border-color: transparent;
}

.ot-culture-card--featured:hover {
    background: linear-gradient(135deg, #d4204f, #179a9c);
    border-color: transparent;
}

.ot-culture-num {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 54px;
    font-weight: 800;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
}

.ot-culture-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--ot-trans);
}

.ot-culture-card:hover .ot-culture-icon { background: var(--ot-gradient); }
.ot-culture-card--featured .ot-culture-icon { background: rgba(255,255,255,0.25); }
.ot-culture-card--featured:hover .ot-culture-icon { background: rgba(255,255,255,0.35); }

.ot-culture-icon i { font-size: 26px; color: var(--ot-white); }

.ot-culture-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ot-white);
    margin-bottom: 12px;
}

.ot-culture-card p {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.ot-culture-card--featured p { color: rgba(255,255,255,0.85); }

.ot-culture-line {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px; width: 0;
    background: var(--ot-gradient);
    border-radius: 0 0 var(--ot-radius-lg) var(--ot-radius-lg);
    transition: width 0.45s ease;
}

.ot-culture-card:hover .ot-culture-line { width: 100%; }
.ot-culture-card--featured .ot-culture-line { display: none; }


/*===========================================================
  SECTION 4 · FAQs
===========================================================*/
.ot-faq-section {
    padding: 110px 0;
    background: var(--ot-white);
}

.ot-faq-intro-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ot-text);
    margin: 16px 0;
}

/* Accordion */
.ot-accordion { display: flex; flex-direction: column; gap: 12px; }

.ot-faq-item {
    background: var(--ot-light);
    border: 1.5px solid #e8edf2;
    border-radius: var(--ot-radius-md);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ot-faq-item.ot-faq-active {
    border-color: var(--ot-primary);
    box-shadow: 0 8px 30px rgba(235,38,90,0.1);
}

.ot-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 26px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}

.ot-faq-q:hover { background: rgba(235,38,90,0.03); }
.ot-faq-item.ot-faq-active .ot-faq-q { background: rgba(235,38,90,0.04); }

.ot-faq-q span {
    font-size: 15px;
    font-weight: 600;
    color: var(--ot-heading);
    line-height: 1.5;
}

.ot-faq-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ot-white);
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--ot-trans);
}

.ot-faq-icon i { font-size: 12px; color: var(--ot-primary); transition: transform 0.35s ease; }

.ot-faq-item.ot-faq-active .ot-faq-icon { background: var(--ot-primary); border-color: var(--ot-primary); }
.ot-faq-item.ot-faq-active .ot-faq-icon i { color: var(--ot-white); transform: rotate(45deg); }

.ot-faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.ot-faq-item.ot-faq-active .ot-faq-a {
    max-height: 300px;
    padding: 0 26px 22px;
}

.ot-faq-a p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--ot-text);
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}


/*===========================================================
  SECTION 5 · CTA BANNER
===========================================================*/
.ot-cta-section {
    position: relative;
    padding: 88px 0;
    background: var(--ot-gradient);
    overflow: hidden;
}

.ot-cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 45%);
    pointer-events: none;
}

.ot-cta-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,255,255,0.2);
    color: var(--ot-white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ot-cta-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--ot-white);
    line-height: 1.25;
    margin-bottom: 16px;
}

.ot-cta-title span {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
}

.ot-cta-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    margin: 0;
    max-width: 580px;
}

.ot-cta-btn-primary,
.ot-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: var(--ot-trans);
    margin: 8px;
}

.ot-cta-btn-primary {
    padding: 14px 30px;
    background: var(--ot-white);
    color: var(--ot-primary) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.ot-cta-btn-primary:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.25); }

.ot-cta-btn-secondary {
    padding: 12px 28px;
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--ot-white) !important;
}

.ot-cta-btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: var(--ot-white); transform: translateY(-4px); }


/*===========================================================
  RESPONSIVE
===========================================================*/
@media (max-width: 991.98px) {

    .ot-section-title  { font-size: 32px; }
    .ot-intro-title    { font-size: 34px; }
    .ot-section-header { margin-bottom: 40px; }

    .ot-intro-section  { padding: 70px 0 60px; }
    .ot-panel-row      { grid-template-columns: 1fr 1fr; }
    .ot-ps-num         { font-size: 36px; }

    .ot-team-section   { padding: 70px 0; }
    .ot-founder-card   { flex-direction: column; }
    .ot-founder-img-col { width: 100%; height: 220px; }
    .ot-founder-socials { transform: translateY(0); background: rgba(15,31,61,0.7); }

    .ot-culture-section { padding: 80px 0; }

    .ot-faq-section    { padding: 80px 0; }

    .ot-cta-section    { padding: 70px 0; }
    .ot-cta-title      { font-size: 30px; }
}

@media (max-width: 767.98px) {
    .ot-section-title  { font-size: 26px; }
    .ot-intro-title    { font-size: 26px; }

    .ot-panel-row      { grid-template-columns: 1fr 1fr; }
    .ot-ps-num         { font-size: 30px; }
    .ot-panel-stat     { padding: 28px 18px; }

    .ot-founder-content { padding: 24px 22px; }
    .ot-founder-content h3 { font-size: 22px; }

    .ot-culture-card   { padding: 34px 24px 30px; }

    .ot-faq-q          { padding: 16px 18px; }
    .ot-faq-item.ot-faq-active .ot-faq-a { padding: 0 18px 18px; }
    .ot-faq-q span     { font-size: 14px; }

    .ot-cta-title      { font-size: 24px; }
    .ot-cta-btn-primary,
    .ot-cta-btn-secondary { width: 100%; margin: 6px 0; justify-content: center; }
}
