/* =========================================================
   COMPLETE CIRCLE DIGITAL MARKETING — styles.css (Homepage)
   Same token system as the PPC page: red #EE3B30, ink #1A1A1A,
   gray #6B6B6B, hairline #E5E2DE, Archivo Black + Inter
   ========================================================= */

:root {
  --red: #EE3B30;
  --red-dark: #C42B22;
  --ink: #1A1A1A;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --hairline: #E5E2DE;
  --paper: #FFFFFF;
  --paper-tint: #FAF8F6;

  --font-display: 'Archivo Black', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 14px; }
h3 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 8px; }
h4 { font-size: 0.95rem; margin-bottom: 4px; }

p { margin: 0; color: var(--gray); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.section-sub {
  max-width: 680px;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.text-mark { color: var(--red); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-mark.small { width: 32px; height: 32px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.logo-text small {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gray);
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav > a, .main-nav .nav-item > .nav-top {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.main-nav > a::after, .main-nav .nav-item > .nav-top::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.main-nav > a:hover::after, .nav-item:hover > .nav-top::after { width: 100%; }

.nav-item { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: -14px;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.3);
  padding: 8px;
  margin-top: 14px;
}
.nav-item:hover > .nav-dropdown, .nav-item:focus-within > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-dropdown a:hover { background: var(--paper-tint); color: var(--red); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero { position: relative; padding: 76px 0 88px; overflow: hidden; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-sub { margin-top: 18px; max-width: 620px; font-size: 1.08rem; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.target-graphic { width: min(100%, 380px); height: auto; }

.target-graphic .ring { fill: none; stroke: var(--red); opacity: 0; }
.ring-1, .ring-2, .ring-3, .ring-4 { stroke-width: 18; }

.target-graphic .bullseye { fill: var(--red); opacity: 0; transform-origin: 200px 200px; }
.target-graphic .ping { fill: none; stroke: var(--red); stroke-width: 3; opacity: 0; transform-origin: 200px 200px; }

.target-graphic.is-active .ring-1 { animation: ringIn 0.7s cubic-bezier(.2,.7,.2,1) 0.05s forwards; }
.target-graphic.is-active .ring-2 { animation: ringIn 0.7s cubic-bezier(.2,.7,.2,1) 0.18s forwards; }
.target-graphic.is-active .ring-3 { animation: ringIn 0.7s cubic-bezier(.2,.7,.2,1) 0.31s forwards; }
.target-graphic.is-active .ring-4 { animation: ringIn 0.7s cubic-bezier(.2,.7,.2,1) 0.44s forwards; }
.target-graphic.is-active .bullseye { animation: dotIn 0.5s ease 0.6s forwards; }
.target-graphic.is-active .ping { animation: pingOut 1.4s ease-out 0.95s forwards; }

@keyframes ringIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes dotIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pingOut { 0% { opacity: 0.9; r: 16; } 100% { opacity: 0; r: 190; } }

/* ===== INTRO STRIP ===== */
.intro-strip { background: var(--ink); color: #fff; padding: 34px 0; }
.intro-strip p { color: #EDEDED; font-size: 1.1rem; max-width: 900px; font-weight: 500; }

/* ===== SECTION SPACING ===== */
section { padding: 86px 0; }

/* ===== WHY US (used for Our USPs) ===== */
.why-us { background: var(--paper-tint); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 40px; }
.why-card { background: #fff; border-radius: 16px; padding: 26px; border-left: 4px solid var(--red); }
.why-card h3 { text-transform: none; color: var(--ink); }
.why-card p { font-size: 0.94rem; }
section.why-us + section.why-us,
.why-us.on-white { background: var(--paper); }

/* ===== BENEFIT ROWS (used for Methodology) ===== */
.benefit-rows { margin-top: 40px; border-top: 1px solid var(--hairline); }
.benefit-row {
  display: grid;
  grid-template-columns: 60px 280px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.benefit-row .step-no {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1.1rem;
}
.benefit-row h3 { color: var(--ink); text-transform: none; font-size: 1.15rem; }
.benefit-row p { font-size: 1rem; max-width: 640px; }

.benefit-row.no-step { grid-template-columns: 280px 1fr; }

@media (max-width: 980px) {
  .benefit-row.no-step { grid-template-columns: 1fr; gap: 6px; }
}

/* ===== PLATFORM GRID (used for Our Digital Marketing Services) ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.platform-item { background: #fff; padding: 26px 22px; transition: background-color 0.2s ease; }
.platform-item.is-link:hover { background: var(--paper-tint); }
.platform-item h4 { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.platform-item p { font-size: 0.9rem; }
.platform-item .arrow { color: var(--red); font-weight: 700; }

/* ===== INDUSTRY GRID (used for Business Verticals) ===== */
.industries { background: var(--paper-tint); }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 44px; }
.industry-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,0.25); }
.ring-icon { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--red); position: relative; margin-bottom: 16px; }
.ring-icon::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--red); }
.industry-card h3 { text-transform: none; }
.industry-card p { font-size: 0.94rem; }

/* ===== SECTION BACKGROUND UTILITY ===== */
section.alt { background: var(--paper-tint); }

/* ===== BODY / INLINE LINKS (within paragraphs) ===== */
p a, .faq-a a, .benefit-row a, .why-card a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(238,59,48,0.35);
  text-underline-offset: 2px;
}
p a:hover, .faq-a a:hover, .benefit-row a:hover, .why-card a:hover { text-decoration-color: var(--red); }

/* ===== CHIP GRID (plain label lists, no description) ===== */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--red); color: var(--red); }

/* ===== ENGAGEMENT MODELS (flexible engagement cards) ===== */
.engagement-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.model-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 30px; }
.model-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 10px;
}
.model-card p { color: #D8D8D8; font-size: 1rem; }

/* ===== CONTACT LAYOUT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px;
}
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.contact-row:last-child { border-bottom: none; }
.contact-row .contact-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--red);
  min-width: 100px;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-row .contact-value { color: var(--ink); font-size: 1rem; font-weight: 500; line-height: 1.6; }
.contact-row .contact-value a { color: var(--ink); text-decoration: none; }
.contact-row .contact-value a:hover { color: var(--red); }
.contact-map-note {
  background: var(--paper-tint);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-map-note .ring-icon { margin: 0 auto 16px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-list { margin-top: 36px; max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-q:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--red); border-radius: 1px; transition: transform 0.25s ease; }
.faq-icon::before { width: 100%; height: 2px; top: 8px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; top: 0; left: 8px; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 22px; }
.faq-a p { font-size: 0.98rem; max-width: 700px; margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a .sub-note { font-weight: 700; color: var(--ink); display: block; margin: 12px 0 6px; }
.faq-a ul { margin: 0 0 10px; padding: 0; list-style: none; max-width: 700px; }
.faq-a li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: 0.98rem; color: var(--gray); }
.faq-a li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink); color: #fff; padding: 50px 0 34px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.92rem; }
.footer-brand small { display: block; font-size: 0.6rem; letter-spacing: 0.16em; color: #B5B5B5; font-weight: 400; }
.footer-tagline { font-size: 0.78rem; letter-spacing: 0.4em; color: var(--red); font-weight: 700; }
.footer-copy { font-size: 0.82rem; color: #8A8A8A; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
    padding: 18px 28px 26px;
    gap: 10px;
  }
  .nav-dropdown { display: block; position: static; box-shadow: none; border: none; margin: 4px 0 0 10px; }

  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto 12px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-row { grid-template-columns: 40px 1fr; gap: 6px 20px; }
  .benefit-row h3 { grid-column: 2; }
  .benefit-row p { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .header-inner { height: 68px; }
}
