/*
Theme Name: CAL Consulting Services
Theme URI: https://calconsultingservices.com
Author: CAL Consulting Services
Author URI: https://calconsultingservices.com
Description: Custom theme for CAL Consulting Services — professional services for home or office.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: cal-consulting
*/

/* ====================================================
   CSS VARIABLES
   ==================================================== */
:root {
  --navy: #1b2d45;
  --navy-light: #243d5c;
  --blue: #2e6da4;
  --blue-light: #3d83c0;
  --gold: #c8893a;
  --gold-light: #dfa455;
  --cream: #f5f2ed;
  --cream2: #ede9e2;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #5c6470;
  --border: #e0dbd2;
}

/* ====================================================
   RESET & BASE
   ==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 15px;
}

/* ====================================================
   NAVIGATION
   ==================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  border-bottom: 2px solid var(--gold);
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 17px;
  color: var(--navy);
}
.logo-text { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--white); line-height: 1.2; }
.logo-sub { font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 300; }

.main-navigation ul { display: flex; gap: 0; list-style: none; }
.main-navigation ul a {
  display: block; padding: 8px 18px;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color .2s;
}
.main-navigation ul a:hover { color: var(--gold-light); }
.main-navigation .nav-contact {
  padding: 8px 20px !important;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 3px;
  font-weight: 500 !important;
  margin-left: 8px;
}
.main-navigation .nav-contact:hover { background: var(--gold-light) !important; }

/* ====================================================
   HERO
   ==================================================== */
.hero-section {
  padding-top: 68px;
  background: var(--navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-lines { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-lines line { stroke: rgba(255,255,255,0.03); stroke-width: 1; fill: none; }
.hero-content { padding: 5rem 3rem 5rem 3.5rem; max-width: 680px; position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,137,58,0.12);
  border: 1px solid rgba(200,137,58,0.3);
  padding: 6px 14px; border-radius: 100px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.75rem;
}
.hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 600; color: var(--white);
  line-height: 1.12; margin-bottom: 1.25rem;
}
.hero-section h1 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.58); line-height: 1.85; margin-bottom: 2rem; max-width: 520px; }
.hero-sub strong { color: rgba(255,255,255,0.8); font-weight: 400; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-gold {
  padding: 13px 28px; background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  border: none; border-radius: 3px; cursor: pointer;
  transition: background .2s; text-transform: uppercase;
  font-family: 'Inter', sans-serif; text-decoration: none; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline {
  padding: 13px 28px; background: transparent; color: rgba(255,255,255,0.75);
  font-size: 13px; font-weight: 400; letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 3px; cursor: pointer;
  transition: border-color .2s, color .2s; text-transform: uppercase;
  font-family: 'Inter', sans-serif; text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }
.hero-contact-strip { display: flex; gap: 2rem; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.45); }
.contact-item a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color .2s; }
.contact-item a:hover { color: var(--gold-light); }
.contact-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-cards { position: absolute; right: 3rem; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 3px; min-width: 200px; }
.hero-card-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.hero-card-val { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--white); }

/* ====================================================
   SECTION SHARED
   ==================================================== */
.sec-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; color: var(--navy);
  line-height: 1.15; margin-bottom: 3rem;
}
.sec-title em { font-style: italic; font-weight: 400; color: var(--blue); }

/* ====================================================
   SERVICES
   ==================================================== */
.services-section { padding: 6rem 3.5rem; background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem;
  transition: border-color .25s, transform .2s;
}
.svc-card:hover { border-color: var(--blue-light); transform: translateY(-2px); }
.svc-icon { width: 48px; height: 48px; background: var(--cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 1.25rem; }
.svc-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.8; }
.svc-tag { display: inline-block; margin-top: 1rem; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.svc-card-dark { background: var(--navy) !important; border-color: var(--navy) !important; }
.svc-card-dark .svc-icon { background: rgba(255,255,255,0.07); }
.svc-card-dark .svc-name { color: var(--white); }
.svc-card-dark .svc-desc { color: rgba(255,255,255,0.5); }

/* ====================================================
   ABOUT
   ==================================================== */
.about-section { padding: 6rem 3.5rem; background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-body { font-size: 15px; color: var(--muted); line-height: 1.9; margin-top: 1.25rem; }
.exp-badge { display: inline-flex; align-items: baseline; gap: 6px; background: var(--navy); padding: 1.25rem 1.75rem; border-radius: 4px; margin-top: 2rem; }
.exp-num { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 600; color: var(--gold); line-height: 1; }
.exp-text { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
.about-right { background: var(--cream); border-radius: 4px; padding: 2.5rem; border: 1px solid var(--border); }
.highlight-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 0.5rem; }
.hl-item { display: flex; align-items: flex-start; gap: 14px; padding: 1.25rem; background: var(--white); border-radius: 3px; border: 1px solid var(--border); }
.hl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 5px; }
.hl-text strong { font-weight: 500; color: var(--navy); display: block; font-size: 14px; margin-bottom: 3px; }
.hl-text span { font-size: 13px; color: var(--muted); }

/* ====================================================
   WHY / STATS
   ==================================================== */
.why-section { padding: 5rem 3.5rem; background: var(--navy); }
.why-section .sec-title { color: var(--white); }
.why-section .sec-title em { color: var(--gold-light); }
.why-section .sec-label { color: var(--gold-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); margin-top: 3rem; }
.why-item { background: var(--navy); padding: 2rem 1.75rem; text-align: center; }
.why-num { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.why-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; }
.why-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ====================================================
   CONTACT / CTA
   ==================================================== */
.cta-section { padding: 5rem 3.5rem; background: var(--cream); display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; border-top: 1px solid var(--border); }
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(24px, 2.5vw, 34px); font-weight: 600; color: var(--navy); line-height: 1.2; }
.cta-title em { font-style: italic; font-weight: 400; color: var(--blue); }
.cta-sub { font-size: 14px; color: var(--muted); margin-top: 0.75rem; line-height: 1.7; }
.contact-block { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.contact-line { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.contact-line a { color: var(--navy); text-decoration: none; font-weight: 500; transition: color .2s; }
.contact-line a:hover { color: var(--blue); }

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer { background: var(--navy); padding: 2rem 3.5rem; display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--gold); }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 15px; color: rgba(255,255,255,0.5); }
.footer-logo-text span { color: var(--gold); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 900px) {
  .hero-section { flex-direction: column; }
  .hero-cards { position: static; transform: none; flex-direction: row; padding: 0 1.5rem 3rem; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { grid-template-columns: 1fr; }
  .site-header { padding: 0 1.5rem; }
  .main-navigation ul { display: none; }
  .services-section, .about-section, .why-section, .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 3rem 1.5rem; }
}
