/* ══════════════════════════════════════════════════════
   Capstan Networks — Shared Styles
   ══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────── */
:root {
  --orange:      #F26522;
  --orange-dark: #D4551A;
  --gray-dark:   #2B2B2B;
  --gray-mid:    #555555;
  --gray-light:  #F4F4F4;
  --white:       #FFFFFF;
}

/* ── Base ───────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--gray-dark);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.15;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* ── Buttons ────────────────────────────────────────── */
.btn-primary-cta {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  padding: 14px 30px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary-cta:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary-cta {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 14px 30px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-secondary-cta:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white-cta {
  background: var(--white);
  color: var(--orange);
  border: 2px solid var(--white);
  padding: 14px 30px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-white-cta:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────── */
#mainNav {
  background: var(--gray-dark);
  padding: 12px 0;
}
#mainNav .navbar-brand {
  padding: 4px 0;
  line-height: 1;
}
#mainNav .navbar-brand img {
  height: 34px;
  display: block;
}
#mainNav .nav-link {
  color: #ccc;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px;
  transition: color 0.2s;
}
#mainNav .nav-link:hover { color: var(--orange); }
.nav-phone {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--orange-dark); }
.navbar-toggler { border-color: #666; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Alert bar ──────────────────────────────────────── */
.alert-bar {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
}
.alert-bar a { color: var(--white); text-decoration: underline; }

/* ── Page Header Band ───────────────────────────────── */
.page-header-band {
  background: var(--gray-dark);
  padding: 64px 0 54px;
  color: var(--white);
}
.page-header-band .eyebrow {
  font-family: 'Just Another Hand', cursive;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}
.page-header-band h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}
.page-header-band p {
  color: #bbb;
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,101,34,0.18);
  border: 1px solid rgba(242,101,34,0.4);
  color: #ffb380;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}
.launch-badge i { font-size: 0.8rem; }

/* ── Section defaults ───────────────────────────────── */
.section-white  { background: var(--white);      padding: 80px 0; }
.section-gray   { background: var(--gray-light);  padding: 80px 0; }
.section-dark   { background: var(--gray-dark);   padding: 80px 0; color: var(--white); }
.section-orange { background: var(--orange);      padding: 80px 0; color: var(--white); }

.section-label {
  font-family: 'Just Another Hand', cursive;
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 8px;
  text-transform: uppercase;
  display: block;
}
.section-dark  .section-label { color: #ffb380; }
.section-orange .section-label { color: rgba(255,255,255,0.8); }

h2.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 18px;
}
.section-dark  h2.section-heading { color: var(--white); }
.section-orange h2.section-heading { color: var(--white); }

.lead-text {
  font-size: 1.1rem;
  color: var(--gray-mid);
  line-height: 1.75;
}
.section-dark  .lead-text { color: #bbb; }
.section-orange .lead-text { color: rgba(255,255,255,0.9); }

/* ── Hero (index) ───────────────────────────────────── */
#hero {
  background: linear-gradient(rgba(43,43,43,0.52), rgba(43,43,43,0.52)),
              url('../img/intro-bg.jpg') center center / cover no-repeat;
  padding: 110px 0 90px;
  color: var(--white);
}
#hero .eyebrow {
  font-family: 'Just Another Hand', cursive;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 12px;
}
#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 22px;
}
#hero h1 span { color: var(--orange); }
#hero .hero-sub {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ddd;
  margin-bottom: 36px;
  max-width: 600px;
}
#hero .cta-group { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-bar {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 0.9rem;
}
.trust-item i { color: var(--orange); font-size: 1rem; }
.trust-item img { height: 34px; opacity: 0.85; }

/* ── Stats Bar (index) ──────────────────────────────── */
#stats {
  background: var(--orange);
  padding: 40px 0;
}
.stat-block {
  text-align: center;
  color: var(--white);
  padding: 10px clamp(8px, 1.5vw, 20px);
}
.stat-number {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  display: block;
  white-space: nowrap;
}
.stat-label {
  font-size: clamp(0.65rem, 1.1vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.3);
  align-self: stretch;
  margin: 10px 0;
}

/* ── Service Cards ──────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 36px 30px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(242,101,34,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.97rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-card .card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-card .card-link i { margin-left: 4px; font-size: 0.75rem; }

/* ── Feature Cards (apple-business) ─────────────────── */
.feature-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 28px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(242,101,34,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.97rem; color: var(--gray-mid); line-height: 1.7; margin: 0; }

/* ── Checklist ──────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid #eee;
}
.check-list li:last-child { border-bottom: none; }
.check-list li i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.section-dark .check-list li { border-bottom-color: rgba(255,255,255,0.1); }
.section-dark .check-list li i { color: #ffb380; }

/* ── Included Items (apple-business) ────────────────── */
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.included-item:last-child { border-bottom: none; }
.included-item .item-icon {
  width: 40px;
  height: 40px;
  background: rgba(242,101,34,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.included-item h4 { font-size: 1rem; margin-bottom: 4px; }
.included-item p { font-size: 0.95rem; color: var(--gray-mid); margin: 0; line-height: 1.6; }

/* ── Testimonials (index) ───────────────────────────── */
.testimonial-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 30px 28px;
  height: 100%;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
  margin-bottom: 18px;
  border: none;
  padding: 0;
}
.testimonial-card .attrib {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,255,255,0.2);
  font-family: Georgia, serif;
  margin-bottom: -10px;
  display: block;
}

/* ── Client Logos (index) ───────────────────────────── */
.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.client-logo-wrap:hover { opacity: 1; }
.client-logo-wrap img { max-height: 52px; max-width: 130px; object-fit: contain; }

/* ── About (index) ──────────────────────────────────── */
.about-photo {
  border-radius: 12px;
  width: 100%;
  max-width: 300px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.acn-badge {
  max-width: 180px;
  margin-top: 24px;
}

/* ── Contact / Form (index) ─────────────────────────── */
#contact {
  background: var(--gray-dark);
  padding: 80px 0;
  color: var(--white);
}
.form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,0.15);
}
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: #ccc; }

/* ── Privacy page content ───────────────────────────── */
.content-section {
  padding: 72px 0 80px;
}
.policy-item {
  padding: 28px 0;
  border-bottom: 1px solid #eee;
}
.policy-item:last-child {
  border-bottom: none;
}
.policy-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy-item h3 i {
  color: var(--orange);
  font-size: 1.1rem;
  width: 24px;
  flex-shrink: 0;
}
.policy-item p {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 0;
  padding-left: 36px;
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: #1a1a1a;
  padding: 50px 0 30px;
  color: #888;
  font-size: 0.9rem;
}
footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
footer a { color: #999; }
footer a:hover { color: var(--orange); }
.footer-divider {
  border-top: 1px solid #333;
  margin: 30px 0 20px;
}
.footer-brand {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.footer-brand span { color: var(--orange); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
  .stat-number { font-size: 2rem; white-space: normal; }
  .stat-label  { font-size: 0.7rem; white-space: normal; }
}

@media (max-width: 768px) {
  .stat-divider { display: none; }
  #hero { padding: 80px 0 60px; }
  .section-white, .section-gray, .section-dark, .section-orange, #contact { padding: 56px 0; }
  .content-section { padding: 52px 0 60px; }
  .page-header-band { padding: 48px 0 40px; }
}
