/* ============================================
   ReachPulse Media — styles.css
   Colors: Teal #0891B2, Charcoal #1E293B, Warm White #FFFBF5
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0891B2;
  --teal-dark: #0E7490;
  --teal-light: #22D3EE;
  --charcoal: #1E293B;
  --charcoal-light: #334155;
  --warm-white: #FFFBF5;
  --warm-white-dark: #FFF7ED;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-500: #64748B;
  --grey-700: #374151;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(30,41,59,.08);
  --shadow-md: 0 4px 12px rgba(30,41,59,.1);
  --shadow-lg: 0 8px 30px rgba(30,41,59,.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: .3s ease;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--grey-100); }
.section-dark { background: var(--charcoal); color: var(--warm-white); }
.section-dark h2, .section-dark h3 { color: var(--warm-white); }
.section-dark p { color: var(--grey-300); }
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.section-header { margin-bottom: 3rem; }
.section-header p { color: var(--grey-500); max-width: 600px; margin: .75rem auto 0; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem; border-radius: var(--radius); font-weight: 600;
  font-size: .95rem; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-white:hover { background: var(--warm-white); border-color: var(--warm-white); color: var(--teal-dark); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,251,245,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: .75rem 1.5rem;
}
.logo { display: flex; align-items: center; gap: .5rem; }
.logo svg { width: 36px; height: 36px; }
.logo span { font-size: 1.15rem; font-weight: 700; color: var(--charcoal); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  color: var(--charcoal-light); font-weight: 500; font-size: .92rem;
  position: relative; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 1px;
}
.header-cta { margin-left: .5rem; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: .25rem;
}
.hamburger svg { width: 28px; height: 28px; color: var(--charcoal); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--warm-white); z-index: 999; padding: 5rem 2rem 2rem;
  flex-direction: column; gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.15rem; font-weight: 500; color: var(--charcoal);
  padding: .75rem 0; border-bottom: 1px solid var(--grey-200);
}
.mobile-nav a:hover { color: var(--teal); }
.mobile-nav .btn { margin-top: 1rem; justify-content: center; }

/* --- Hero --- */
.hero {
  padding: 8rem 0 5rem; background: linear-gradient(135deg, var(--charcoal) 0%, #0F172A 100%);
  color: var(--warm-white); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,145,178,.15) 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .highlight { color: var(--teal-light); }
.hero p { color: var(--grey-300); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-graphic {
  width: 100%; max-width: 420px; aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(8,145,178,.2), rgba(34,211,238,.1));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-graphic svg { width: 50%; height: 50%; color: var(--teal-light); opacity: .6; }
.hero-graphic::after {
  content: ''; position: absolute; inset: -15px; border-radius: 50%;
  border: 1px solid rgba(8,145,178,.2);
}

/* --- Stats Bar --- */
.stats-bar { background: var(--teal); color: var(--white); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item h3 { font-size: 2rem; margin-bottom: .25rem; color: var(--white); }
.stat-item p { font-size: .9rem; opacity: .85; margin: 0; }

/* --- Service Cards --- */
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border: 1px solid var(--grey-200);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.service-icon {
  width: 52px; height: 52px; background: rgba(8,145,178,.1);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 26px; height: 26px; color: var(--teal); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--grey-500); font-size: .93rem; margin: 0; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--teal);
}
.service-card .learn-more svg { width: 16px; height: 16px; }

/* --- Portfolio / Case Study Cards --- */
.portfolio-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border: 1px solid var(--grey-200);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-thumb {
  height: 200px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.portfolio-thumb svg { width: 64px; height: 64px; opacity: .4; }
.portfolio-body { padding: 1.5rem; }
.portfolio-body .tag {
  display: inline-block; background: rgba(8,145,178,.1); color: var(--teal);
  font-size: .78rem; font-weight: 600; padding: .25rem .65rem;
  border-radius: 20px; margin-bottom: .75rem;
}
.portfolio-body h3 { margin-bottom: .5rem; }
.portfolio-body p { color: var(--grey-500); font-size: .9rem; }
.portfolio-metrics { display: flex; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--grey-200); }
.portfolio-metrics .metric { text-align: center; }
.portfolio-metrics .metric strong { display: block; color: var(--teal); font-size: 1.1rem; }
.portfolio-metrics .metric span { font-size: .78rem; color: var(--grey-500); }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
}
.testimonial-card .stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.testimonial-card .stars svg { width: 18px; height: 18px; color: #F59E0B; fill: #F59E0B; }
.testimonial-card blockquote { font-style: italic; color: var(--grey-700); font-size: .95rem; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grey-200);
  display: flex; align-items: center; justify-content: center;
}
.testimonial-avatar svg { width: 22px; height: 22px; color: var(--grey-500); }
.testimonial-author .name { font-weight: 600; font-size: .9rem; }
.testimonial-author .role { font-size: .82rem; color: var(--grey-500); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white); padding: 4rem 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.85); max-width: 550px; margin: 0 auto 2rem; }

/* --- Pricing --- */
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm); border: 2px solid var(--grey-200);
  text-align: center; transition: all var(--transition); position: relative;
}
.pricing-card.featured { border-color: var(--teal); transform: scale(1.03); }
.pricing-card.featured .pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white); font-size: .78rem; font-weight: 600;
  padding: .3rem 1rem; border-radius: 20px;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card h3 { margin-bottom: .5rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--teal); margin: 1rem 0 .25rem; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--grey-500); }
.pricing-card .price-note { font-size: .85rem; color: var(--grey-500); margin-bottom: 1.5rem; }
.pricing-features { text-align: left; margin-bottom: 2rem; }
.pricing-features li {
  padding: .5rem 0; font-size: .9rem; display: flex; align-items: flex-start; gap: .5rem;
  border-bottom: 1px solid var(--grey-100);
}
.pricing-features li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* --- Team --- */
.team-card {
  text-align: center; background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
}
.team-avatar {
  width: 90px; height: 90px; border-radius: 50%; background: var(--grey-200);
  margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center;
}
.team-avatar svg { width: 40px; height: 40px; color: var(--grey-500); }
.team-card h3 { margin-bottom: .15rem; font-size: 1.1rem; }
.team-card .role { color: var(--teal); font-size: .88rem; font-weight: 500; margin-bottom: .75rem; }
.team-card p { font-size: .88rem; color: var(--grey-500); margin: 0; }

/* --- Blog --- */
.blog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
}
.blog-body { padding: 1.5rem; }
.blog-body .date { font-size: .82rem; color: var(--grey-500); margin-bottom: .5rem; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.blog-body h3 a { color: var(--charcoal); }
.blog-body h3 a:hover { color: var(--teal); }
.blog-body p { font-size: .9rem; color: var(--grey-500); margin: 0; }

/* --- Contact Form --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; font-size: 1rem; }
.contact-info-block h3 svg { width: 20px; height: 20px; color: var(--teal); }
.contact-info-block p { color: var(--grey-500); font-size: .93rem; margin: 0; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--grey-300);
  border-radius: var(--radius); font-size: .95rem; font-family: inherit;
  background: var(--white); transition: border-color var(--transition);
  color: var(--charcoal);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,145,178,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem; }
.map-embed iframe { width: 100%; height: 350px; border: 0; }

/* --- FAQ --- */
.faq-item {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  margin-bottom: .75rem; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
  font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--charcoal); font-family: inherit; transition: color var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-question svg { width: 20px; height: 20px; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--grey-700); font-size: .93rem; }

/* --- Awards --- */
.award-item {
  text-align: center; padding: 1.5rem;
}
.award-item svg { width: 48px; height: 48px; color: var(--teal); margin: 0 auto .75rem; }
.award-item h4 { font-size: .95rem; margin-bottom: .25rem; }
.award-item p { font-size: .82rem; color: var(--grey-500); margin: 0; }

/* --- Page Header Banner --- */
.page-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, #0F172A 100%);
  color: var(--warm-white); padding: 7.5rem 0 3rem; text-align: center;
}
.page-header h1 { margin-bottom: .5rem; color: var(--warm-white); }
.page-header p { color: var(--grey-300); max-width: 550px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1rem; font-size: .85rem; }
.breadcrumb a { color: var(--grey-300); }
.breadcrumb span { color: var(--grey-500); }

/* --- Thank You --- */
.thankyou-section { text-align: center; padding: 10rem 0 6rem; }
.thankyou-section .checkmark {
  width: 80px; height: 80px; border-radius: 50%; background: rgba(8,145,178,.1);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.thankyou-section .checkmark svg { width: 40px; height: 40px; color: var(--teal); }
.thankyou-section p { color: var(--grey-500); }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--grey-700); }
.legal-content ul { padding-left: 1.25rem; list-style: disc; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: .35rem; font-size: .93rem; }

/* --- Footer --- */
.site-footer { background: var(--charcoal); color: var(--grey-300); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-about p { font-size: .9rem; margin-top: .75rem; }
.footer-col h4 { color: var(--warm-white); font-size: .95rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--grey-300); font-size: .88rem; padding: .25rem 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem;
}
.footer-bottom a { color: var(--grey-300); }
.footer-bottom a:hover { color: var(--teal-light); }
.footer-legal { display: flex; gap: 1.5rem; }

/* --- Animations --- */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .nav-links, .header-cta { display: none; }
  .hamburger { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 7rem 0 3.5rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
