/*
Theme Name: CCC Corporate
Theme URI: https://example.com/
Author: Martin Mercado
Description: A responsive corporate WordPress theme for Caparros, Cendaña & Co.
Version: 1.0.0
Text Domain: ccc-corporate
*/
/* ===========================================================
   Caparros, Cendaña & Co. — Sample Website Styles
   Palette drawn from CCC brand assets (firm profile deck):
   Navy #003D62 / Deep Navy #002A45 / Blue #1A5E8A / Teal #2A7DA0
   Backgrounds: #FFFFFF, #F5F7F9, #E8EEF3, #D0DDE8
   Text: #3D3D3D / #6B6B6B
   =========================================================== */

:root {
  --navy: #003D62;
  --navy-dark: #002A45;
  --blue: #1A5E8A;
  --teal: #2A7DA0;
  --bg-soft: #F5F7F9;
  --bg-soft-2: #E8EEF3;
  --border: #D0DDE8;
  --text: #3D3D3D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --radius: 10px;
  --max: 1160px;
  --font: Tahoma, Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--blue); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--navy-dark); color: rgba(255,255,255,0.75); font-size: 0.76rem; }
.utility-bar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 7px 32px; max-width: var(--max); gap: 16px; flex-wrap: wrap; }
.utility-bar .u-contact { display: flex; gap: 20px; flex-wrap: wrap; white-space: nowrap; }
.utility-bar .u-contact span { opacity: 0.9; }
.utility-bar .u-portals { display: flex; gap: 18px; white-space: nowrap; }
.utility-bar .u-portals a { color: rgba(255,255,255,0.75); font-weight: 600; }
.utility-bar .u-portals a:hover { color: #fff; }
@media (max-width: 700px) { .utility-bar .u-contact { display: none; } .utility-bar .wrap { justify-content: center; } }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
header.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,42,69,0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 56px; width: auto; }

nav.main-nav { flex: 1; display: flex; justify-content: center; }
nav.main-nav ul { display: flex; gap: 22px; align-items: center; }
nav.main-nav a {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--navy); border-color: var(--teal); }

.nav-item { position: relative; }
.nav-item .caret { font-size: 0.85em; margin-left: 4px; opacity: 0.85; color: var(--teal); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 2px solid var(--teal); border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0,42,69,0.22);
  padding: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .15s ease, translate .15s ease;
  z-index: 50;
}
.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 6px; border-bottom: none; font-size: 0.95rem; font-weight: 600; }
.dropdown-menu a:hover { background: var(--bg-soft-2); color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  nav.main-nav { position: fixed; inset: 96px 0 0 0; background: var(--white); padding: 24px 32px; transform: translateY(-110%); transition: transform .25s ease; overflow-y:auto; justify-content: flex-start; }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  nav.main-nav ul li { width: 100%; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; opacity: 1; visibility: visible; display: none; padding-left: 14px; margin-top: 4px; }
  .nav-item.open .dropdown-menu { display: block; }
  .menu-toggle { display: block; background: none; border: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 1380px) and (min-width: 981px) {
  .nav-inner { gap: 16px; }
  nav.main-nav ul { gap: 12px; }
  nav.main-nav a { font-size: 0.88rem; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.8rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.hero h1 { font-size: 2.75rem; line-height: 1.15; color: var(--navy-dark); letter-spacing: -0.02em; margin-bottom: 20px; }
.effective-word {
  display: inline-block;
  color: var(--blue);
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-style: italic;
  font-weight: 300;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transform: rotate(-1deg);
  transform-origin: center;
}
.hero p.lead { font-size: 1.1rem; color: var(--text-light); margin-bottom: 32px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/3.2;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 28px;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,0.18), transparent 55%);
}
.hero-visual .card {
  position: relative;
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  padding: 18px 20px;
  width: 100%;
  color: var(--navy-dark);
}
.hero-visual .card strong { display:block; font-size: 1.4rem; }
.hero-visual .card span { font-size: 0.78rem; color: var(--text-light); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

/* ---------- Section basics ---------- */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 2rem; color: var(--navy-dark); letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 1.02rem; }
.section-foot { margin-top: 40px; text-align: center; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Core-value cards */
.values-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.value-card {
  text-align: center;
  padding: 28px 14px;
  border-top: 4px solid var(--teal);
}
.value-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 900;
}
.value-card h3 { margin-bottom: 0; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .values-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 12px 28px rgba(0,61,98,0.09); transform: translateY(-3px); }
.card .num { font-size: 0.8rem; font-weight: 800; color: var(--teal); letter-spacing: 0.06em; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; color: var(--navy-dark); margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.93rem; }
.card ul { margin-top: 12px; }
.card ul li { font-size: 0.88rem; color: var(--text-light); padding-left: 16px; position: relative; margin-bottom: 6px; }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--teal); }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Striped service cards: blue / white / blue / white */
.card.stripe-blue {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.card.stripe-blue .num { color: #8FD0E8; }
.card.stripe-blue h3 { color: #fff; }
.card.stripe-blue p { color: rgba(255,255,255,0.75); }
.card.stripe-blue ul li { color: rgba(255,255,255,0.82); }
.card.stripe-blue ul li::before { color: #8FD0E8; }
.card.stripe-blue:hover { box-shadow: 0 12px 28px rgba(0,61,98,0.28); }

/* ---------- Stats band (Home) ---------- */
.stats-band { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 52px 0; text-align: center; }
.stats-grid .stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stats-grid .stat span { font-size: 0.82rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- Photo placeholder panels (stock imagery) ---------- */
.photo-panel {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
  color: rgba(255,255,255,0.85);
}
.photo-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.16), transparent 55%);
}
.photo-panel svg { width: 46%; max-width: 90px; opacity: 0.85; position: relative; }
.photo-panel.tall { min-height: 320px; }
.photo-panel .ph-label {
  position: absolute; bottom: 10px; right: 12px; font-size: 0.65rem;
  color: rgba(255,255,255,0.55); letter-spacing: 0.05em; text-transform: uppercase;
}
.team-photo { border-radius: var(--radius) var(--radius) 0 0; min-height: 190px; margin-bottom: 18px; }

/* ---------- Accreditation strip ---------- */
.accred-strip { background: var(--navy-dark); padding: 40px 0; }
.accred-strip .label { color: rgba(255,255,255,0.6); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; text-align:center; margin-bottom: 22px; }
.accred-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.accred-badges span {
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 18px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.accred-badges span.soon { opacity: 0.5; font-weight: 500; }

/* ---------- Partner cards ---------- */
.partner-card { text-align: center; }
.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft-2);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  border: 2px solid var(--border);
}
.partner-card h3 { margin-bottom: 2px; }
.partner-card .role { color: var(--teal); font-weight: 600; font-size: 0.85rem; margin-bottom: 12px; display:block; }
.partner-card p.bio { font-size: 0.88rem; color: var(--text-light); text-align: left; }
.partner-card .email { margin-top: 14px; font-size: 0.85rem; color: var(--navy); font-weight: 600; }

/* ---------- News / Resource cards ---------- */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: var(--bg-soft-2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 8px; }

/* ---------- Newsletter ---------- */
.newsletter-inline {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 20px;
  padding: 52px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter-inline h3 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-inline p { color: rgba(255,255,255,0.75); font-size: 0.94rem; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  min-width: 240px;
  font-family: var(--font);
  font-size: 0.9rem;
}

/* ---------- Popup modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,42,69,0.55);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 36px 32px 28px;
  position: relative;
  border-top: 5px solid var(--teal);
}
.modal-box .close-modal {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 1.3rem; color: var(--text-light); cursor: pointer;
}
.modal-box h3 { color: var(--navy-dark); font-size: 1.3rem; margin-bottom: 8px; }
.modal-box p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }
.modal-box input {
  width: 100%; padding: 11px 14px; margin-bottom: 12px;
  border: 1px solid var(--border); border-radius: 8px; font-family: var(--font); font-size: 0.9rem;
}

/* ---------- Forms (contact / quote) ---------- */
.form-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-card label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy-dark); margin-bottom: 6px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-family: var(--font); font-size: 0.9rem; background: #fff;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-full { margin-bottom: 16px; }

/* ---------- Contact info list ---------- */
.contact-info li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-soft-2); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0;
}
.contact-info strong { display: block; color: var(--navy-dark); font-size: 0.92rem; }
.contact-info span { color: var(--text-light); font-size: 0.88rem; }

.map-placeholder {
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 10px, var(--bg-soft-2) 10px, var(--bg-soft-2) 20px);
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.85rem; text-align:center; padding: 20px;
}

/* ---------- Portal (coming soon) ---------- */
.portal-hero { text-align: center; padding: 120px 0; }
.portal-lock { width: 68px; height: 68px; border-radius: 50%; background: var(--bg-soft-2); color: var(--navy); display:flex; align-items:center; justify-content:center; margin: 0 auto 24px; font-size: 1.6rem; }
.portal-hero h1 { color: var(--navy-dark); font-size: 2rem; margin-bottom: 12px; }
.portal-hero p { color: var(--text-light); max-width: 46ch; margin: 0 auto 28px; }
.portal-mock { max-width: 360px; margin: 40px auto 0; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; opacity: 0.6; pointer-events: none; text-align: left; }
.portal-mock label { font-size: 0.8rem; font-weight: 600; color: var(--navy-dark); display:block; margin-bottom: 6px; }
.portal-mock input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 14px; background: #fff; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: 16px; }
footer .foot-logo { background: #fff; display: inline-block; padding: 8px 14px; border-radius: 8px; margin-bottom: 14px; }
footer .foot-logo img { height: 32px; width: auto; }
footer p.desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); max-width: 32ch; }
footer ul li { margin-bottom: 10px; font-size: 0.86rem; }
footer ul li a:hover { color: var(--teal); }
footer .social { display: flex; gap: 10px; margin-top: 14px; }
footer .social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
footer .social a svg { display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-bottom .sample-badge { color: #FFC069; font-weight: 600; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 56px 0 44px; }
.page-head .eyebrow { margin-bottom: 10px; }
.page-head h1 { color: var(--navy-dark); font-size: 2.6rem; letter-spacing: -0.01em; }
.page-head p { color: var(--text-light); margin-top: 12px; max-width: 60ch; }

/* Careers landing page */
.careers-head {
  padding: 78px 0 68px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 58%, var(--teal) 100%);
  border-bottom: none;
  color: var(--white);
}
.careers-head .eyebrow { color: #9DD9EC; }
.careers-head h1 {
  color: var(--white);
  max-width: 790px;
  font-size: clamp(2.25rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.careers-lead { max-width: 900px; margin-top: 30px; }
.careers-head .careers-lead p {
  max-width: none;
  margin-top: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}
.careers-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.careers-cta strong { font-size: 1.05rem; color: var(--white); }
.careers-head .btn-teal {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0,42,69,0.22);
}
.careers-head .btn-teal:hover { background: #DDF2F8; color: var(--navy-dark); }
.breadcrumb { font-size: 0.8rem; color: var(--text-light); margin-bottom: 14px; }
.breadcrumb a { color: var(--teal); font-weight: 600; }

/* ---------- Values / mission-vision ---------- */
.mv-card { border-left: 3px solid var(--teal); padding-left: 24px; }
.mv-card h3 { color: var(--navy-dark); margin-bottom: 10px; font-size: 1.15rem; }
.mv-card p { color: var(--text-light); font-size: 0.95rem; }

/* Sample content notice */
.sample-note {
  background: #FFF8E9; border: 1px solid #F0DDA6; color: #7A5A00;
  font-size: 0.82rem; padding: 12px 18px; border-radius: 8px; margin-bottom: 32px;
}

/* ---------- Chips (industries / entity types) ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud span {
  background: var(--bg-soft-2); color: var(--navy-dark);
  font-size: 0.83rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
}

/* Why CCC icon cards */
.why-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--bg-soft-2); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-weight: 800;
}

/* ---------- Featured accreditation / partner logo cards ---------- */
.logo-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.logo-card:hover { box-shadow: 0 12px 28px rgba(0,61,98,0.09); transform: translateY(-3px); }
.logo-card .logo-mark {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
}
.logo-card h4 { color: var(--navy-dark); font-size: 0.95rem; margin-bottom: 4px; }
.logo-card span.sub { color: var(--text-light); font-size: 0.78rem; }
.logo-card .swap-note {
  position: absolute; top: 8px; right: 10px; font-size: 0.6rem;
  color: var(--text-light); opacity: 0.55; letter-spacing: 0.03em;
}


/* ---------- Single-file page-view routing ---------- */
main.site-main { min-height: 60vh; }
.page-view { display: none; }
.page-view.active { display: block; animation: pageFadeIn .35s ease; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }


/* ---------- Patch: page-head photo layout ---------- */
.page-head.has-photo .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.page-head .photo-panel { min-height: 170px; border-radius: var(--radius); }
@media (max-width: 900px) {
  .page-head.has-photo .wrap { grid-template-columns: 1fr; }
  .page-head .photo-panel { order: -1; min-height: 140px; }
}

/* ---------- Patch: industry cards, striped + hover zoom ---------- */
.industry-card { transition: transform .25s ease, box-shadow .25s ease; }
.industry-card:hover { transform: scale(1.05); box-shadow: 0 16px 34px rgba(0,61,98,0.18); z-index: 2; }
.industry-card.stripe-blue:hover { box-shadow: 0 16px 34px rgba(0,61,98,0.35); }

/* ---------- Patch: Home careers teaser band ---------- */
.home-careers-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 58%, var(--teal) 100%);
  border-radius: 20px;
  padding: 56px 48px;
  color: #fff;
  text-align: center;
}
.home-careers-band .eyebrow { color: #9DD9EC; }
.home-careers-band h2 { font-size: 2rem; line-height: 1.25; max-width: 760px; margin: 14px auto 16px; color: #fff; }
.home-careers-band p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto 26px; }
.home-careers-band .btn-teal { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(0,42,69,0.22); }
.home-careers-band .btn-teal:hover { background: #DDF2F8; color: var(--navy-dark); }

/* ---------- Patch: four-quadrant moving hero visual ---------- */
.hero-quad {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 10px; aspect-ratio: 4/3.2; border-radius: 20px; overflow: hidden;
}
.quad-cell {
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.quad-cell svg { width: 34%; max-width: 60px; opacity: 0.9; position: relative; z-index: 1; animation: quadPulse 5s ease-in-out infinite; }
.quad-cell .ph-label { position: absolute; bottom: 8px; left: 10px; right: auto; text-transform: none; font-size: 0.62rem; color: rgba(255,255,255,0.65); }
.quad-cell::before {
  content: ""; position: absolute; inset: 0;
  background-size: 200% 200%;
  animation: quadShift 9s ease-in-out infinite;
}
.q1::before { background-image: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); animation-delay: 0s; }
.q2::before { background-image: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); animation-delay: 1.2s; }
.q3::before { background-image: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%); animation-delay: 2.4s; }
.q4::before { background-image: linear-gradient(135deg, var(--blue) 0%, var(--navy-dark) 100%); animation-delay: 3.6s; }
.q1 svg { animation-delay: 0s; }
.q2 svg { animation-delay: 0.6s; }
.q3 svg { animation-delay: 1.2s; }
.q4 svg { animation-delay: 1.8s; }
@keyframes quadShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes quadPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }
@media (max-width: 900px) { .hero-quad { aspect-ratio: 4/2.6; } }

/* ---------- Patch: Core Values hover-reveal ---------- */
.value-card { cursor: default; transition: box-shadow .2s ease, transform .2s ease; }
.value-card:hover { box-shadow: 0 12px 28px rgba(0,61,98,0.14); transform: translateY(-2px); }
.value-desc {
  max-height: 0; opacity: 0; overflow: hidden;
  font-size: 0.83rem; color: var(--text-light); margin-top: 0;
  transition: max-height .3s ease, opacity .25s ease, margin-top .3s ease;
}
.value-card:hover .value-desc { max-height: 100px; opacity: 1; margin-top: 10px; }

/* ---------- Patch: continuous drifting particles (video-style motion) ---------- */
.hero-particles { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; bottom: -10%; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  animation-name: driftUp; animation-timing-function: ease-in; animation-iteration-count: infinite;
}
.p1 { left: 8%;  animation-duration: 7s;  animation-delay: 0s;   }
.p2 { left: 22%; animation-duration: 9s;  animation-delay: 1.4s; width:5px; height:5px; }
.p3 { left: 38%; animation-duration: 6.5s;animation-delay: 2.6s; }
.p4 { left: 52%; animation-duration: 8.5s;animation-delay: 0.8s; width:4px; height:4px; }
.p5 { left: 66%; animation-duration: 7.5s;animation-delay: 3.2s; }
.p6 { left: 78%; animation-duration: 9.5s;animation-delay: 1.9s; width:6px; height:6px; }
.p7 { left: 90%; animation-duration: 6.8s;animation-delay: 2.2s; width:4px; height:4px; }
.p8 { left: 14%; animation-duration: 10s; animation-delay: 4s;   width:5px; height:5px; }
@keyframes driftUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-320%) translateX(14px); opacity: 0; }
}

/* ---------- Patch: Insights nav regroup / navy overlay hero / photo collage (2026-08-12) ---------- */

.geo-overlay { position: relative; overflow: hidden; }
.geo-overlay::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.06) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.06) 25%, transparent 25%);
  background-position: 60px 0, 60px 0, 0 0, 0 0;
  background-size: 120px 120px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.geo-overlay::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 15%, rgba(255,255,255,0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.geo-overlay > .wrap { position: relative; z-index: 1; }

/* Home hero: navy overlay treatment, inspired by ccc.net.ph's hero band */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--blue) 100%);
  border-bottom: none;
}
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #9DD9EC; }
.hero .effective-word { color: #BFE6F2; text-decoration-color: rgba(255,255,255,0.75); }
.hero p.lead { color: rgba(255,255,255,0.85); }
.hero .btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.14); color: var(--white); border-color: rgba(255,255,255,0.8); }
.hero-quad { box-shadow: 0 20px 50px rgba(0,20,35,0.35); border: 1px solid rgba(255,255,255,0.15); }

/* Careers hero: two-column layout with photo collage */
.careers-head .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .careers-head .wrap { grid-template-columns: 1fr; } }

/* Photo collage placeholder (tilted stacked photos, VVC-inspired) */
.photo-collage { position: relative; min-height: 260px; }
.pc-card {
  position: absolute; width: 62%; aspect-ratio: 4/3;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, var(--teal) 0%, var(--navy) 100%);
  box-shadow: 0 16px 34px rgba(0,20,35,0.4);
  border: 4px solid #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.pc-card:hover { transform: scale(1.04) rotate(0deg) !important; z-index: 5 !important; }
.pc-card svg { width: 34%; opacity: 0.9; }
.pc-card .ph-label { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 0.62rem; color: rgba(255,255,255,0.8); text-transform: none; }
.pc-card.pc1 { top: 0; left: 4%; transform: rotate(-7deg); z-index: 3; }
.pc-card.pc2 { top: 16%; left: 34%; transform: rotate(5deg); z-index: 2; background: linear-gradient(150deg, var(--blue) 0%, var(--navy-dark) 100%); }
.pc-card.pc3 { top: 42%; left: 0; transform: rotate(4deg); z-index: 1; background: linear-gradient(150deg, var(--navy-dark) 0%, var(--teal) 100%); }
@media (max-width: 900px) { .photo-collage { min-height: 220px; margin-top: 24px; } }

/* Life at CCC page-head (navy + photo collage, matches Careers treatment) */
.page-head.life-head {
  padding: 78px 0 68px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 58%, var(--teal) 100%);
  border-bottom: none;
  color: var(--white);
}
.page-head.life-head .eyebrow { color: #9DD9EC; }
.page-head.life-head h1 { color: var(--white); }
.page-head.life-head p { color: rgba(255,255,255,0.85); }
.page-head.life-head .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .page-head.life-head .wrap { grid-template-columns: 1fr; } }

/* ---------- Patch: Services page redesign (quick-nav, popular, categories, FAQ) ---------- */
.svc-quicknav { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-quicknav a {
  background: var(--bg-soft-2); color: var(--navy-dark); font-weight: 700; font-size: 0.85rem;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
  transition: background .15s ease, color .15s ease;
}
.svc-quicknav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.svc-category-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.svc-category-head .svc-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
}
.svc-category-head .svc-icon svg { width: 26px; height: 26px; }
.svc-category-head h2 { color: var(--navy-dark); font-size: 1.5rem; margin-bottom: 4px; }
.svc-category-head p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

.svc-intro { color: var(--text-light); max-width: 74ch; margin-bottom: 28px; }
.svc-cta { margin-top: 18px; }
.card .svc-photo {
  margin: -30px -26px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  min-height: 150px;
}
.card .svc-photo svg { width: 30%; max-width: 54px; }
.card.stripe-blue .svc-photo { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }

/* Industries We Serve: flat tile grid (distinct from Sectors-We-Serve reference layout) */
.industry-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tile {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; font-weight: 700; color: var(--navy-dark); font-size: 0.88rem;
  display: flex; align-items: center; gap: 10px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 10px 24px rgba(0,61,98,0.12); }
.tile-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* WordPress integration */
.generic-content { padding-top: 64px; padding-bottom: 64px; }
.generic-content h1 { color: var(--navy-dark); margin-bottom: 20px; }
.admin-bar header.site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site-header { top: 46px; } }
