/*
Theme Name: Citadel Canyon
Theme URI: https://citadelcanyoncorp.com
Author: Citadel Canyon
Description: Custom theme for Citadel Canyon Corp — Oil & Gas Consulting, Acquisition & Management.
Version: 1.0
Text Domain: citadelcanyon
*/


  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #0a1628;
    --navy-mid: #122040;
    --navy-light: #1c2f55;
    --gold: #c9a84c;
    --gold-light: #e2c97e;
    --gold-pale: #f5edcc;
    --cream: #faf7f0;
    --white: #ffffff;
    --gray-text: #6b7280;
    --body-text: #2d3748;
    --border: rgba(201,168,76,0.25);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Barlow', 'Helvetica Neue', sans-serif;
  }

  html { scroll-behavior: smooth; }
  body { font-family: var(--font-body); color: var(--body-text); background: var(--cream); font-size: 16px; line-height: 1.7; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 72px;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
  }
  .nav-logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .nav-logo-text { color: var(--white); }
  .nav-logo-text .brand { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.02em; display: block; }
  .nav-logo-text .tagline { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); display: block; margin-top: -2px; }
  .nav-logo .custom-logo-link { display: flex; align-items: center; }
  .nav-logo .custom-logo { max-height: 48px; width: auto; }
  .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
  .nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-cta {
    background: var(--gold); color: var(--navy) !important;
    padding: 8px 20px; border-radius: 2px;
    font-weight: 600 !important; letter-spacing: 0.05em !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    position: relative;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 120px 5% 80px;
  }
  .hero-bg-lines {
    position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 60px,
        rgba(201,168,76,0.04) 60px,
        rgba(201,168,76,0.04) 61px
      );
  }
  .hero-grid-accent {
    position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
    background: linear-gradient(90deg, transparent 0%, rgba(18,32,64,0.9) 30%, rgba(28,47,85,0.6) 100%);
  }
  .hero-geo {
    position: absolute; right: 5%; bottom: 10%;
    width: 340px; height: 340px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%;
    transform: rotate(0deg);
  }
  .hero-geo::before {
    content: ''; position: absolute; inset: 24px;
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 50%;
  }
  .hero-geo::after {
    content: ''; position: absolute; inset: 48px;
    border: 1px solid rgba(201,168,76,0.07);
    border-radius: 50%;
  }
  .hero-content { position: relative; z-index: 2; max-width: 680px; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
  }
  .hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
  }
  .hero h1 em { color: var(--gold); font-style: normal; }
  .hero p {
    font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.75);
    max-width: 520px; margin-bottom: 44px; line-height: 1.8;
  }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--gold); color: var(--navy);
    padding: 14px 32px; font-family: var(--font-body);
    font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px; border: none; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
  .btn-outline {
    background: transparent; color: var(--white);
    padding: 14px 32px; font-family: var(--font-body);
    font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px; border: 1px solid rgba(255,255,255,0.35);
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
  }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
  .hero-stats {
    display: flex; gap: 48px; margin-top: 64px;
    padding-top: 40px; border-top: 1px solid rgba(201,168,76,0.2);
  }
  .hero-stat-num {
    font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--gold); line-height: 1;
  }
  .hero-stat-label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 6px; }

  /* ── SERVICES STRIP ── */
  .services-strip {
    background: var(--gold);
    padding: 0 5%;
    display: grid; grid-template-columns: repeat(3, 1fr);
  }
  .service-pill {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 32px;
    border-right: 1px solid rgba(10,22,40,0.15);
    text-decoration: none;
    transition: background 0.2s;
    color: var(--navy);
  }
  .service-pill:last-child { border-right: none; }
  .service-pill:hover { background: rgba(10,22,40,0.08); }
  .service-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(10,22,40,0.12); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
  }
  .service-pill-title { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
  .service-pill-sub { font-size: 12px; font-weight: 400; opacity: 0.7; margin-top: 2px; }

  /* ── SECTION UTILITY ── */
  section { padding: 100px 5%; }
  .section-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
  }
  .section-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
  h2.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 700; color: var(--navy);
    line-height: 1.15; margin-bottom: 20px;
  }
  h2.section-title-light { color: var(--white); }
  .section-lead { font-size: 18px; font-weight: 300; color: var(--gray-text); max-width: 580px; line-height: 1.8; margin-bottom: 56px; }
  .section-lead-light { color: rgba(255,255,255,0.65); }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .two-col-text {}

  /* ── ABOUT / WHAT WE DO ── */
  .about { background: var(--white); }
  .about-visual {
    position: relative;
    aspect-ratio: 4/3;
    background: rgba(10,22,40,0.97);
    border-radius: 4px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .about-visual-inner {
    width: 80%; height: 80%;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    position: relative;
  }
  .about-visual-hex {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
  }
  .about-visual-label { font-family: var(--font-display); color: var(--white); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; }
  .about-visual-sub { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
  .about-visual-line {
    position: absolute; width: 1px; background: var(--border);
  }
  .pillars { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
  .pillar { display: flex; gap: 20px; align-items: flex-start; }
  .pillar-num {
    font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--gold-pale);
    line-height: 1; flex-shrink: 0; width: 40px;
  }
  .pillar h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
  .pillar p { font-size: 15px; color: var(--gray-text); line-height: 1.65; }

  /* ── SERVICES DETAIL ── */
  .services { background: var(--cream); }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service-card {
    background: var(--white);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 4px;
    padding: 36px 28px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .service-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card-icon {
    width: 52px; height: 52px; background: var(--navy);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 24px;
  }
  .service-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 12px; }
  .service-card p { font-size: 15px; color: var(--gray-text); line-height: 1.7; }
  .service-card-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); text-decoration: none;
    transition: gap 0.2s;
  }
  .service-card-link:hover { gap: 12px; }

  /* ── DARK BAND ── */
  .dark-band {
    background: var(--navy);
    padding: 80px 5%;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-top: 3px solid var(--gold);
  }
  .dark-stat {
    padding: 40px 32px;
    border-right: 1px solid rgba(201,168,76,0.15);
    text-align: center;
  }
  .dark-stat:last-child { border-right: none; }
  .dark-stat-num {
    font-family: var(--font-display); font-size: 48px; font-weight: 700;
    color: var(--gold); line-height: 1;
  }
  .dark-stat-label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 10px; }
  .dark-stat-desc { font-size: 14px; color: rgba(255,255,255,0.4); margin-top: 8px; line-height: 1.5; }

  /* ── PROCESS ── */
  .process { background: var(--white); }
  .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
  .process-steps::before {
    content: ''; position: absolute;
    top: 28px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
    height: 1px; background: linear-gradient(90deg, var(--gold) 0%, rgba(201,168,76,0.3) 100%);
  }
  .process-step { padding: 0 24px 0 0; text-align: center; }
  .step-circle {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--navy); border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--gold);
    margin: 0 auto 24px;
    position: relative; z-index: 1;
  }
  .process-step h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
  .process-step p { font-size: 14px; color: var(--gray-text); line-height: 1.65; }

  /* ── EXPERTISE / DARK ── */
  .expertise { background: var(--navy-mid); }
  .expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
  .expertise-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 4px;
    padding: 32px 28px;
    transition: background 0.2s;
  }
  .expertise-card:hover { background: rgba(255,255,255,0.07); }
  .expertise-card-tag {
    font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px;
  }
  .expertise-card h3 { font-family: var(--font-display); font-size: 22px; color: var(--white); margin-bottom: 12px; }
  .expertise-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; }
  .expertise-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
  .expertise-list li { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 10px; }
  .expertise-list li::before { content: ''; display: block; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--cream); }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .testi-card {
    background: var(--white);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 4px;
    padding: 32px 28px;
    position: relative;
  }
  .testi-quote-mark {
    font-family: var(--font-display); font-size: 64px; line-height: 0.6;
    color: var(--gold-pale); margin-bottom: 20px; display: block;
  }
  .testi-card blockquote { font-size: 15px; color: var(--body-text); line-height: 1.75; font-style: italic; }
  .testi-author { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--navy); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--gold);
    flex-shrink: 0;
  }
  .testi-name { font-size: 14px; font-weight: 600; color: var(--navy); }
  .testi-role { font-size: 12px; color: var(--gray-text); }

  /* ── AREAS ── */
  .areas { background: var(--navy); }
  .areas-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
  .areas-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
  .area-tag {
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
    border-radius: 2px; padding: 10px 16px;
    font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8);
    letter-spacing: 0.04em;
    display: flex; align-items: center; gap: 8px;
  }
  .area-tag::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
  .map-placeholder {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.15);
    border-radius: 4px; padding: 48px 32px;
    text-align: center;
  }
  .map-placeholder svg { width: 100%; max-width: 380px; opacity: 0.6; }

  /* ── CTA BAND ── */
  .cta-band {
    background: var(--gold);
    padding: 80px 5%;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    flex-wrap: wrap;
  }
  .cta-band h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); color: var(--navy); max-width: 560px; }
  .btn-navy {
    background: var(--navy); color: var(--white);
    padding: 16px 36px; border-radius: 2px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap;
    transition: background 0.2s;
    display: inline-block;
  }
  .btn-navy:hover { background: var(--navy-light); }

  /* ── CONTACT ── */
  .contact { background: var(--white); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact-info { display: flex; flex-direction: column; gap: 32px; }
  .contact-detail { display: flex; gap: 16px; }
  .contact-detail-icon {
    width: 44px; height: 44px; background: var(--cream); border: 1px solid var(--border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
  }
  .contact-detail-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
  .contact-detail-value { font-size: 15px; color: var(--navy); font-weight: 500; }
  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 16px; font-family: var(--font-body); font-size: 15px;
    border: 1px solid #e2e8f0; border-radius: 2px; outline: none;
    transition: border-color 0.2s;
    background: var(--cream);
    color: var(--navy);
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--gold); background: var(--white); }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-note { font-size: 13px; color: var(--gray-text); font-style: italic; }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    padding: 64px 5% 32px;
  }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
  .footer-brand .brand { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
  .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 12px; }
  .footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
  .footer-col ul a:hover { color: var(--gold-light); }
  .footer-divider { height: 1px; background: rgba(201,168,76,0.15); margin-bottom: 24px; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
  .footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); opacity: 0.7; font-size: 13px; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .two-col, .contact-grid, .areas-content, .expertise-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid, .testi-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
    .process-steps::before { display: none; }
    .dark-band { grid-template-columns: 1fr 1fr; }
    .services-strip { grid-template-columns: 1fr; }
    .service-pill { border-right: none; border-bottom: 1px solid rgba(10,22,40,0.15); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    nav { padding: 0 4%; }
    .nav-links { gap: 20px; }
    .hero-stats { gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; text-align: center; }
  }
  @media (max-width: 600px) {
    .nav-links { display: none; }
    .dark-band { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .areas-list { grid-template-columns: 1fr; }
  }
