/* =============================================
   Commerce Terrace Consulting — Main Stylesheet
   ============================================= */

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

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #374151;
  background: #ffffff;
}

/* ---- HEADER BANNER ---- */
.header-banner {
  background: linear-gradient(135deg, #1A56DB 0%, #1A56DB 50%, #0E9F8E 100%);
  position: relative;
  overflow: hidden;
}

.header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.header-ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.header-ornament .line {
  height: 1px;
  width: 64px;
  background-color: #F59E0B;
  opacity: 0.8;
}

.header-ornament i {
  color: #FBBF24;
  font-size: 1.25rem;
}

.header-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.header-title span {
  color: #FBBF24;
  display: block;
}

.header-gold-line {
  margin-top: 1.25rem;
  height: 4px;
  width: 260px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 60%, transparent 100%);
}

/* ---- CONTACT BAR ---- */
.contact-bar {
  background: #ffffff;
  border-bottom: 1px solid #E5E9F0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.875rem 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.contact-item i.loc  { color: #1A56DB; font-size: 1rem; }
.contact-item i.ph   { color: #0E9F8E; font-size: 1rem; }
.contact-item i.fx   { color: #9CA3AF; font-size: 1rem; }
.contact-item.fax    { color: #6B7280; }

.contact-divider {
  width: 1px;
  height: 1rem;
  background: #D1D5DB;
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #EEF4FF 0%, #F0FDF9 100%);
  padding: 5rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(26,86,219,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(14,159,142,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-float-icon {
  position: absolute;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}
.hero-float-icon.shield  { color: #1A56DB; font-size: 10rem; top: 20px;   left: 60px;   }
.hero-float-icon.leaf    { color: #0E9F8E; font-size: 6.25rem; bottom: 30px; left: 200px;  }
.hero-float-icon.dollar  { color: #F59E0B; font-size: 8.75rem; top: 10px;   right: 140px; }
.hero-float-icon.chart   { color: #1A56DB; font-size: 5.625rem; bottom: 20px; right: 60px;  }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.375rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1A3A6B;
  margin-bottom: 1.5rem;
}

.hero-heading span {
  color: #1A56DB;
}

.hero-paragraph {
  font-size: 1.125rem;
  color: #4B5563;
  line-height: 1.75;
  max-width: 36rem;
}

/* ---- SERVICES SECTION ---- */
.services {
  background: #F8FAFF;
  padding: 4rem 3rem;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F59E0B;
}

.services-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #1A3A6B;
  margin-top: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 75rem;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border-top: 4px solid #1A56DB;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

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

.service-card:nth-child(2) { border-top-color: #0E9F8E; }
.service-card:nth-child(3) { border-top-color: #F59E0B; }
.service-card:nth-child(4) { border-top-color: #F59E0B; }

.card-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon-wrap.blue   { background: #EEF4FF; }
.card-icon-wrap.teal   { background: #ECFDF5; }
.card-icon-wrap.amber  { background: #FFFBEB; }

.card-icon-wrap i.blue  { color: #1A56DB; font-size: 1.5rem; }
.card-icon-wrap i.teal  { color: #0E9F8E; font-size: 1.5rem; }
.card-icon-wrap i.amber { color: #F59E0B; font-size: 1.5rem; }

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A3A6B;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.6;
}

/* ---- FOOTER ---- */
.footer {
  background: linear-gradient(135deg, #0F2460 0%, #0D3B6E 100%);
  padding: 2.5rem 3rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.footer-icon-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(251,191,36,0.2);
  border: 1px solid rgba(251,191,36,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon-wrap i { color: #FBBF24; font-size: 0.875rem; }

.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #93C5FD;
  max-width: 18rem;
  line-height: 1.6;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  font-size: 0.875rem;
  color: #93C5FD;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #6B9BD2;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .header-title { font-size: 2rem; }
  .hero-heading  { font-size: 2.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services      { padding: 3rem 1.25rem; }
  .footer        { padding: 2rem 1.25rem; }
  .footer-contact { text-align: left; }
  .contact-bar-inner { gap: 1rem; flex-direction: column; align-items: flex-start; padding-left: 1.5rem; }
  .contact-divider { display: none; }
}
