/* ══════════════════════════════════════════
   CENTRAL COAST IT — Global Stylesheet v2.0
   ══════════════════════════════════════════ */

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

:root {
  --navy:        #1E3A6D;
  --navy-dark:   #142a52;
  --ocean:       #2F6DB2;
  --teal:        #2BB8B3;
  --orange:      #F28C28;
  --orange-dark: #d97820;
  --white:       #ffffff;
  --off-white:   #f4f8fb;
  --light:       #eaf3f8;
  --text:        #1a1a2e;
  --muted:       #4a6080;
  --border:      #d4e3f0;
  --serif:       'DM Serif Display', serif;
  --sans:        'DM Sans', sans-serif;
  --radius:      12px;
  --shadow:      0 8px 32px rgba(30,58,109,0.10);
  --shadow-lg:   0 20px 60px rgba(30,58,109,0.14);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ══ TYPOGRAPHY ══ */
h1,h2,h3,h4,h5,h6 { font-family: var(--serif); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 70px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(30,58,109,0.08); }
.nav-logo img { height: 42px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 1rem; height: 70px;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--navy); }
.nav-menu > li > a .chevron { font-size: 0.65rem; transition: transform 0.2s; }
.nav-menu > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 220px;
  box-shadow: var(--shadow); padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s;
}
.nav-menu > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 0.6rem 1.25rem;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: all 0.15s;
}
.nav-dropdown a:hover { color: var(--navy); background: var(--light); padding-left: 1.5rem; }
.nav-cta {
  margin-left: 1rem;
  background: var(--orange) !important; color: var(--white) !important;
  padding: 0.5rem 1.25rem !important; border-radius: 8px !important;
  height: auto !important; font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 199; padding: 2rem 5%;
  overflow-y: auto; border-top: 1px solid var(--border);
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 0.9rem 0; font-size: 1rem; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile a:hover { color: var(--navy); }
.nav-mobile .mobile-cta { margin-top: 1.5rem; background: var(--orange); color: var(--white) !important; padding: 0.85rem 2rem; border-radius: 8px; text-align: center; border: none; font-weight: 600; }

/* ══ BUTTONS ══ */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; border-radius: 8px; transition: all 0.2s; cursor: pointer; border: none; font-family: var(--sans); }
.btn-lg { padding: 0.9rem 2rem; font-size: 0.95rem; }
.btn-md { padding: 0.7rem 1.5rem; font-size: 0.875rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }
.btn-ghost-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost-navy:hover { background: var(--navy); color: var(--white); }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: #2560a0; transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #24a09b; transform: translateY(-1px); }

/* ══ LAYOUT ══ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }
.bg-white { background: var(--white); }
.bg-off { background: var(--off-white); }
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy); }

/* ══ SECTION LABELS ══ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ocean); margin-bottom: 0.75rem;
  font-family: var(--sans);
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--ocean); }
.eyebrow.teal { color: var(--teal); }
.eyebrow.teal::before { background: var(--teal); }
.eyebrow.white { color: rgba(255,255,255,0.7); }
.eyebrow.white::before { background: var(--teal); }
.eyebrow.orange { color: var(--orange); }
.eyebrow.orange::before { background: var(--orange); }

.section-title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); color: var(--navy); margin-bottom: 1rem; }
.section-title.white { color: var(--white); }
.section-lead { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 580px; }
.section-lead.white { color: rgba(255,255,255,0.7); }
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

/* ══ PAGE HERO ══ */
.page-hero {
  background: var(--navy); padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.1;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--white); margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 580px; line-height: 1.75; }

/* ══ CARDS ══ */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top-accent { border-top: 3px solid var(--teal); }
.card-top-accent.ocean { border-top-color: var(--ocean); }
.card-top-accent.orange { border-top-color: var(--orange); }

/* ══ SERVICE CARDS ══ */
.service-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: block;
  transition: box-shadow 0.2s, transform 0.2s; position: relative;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ocean); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:nth-child(2)::after { background: var(--teal); }
.service-card:nth-child(3)::after { background: var(--orange); }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::after { transform: scaleX(1); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 1.75rem; }
.service-card-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.75rem; }
.service-card-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }
.service-link { font-size: 0.875rem; font-weight: 600; color: var(--ocean); display: flex; align-items: center; gap: 0.3rem; }
.service-card:nth-child(2) .service-link { color: var(--teal); }
.service-card:nth-child(3) .service-link { color: var(--orange); }

/* ══ TRUST BAR ══ */
.trust-bar { background: var(--navy); padding: 1rem 0; }
.trust-bar-inner { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ══ STATS ══ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat-card { text-align: center; padding: 2rem 1rem; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; color: var(--navy); line-height: 1; margin-bottom: 0.4rem; }
.stat-num.white { color: var(--white); }
.stat-label { font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.stat-label.white { color: rgba(255,255,255,0.6); }

/* ══ FEATURE LIST ══ */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.85rem; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--white); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.feature-check.ocean { background: var(--ocean); }
.feature-check.orange { background: var(--orange); }
.feature-text strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.feature-text span { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* ══ WHY US (dark section) ══ */
.why-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; transition: background 0.2s;
}
.why-item:hover { background: rgba(255,255,255,0.09); }
.why-check { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: white; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.why-item:nth-child(even) .why-check { background: var(--ocean); }
.why-text strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.why-text span { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ══ INDUSTRY CARDS ══ */
.industry-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: border-color 0.2s, box-shadow 0.2s;
  border-top: 3px solid transparent;
}
.industry-card:hover { box-shadow: var(--shadow); }
.industry-card:nth-child(odd):hover { border-top-color: var(--teal); }
.industry-card:nth-child(even):hover { border-top-color: var(--ocean); }
.industry-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.industry-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-family: var(--sans); }
.industry-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ══ TESTIMONIAL ══ */
.testimonial-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial-quote { font-family: var(--serif); font-size: clamp(1.3rem,2.5vw,1.75rem); color: var(--navy); line-height: 1.45; font-style: italic; margin-bottom: 2rem; }
.testimonial-mark { font-family: var(--serif); font-size: 4rem; color: var(--teal); line-height: 0.5; display: block; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--light); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: var(--navy); }
.author-info strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.author-info span { font-size: 0.85rem; color: var(--muted); }

/* ══ BLOG CARDS ══ */
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.2s, transform 0.2s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean); margin-bottom: 0.5rem; display: block; font-family: var(--sans); }
.blog-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 0.6rem; font-family: var(--sans); }
.blog-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { font-size: 0.78rem; color: var(--muted); }

/* ══ CTA BANNER ══ */
.cta-banner { background: var(--navy); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.07; }
.cta-banner h2 { font-size: clamp(1.9rem,4vw,2.8rem); color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.75; position: relative; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══ FORMS ══ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--text);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(47,109,178,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ══ FOOTER ══ */
footer { background: #0d1f42; padding: 4rem 0 2rem; color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; max-width: 280px; margin: 0.75rem 0 1.5rem; }
.footer-contact a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.875rem; margin-bottom: 0.4rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.1rem; font-family: var(--sans); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 0.5rem; }

/* ══ PARTNER LOGOS ══ */
.partner-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 0.4rem 0.9rem; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7); }

/* ══ GRIDS ══ */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.grid-2-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-2-1.reverse { direction: rtl; }
.grid-2-1.reverse > * { direction: ltr; }

/* ══ UTILITIES ══ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.tag-teal { background: rgba(43,184,179,0.12); color: var(--teal); }
.tag-ocean { background: rgba(47,109,178,0.12); color: var(--ocean); }
.tag-orange { background: rgba(242,140,40,0.12); color: var(--orange); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2-1 { grid-template-columns: 1fr; gap: 3rem; direction: ltr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 1.5rem; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .cta-btns { flex-direction: column; align-items: center; }
}
