/*
Theme Name: Oak Tree AI Elementor
Theme URI: https://oaktreeailogic.com/
Author: Oak Tree AI
Description: Elementor-first Oak Tree AI theme. Every page, plus the global header and footer, are editable with Elementor Saved Templates.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: oak-tree-ai
*/

:root {
  --oak-ivory: #fbf8f5;
  --oak-white: #ffffff;
  --oak-ink: #0a122c;
  --oak-muted: #556076;
  --oak-navy: #071128;
  --oak-navy-2: #0c1840;
  --oak-cyan: #50e6ff;
  --oak-violet: #654cff;
  --oak-coral: #ff5f58;
  --oak-espresso: #2b130f;
  --oak-line: #dfe3ec;
  --oak-shadow: 0 18px 45px rgba(14, 25, 55, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--oak-ink); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.oak-page { overflow: hidden; }
.oak-section { padding: 92px max(24px, calc((100vw - 1180px) / 2)); }
.oak-section--tight { padding-top: 58px; padding-bottom: 58px; }
.oak-section--ivory { background: var(--oak-ivory); }
.oak-section--white { background: #fff; }
.oak-center { text-align: center; align-items: center !important; }
.oak-center .elementor-widget-text-editor { max-width: 760px; }
.oak-eyebrow .elementor-heading-title { margin: 0; color: var(--oak-violet); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .22em; }
.oak-heading .elementor-heading-title { margin: 0; color: var(--oak-ink); font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.oak-copy, .oak-copy p { color: var(--oak-muted); font-size: 17px; line-height: 1.72; }

.oak-header { position: relative; z-index: 40; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(251,248,245,.97); border-bottom: 1px solid rgba(10,18,44,.08); }
.oak-header-inner { min-height: 82px; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 32px; }
.oak-brand { flex-direction: row !important; align-items: center !important; width: auto !important; gap: 12px; }
.oak-brand .elementor-widget-image { width: 54px; }
.oak-brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.oak-brand-name .elementor-heading-title { font-size: 25px; font-weight: 780; letter-spacing: -.035em; white-space: nowrap; }
.oak-nav { flex-direction: row !important; align-items: center !important; justify-content: flex-end !important; gap: 28px; width: auto !important; }
.oak-nav-link { width: auto !important; }
.oak-nav-link .elementor-heading-title { font-size: 15px; font-weight: 600; }
.oak-nav-link a { text-decoration: none; }
.oak-nav-link a:hover { color: var(--oak-coral); }

.oak-hero { position: relative; min-height: 720px; padding: 78px max(24px, calc((100vw - 1180px) / 2)); justify-content: center !important; background: linear-gradient(115deg, #071126 8%, #07122a 52%, #12165a 100%); overflow: hidden; }
.oak-hero-inner { position: relative; z-index: 2; flex-direction: row !important; align-items: center !important; width: 100%; max-width: 1180px; margin: 0 auto; }
.oak-hero-copy { width: 48% !important; z-index: 3; }
.oak-hero-media { position: absolute !important; inset: 0 0 0 auto; width: 76% !important; height: 100%; overflow: hidden; }
.oak-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6,16,38,1) 0%, rgba(6,16,38,.94) 24%, rgba(6,16,38,.45) 55%, rgba(6,16,38,.08) 84%); }
.oak-hero-media .elementor-widget-video, .oak-hero-media .elementor-widget-container, .oak-hero-media .elementor-wrapper, .oak-hero-media video { width: 100%; height: 100%; }
.oak-hero-media video { object-fit: cover; }
.oak-hero-eyebrow .elementor-heading-title { color: var(--oak-cyan); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.oak-hero-title .elementor-heading-title { color: #fff; font-size: clamp(54px, 6vw, 88px); line-height: .99; letter-spacing: -.055em; }
.oak-hero-text, .oak-hero-text p { color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.65; max-width: 520px; }
.oak-button-row { flex-direction: row !important; align-items: center !important; gap: 16px; margin-top: 18px; }
.oak-button-row .elementor-widget-button { width: auto; }
.oak-button .elementor-button { min-height: 52px; display: inline-flex; align-items: center; padding: 0 24px; border-radius: 7px; font-weight: 760; text-decoration: none; }
.oak-button--coral .elementor-button { color: #fff; background: linear-gradient(135deg,#ff6861,#f34f49); box-shadow: 0 14px 30px rgba(255,95,88,.2); }
.oak-button--outline .elementor-button { color: #fff; background: rgba(8,18,46,.42); border: 1px solid var(--oak-cyan); }

.oak-page-hero { position: relative; padding: 112px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: linear-gradient(125deg,#061127 0%,#0d1946 70%,#20136a 100%); overflow: hidden; }
.oak-page-hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: 5%; top: -240px; border-radius: 50%; background: rgba(101,76,255,.3); filter: blur(26px); }
.oak-page-hero > * { position: relative; z-index: 1; }
.oak-page-hero .oak-eyebrow .elementor-heading-title { color: var(--oak-cyan); }
.oak-page-hero .oak-heading .elementor-heading-title { color: #fff; font-size: clamp(48px, 5.7vw, 78px); max-width: 960px; }
.oak-page-hero .oak-copy, .oak-page-hero .oak-copy p { color: rgba(255,255,255,.78); max-width: 780px; font-size: 19px; }

.oak-services-grid, .oak-three-grid, .oak-industry-grid, .oak-article-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; width: 100%; max-width: 1180px; margin: 38px auto 0; }
.oak-service-card { overflow: hidden; border-radius: 17px; background: #fff; border: 1px solid var(--oak-line); box-shadow: 0 8px 28px rgba(20,28,52,.07); transition: transform .25s ease, box-shadow .25s ease; }
.oak-service-card:hover { transform: translateY(-7px); box-shadow: var(--oak-shadow); }
.oak-service-card .elementor-widget-image img { width: 100%; aspect-ratio: 1.32; object-fit: cover; }
.oak-service-card .elementor-widget-heading, .oak-service-card .elementor-widget-text-editor, .oak-service-card .elementor-widget-button { margin-left: 22px; margin-right: 22px; }
.oak-service-card .elementor-widget-heading { margin-top: 18px; }
.oak-service-card .elementor-heading-title { font-size: 20px; text-align: center; }
.oak-service-card .elementor-widget-text-editor { color: #273149; text-align: center; font-size: 14px; line-height: 1.62; }
.oak-service-card .elementor-widget-button { margin-bottom: 24px; text-align: center; }
.oak-service-card .elementor-button { color: var(--oak-violet); background: transparent; padding: 0; font-weight: 760; }

.oak-split { flex-direction: row !important; align-items: center !important; gap: 64px; width: 100%; max-width: 1180px; margin: 0 auto; }
.oak-split > .e-con { width: 50%; }
.oak-content-image img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 20px; box-shadow: var(--oak-shadow); }
.oak-feature-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.oak-feature { padding: 14px 16px; border: 1px solid var(--oak-line); border-radius: 10px; background: #fff; }
.oak-feature .elementor-heading-title { font-size: 14px; font-weight: 650; }
.oak-process-card, .oak-panel, .oak-industry-card, .oak-article-card { padding: 30px; border-radius: 16px; background: #fff; border: 1px solid var(--oak-line); box-shadow: 0 8px 24px rgba(16,26,52,.05); }
.oak-process-card .elementor-heading-title, .oak-panel .elementor-heading-title, .oak-industry-card .elementor-heading-title, .oak-article-card .elementor-heading-title { font-size: 21px; }
.oak-number .elementor-heading-title { width: 42px; height: 42px; display: grid; place-items: center; color: var(--oak-cyan); background: var(--oak-navy); border-radius: 50%; font-size: 14px; }

.oak-cta { padding: 52px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: linear-gradient(105deg,#061128 0%,#0b1640 60%,#1a165f 100%); }
.oak-cta-inner { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 28px; max-width: 1180px; margin: 0 auto; }
.oak-cta-copy { flex: 1; }
.oak-cta .oak-heading .elementor-heading-title { color: #fff; font-size: clamp(28px,3vw,42px); }
.oak-cta .oak-copy, .oak-cta .oak-copy p { color: rgba(255,255,255,.78); }

.oak-contact-grid { flex-direction: row !important; align-items: flex-start !important; gap: 54px; max-width: 1180px; margin: 0 auto; }
.oak-contact-grid > .e-con { width: 50%; }
.oak-contact-form { padding: 34px; border: 1px solid var(--oak-line); border-radius: 20px; background: #fff; box-shadow: var(--oak-shadow); }
.oak-contact-form .elementor-field { min-height: 48px; border: 1px solid #cfd5e0 !important; border-radius: 8px !important; }

.oak-footer { padding: 42px max(24px, calc((100vw - 1180px) / 2)) 22px; color: #fff; background: var(--oak-espresso); }
.oak-footer-inner { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 30px; }
.oak-footer .oak-brand-name .elementor-heading-title, .oak-footer .oak-nav-link .elementor-heading-title { color: #fff; }
.oak-footer-bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); flex-direction: row !important; justify-content: space-between !important; }
.oak-footer-bottom .elementor-widget-text-editor, .oak-footer-bottom p { color: rgba(255,255,255,.58); font-size: 13px; }

@media (max-width: 900px) {
  .oak-header-inner, .oak-nav, .oak-split, .oak-contact-grid { flex-wrap: wrap; }
  .oak-nav { width: 100% !important; justify-content: center !important; padding-bottom: 18px; }
  .oak-hero-media { width: 100% !important; opacity: .62; }
  .oak-hero-copy { width: 70% !important; }
  .oak-services-grid, .oak-three-grid, .oak-industry-grid, .oak-article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .oak-split > .e-con, .oak-contact-grid > .e-con { width: 100%; }
}

@media (max-width: 640px) {
  .oak-section { padding: 66px 18px; }
  .oak-header { padding-inline: 18px; }
  .oak-brand-name .elementor-heading-title { font-size: 21px; }
  .oak-nav { gap: 14px; }
  .oak-nav-link .elementor-heading-title { font-size: 13px; }
  .oak-hero { min-height: 720px; padding: 72px 18px 56px; justify-content: flex-end !important; }
  .oak-hero-inner { align-items: flex-end !important; }
  .oak-hero-copy { width: 100% !important; }
  .oak-hero-media { height: 62%; bottom: auto; }
  .oak-hero-media::after { background: linear-gradient(180deg,rgba(6,16,38,.08),rgba(6,16,38,1)); }
  .oak-hero-title .elementor-heading-title { font-size: 48px; }
  .oak-button-row, .oak-cta-inner, .oak-footer-inner, .oak-footer-bottom { flex-direction: column !important; align-items: stretch !important; }
  .oak-button-row .elementor-widget-button { width: 100%; }
  .oak-button .elementor-button { width: 100%; justify-content: center; }
  .oak-services-grid, .oak-three-grid, .oak-industry-grid, .oak-article-grid, .oak-feature-grid { grid-template-columns: 1fr; }
  .oak-page-hero { padding: 84px 18px; }
  .oak-page-hero .oak-heading .elementor-heading-title { font-size: 46px; }
}
