/* =============================================
   InternetCableCanada — Deep Teal & Warm Gold
   ============================================= */

:root {
  --teal-deep: #0B3D3F;
  --teal-mid: #14605E;
  --teal-light: #1A7D7A;
  --gold: #D4A843;
  --gold-light: #F0D07A;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --text: #1A1A1A;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* ---- Header ---- */
.site-header {
  background: var(--teal-deep);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--gold);
  margin-right: 4px;
}

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: var(--gold);
  color: var(--teal-deep);
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--gold-light);
}

.cta-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-number {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-mid) 50%, var(--teal-light) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--teal-deep);
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--teal-deep);
}

.btn-light:hover {
  background: var(--cream);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Services ---- */
.services {
  padding: 80px 0;
  background: var(--cream);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: var(--teal-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.service-icon {
  color: var(--teal-mid);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--teal-deep);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 80px 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: var(--teal-deep);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.step-num {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--teal-deep);
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-600);
  max-width: 280px;
  margin: 0 auto;
}

.step a {
  color: var(--teal-mid);
  font-weight: 600;
}

/* ---- Why Us ---- */
.why-us {
  padding: 80px 0;
  background: var(--cream);
}

.why-us h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: var(--teal-deep);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-item {
  padding: 28px;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.why-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--teal-deep);
}

.why-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--teal-deep);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.logo-footer {
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 380px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 14px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services, .how-it-works, .why-us {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .header-cta {
    align-items: center;
    width: 100%;
    text-align: center;
  }
}
