/* ========================
   Reset
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ========================
   Buttons
======================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0e5567;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #423760;
}

/* ========================
   Navigation
======================== */
.nav-index {
  width: 100%;
  background-color: #1c0809;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-index .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-index .logo a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-index .nav-links {
  list-style: none;
  display: flex;
}

.nav-index .nav-links li {
  margin-left: 2rem;
}

.nav-index .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-index .nav-links a:hover,
.nav-index .nav-links a.active {
  color: #58A4B0;
}

/* ========================
   Mobile Navigation
======================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #1c0809;
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav ul li {
  margin: 20px 0;
}

.mobile-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-nav ul li ul {
  display: none;
  padding-left: 15px;
}

.mobile-nav ul li ul.open {
  display: block;
}

/* ========================
   Hero Section
======================== */
.hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  margin-top: 10px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero-index {
  background-image: url('images/hero-2.jpg');
  padding-top: 60px;
}

.hero-contact,
.hero-portfolio {
  background-image: url('images/hero-2.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 60px;
}

/* ========================
   Homepage Section Backgrounds
======================== */
.projects-index      { background-color: #ffffff; }
.two-column-index    { background-color: #f2f2f2; }
.two-column-services { background-color: #ffffff; }
.why-choose-us       { background-color: #ffffff; }
.client-feedback     { background-color: #f2f2f2; }
.contact-cta         { background-color: #0e5567; color: #fff; }
.footer-index        { background-color: #1c0809; color: #fff; }

/* ========================
   Sections Styling
======================== */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #0e5567;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.card p {
  color: #555;
  line-height: 1.6;
}

/* Two-column sections */
.two-column-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.two-column-left,
.two-column-right {
  flex: 1 1 50%;
}

.two-column-left {
  padding-right: 1rem;
  text-align: center;
}

.two-column-right {
  padding-left: 1rem;
}

.two-column-right img {
  width: 100%;
  border-radius: 8px;
}

/* Bullets in two-column and card sections */
.two-column-left ul,
.card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  line-height: 1.6;
  text-align: left;
}

/* Feature Boxes (Why Choose Me) */
.feature-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature-box {
  background-color: #f7f7f7;
  padding: 30px 20px;
  border-radius: 2px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
  margin-bottom: 15px;
  color: #571F4E;
}

.feature-box p {
  color: #555;
}

/* ========================
   Contact CTA
======================== */
.contact-cta {
  background-color: #0e5567;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}

.contact-cta h2,
.contact-cta p {
  color: #fff;
}

.contact-cta .btn {
  background-color: #58A4B0;
  color: #fff;
}

.contact-cta .btn:hover {
  background-color: #b1b7c3;
}

/* ========================
   Index Page Contact CTA
======================== */
.contact-cta-index {
  background-color: #0e5567;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}

.contact-cta-index h2 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.contact-cta-index h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #fff;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-cta-index p {
  color: #fff;
  margin-bottom: 30px;
}

.contact-cta-index .btn {
  background-color: #58A4B0;
  color: #fff;
}

.contact-cta-index .btn:hover {
  background-color: #b1b7c3;
}

/* ========================
   Footer
======================== */
.footer-index {
  text-align: center;
  padding: 40px 20px;
}

.footer-index a {
  color: #796da7;
  text-decoration: none;
}

/* ========================
   About Page Specific
======================== */
.hero-about {
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-about .hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.about-text .about-image {
  margin-top: 30px;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

/* Timeline (About Page) */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #0e5567;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

.timeline-item.left  { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #f39c12;
  border: 4px solid #0e5567;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: #f7f7f7;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ========================
   About Page Contact Section
======================== */
.about-page .contact-cta {
  background-color: #f2f2f2;
  color: #000;
}

.about-page .contact-cta h2,
.about-page .contact-cta p {
  color: #000;
}

.about-page .contact-cta a {
  color: #6a0dad;
  text-decoration: underline;
}

.about-page .contact-cta a:hover {
  color: #9b30ff;
}

/* ========================
   Contact Form Section
======================== */
.contact-form-section {
  background-color: #f2f2f2;
  padding: 60px 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  align-self: center;
  padding: 12px 30px;
  background-color: #0e5567;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.contact-form button:hover {
  background-color: #423760;
}

/* ========================
   Custom Services Section
======================== */
.custom-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
  margin-bottom: 60px;
  position: relative;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-row:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background-color: #f2f2f2;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.service-text,
.service-image {
  flex: 1 1 45%;
  min-width: 280px;
  max-width: 600px;
  padding: 20px;
}

.service-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0e5567;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.service-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  text-align: left;
}

.service-text ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ========================
   Contact Page
======================== */
.contact-page-section {
  background-color: #f2f2f2;
  padding: 80px 20px;
}

.contact-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 280px;
  max-width: 360px;
}

.contact-info h2 {
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 15px;
  position: relative;
}

.contact-info h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #0e5567;
  margin: 14px 0 0;
  border-radius: 2px;
}

.contact-info p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background-color: #0e5567;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.contact-detail-text {
  padding-top: 6px;
}

.contact-detail-text strong {
  display: block;
  color: #1c0809;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text span {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.contact-detail-text a:hover {
  color: #0e5567;
}

.contact-form-wrapper {
  flex: 1 1 380px;
  background-color: #fff;
  border-radius: 10px;
  padding: 45px 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: #1c0809;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  font-size: 0.95rem;
  font-family: 'Raleway', sans-serif;
  color: #333;
  background-color: #fafafa;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0e5567;
  box-shadow: 0 0 0 3px rgba(14,85,103,0.1);
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #0e5567;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 5px;
}

.form-submit-btn:hover {
  background-color: #423760;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.form-success .checkmark {
  width: 60px;
  height: 60px;
  background-color: #0e5567;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success .checkmark svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  color: #1c0809;
  margin-bottom: 10px;
}

.form-success p {
  color: #555;
  font-size: 0.95rem;
}

/* Process Strip */
.process-strip {
  background-color: #fff;
  padding: 70px 20px;
}

.process-strip h2 {
  text-align: center;
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 50px;
  position: relative;
}

.process-strip h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #0e5567;
  margin: 16px auto 0;
  border-radius: 2px;
}

.process-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-color: #ddd;
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.step-number {
  width: 56px;
  height: 56px;
  background-color: #0e5567;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 18px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #0e5567;
}

.process-step h4 {
  font-size: 0.95rem;
  color: #1c0809;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}

/* ========================
   Portfolio Page
======================== */
.portfolio-filter-bar {
  background-color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border: 2px solid #0e5567;
  border-radius: 30px;
  background: transparent;
  color: #0e5567;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #0e5567;
  color: #fff;
}

.portfolio-section {
  background-color: #f2f2f2;
  padding: 60px 20px 80px;
}

.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.13);
}

.portfolio-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.05);
}

.portfolio-card-image.swatch-1 { background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%); }
.portfolio-card-image.swatch-2 { background: linear-gradient(135deg, #1c0809 0%, #571F4E 100%); }
.portfolio-card-image.swatch-3 { background: linear-gradient(135deg, #423760 0%, #796da7 100%); }
.portfolio-card-image.swatch-4 { background: linear-gradient(135deg, #58A4B0 0%, #b1b7c3 100%); }
.portfolio-card-image.swatch-5 { background: linear-gradient(135deg, #0e5567 0%, #423760 100%); }
.portfolio-card-image.swatch-6 { background: linear-gradient(135deg, #571F4E 0%, #0e5567 100%); }

.swatch-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: #0e5567;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-card-body {
  padding: 22px 24px 26px;
}

.portfolio-card-body h3 {
  font-size: 1.1rem;
  color: #1c0809;
  margin-bottom: 8px;
}

.portfolio-card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 4px;
  background-color: #f2f2f2;
  color: #555;
  font-weight: 500;
}

.portfolio-card.hidden {
  display: none;
}

/* Stats Strip */
.stats-strip {
  background-color: #0e5567;
  padding: 50px 20px;
  text-align: center;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  color: #fff;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

/* Testimonials */
.testimonial-strip {
  background-color: #fff;
  padding: 70px 20px;
}

.testimonial-strip h2 {
  text-align: center;
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 50px;
  position: relative;
}

.testimonial-strip h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #0e5567;
  margin: 16px auto 0;
  border-radius: 2px;
}

.testimonials {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  border-left: 4px solid #0e5567;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: #0e5567;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: #1c0809;
  font-size: 0.9rem;
}

.testimonial-role {
  color: #888;
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Portfolio CTA */
.portfolio-cta {
  background-color: #f2f2f2;
  padding: 70px 20px;
  text-align: center;
}

.portfolio-cta h2 {
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 15px;
}

.portfolio-cta p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   Responsive
======================== */
@media (max-width: 1024px) {
  .hero { height: 50vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 0.95rem; }
  .cards, .feature-boxes { gap: 20px; }
  .hero-index { padding-top: 80px; }
}

@media (max-width: 768px) {
  .nav-index .nav-links { display: none; }

  .nav-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 20px;
    z-index: 1001;
  }

  .mobile-nav { display: block; }

  /* Fixed Hero Spacing for Mobile Content */
  .hero {
    height: auto !important; /* Forces container to adapt to content height */
    padding: 100px 20px 40px !important; /* Spacing above and below content */
  }
  
  .hero .hero-content {
    padding: 10px !important;
  }
  
  .hero p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .hero-index { padding-top: 70px; }

  .two-column-wrapper { flex-direction: column; }
  .two-column-left,
  .two-column-right {
    padding: 0;
    text-align: center;
  }

  .timeline::after { left: 8px; }
  .timeline-item {
    width: 100%;
    padding-left: 20px;
    padding-right: 25px;
    margin-bottom: 20px;
  }
  .timeline-item.right { left: 0; }
  .timeline-item::after { left: -10px; }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }
  .service-text,
  .service-image {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px;
  }
  .service-text ul {
    text-align: center;
    padding-left: 0;
  }

  .contact-cta-index { padding-top: 30px; }
} /* Media Query correctly closes here */

@media (max-width: 480px) {
  .hero { height: 35vh; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.85rem; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .hero-index { padding-top: 40px; }
  .nav-index .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ========================
   Pricing Cards
======================== */
.pricing-section {
  background-color: #f2f2f2;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px 25px 30px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card h3 {
  font-size: 1.2rem;
  color: #1c0809;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0e5567;
  margin: 12px 0 4px;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
  flex-grow: 1;
}

.pricing-card ul li {
  font-size: 0.95rem;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 25px;
  position: relative;
}

.pricing-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #0e5567;
  font-weight: 700;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-card.featured {
  border: 3px solid #0e5567;
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0e5567;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pricing-note {
  margin-top: 50px;
  font-size: 0.95rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .pricing-card.featured {
    transform: scale(1);
    margin: 10px 0;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    gap: 20px;
  }
  .pricing-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* -- Case Study page styles -- */
.cs-hero {
  background: #1a1a1a;
  color: #fff;
  padding: 100px 20px 60px;
  text-align: center;
}
.cs-hero .back-link {
  display: inline-block;
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cs-hero .back-link:hover { color: #fff; }
.cs-hero .tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  color: #ccc;
  margin-bottom: 20px;
}
.cs-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.2;
}
.cs-hero p {
  font-size: 17px;
  color: #aaa;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cs-hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cs-hero-meta span {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cs-hero-meta span strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 3px;
  text-transform: none;
  letter-spacing: 0;
}

/* -- Site preview -- */
.cs-preview {
  background: #f5f5f3;
  padding: 48px 20px;
  text-align: center;
}
.cs-preview a {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
}
.cs-preview a:hover { color: #111; border-color: #111; }
.browser-frame {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  text-align: left;
}
.browser-bar {
  background: #e8e8e8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #ccc;
}
.browser-dots span:nth-child(1) { background: #f97171; }
.browser-dots span:nth-child(2) { background: #f9c74f; }
.browser-dots span:nth-child(3) { background: #90be6d; }
.browser-url {
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  padding: 4px 10px;
  flex: 1;
}
.browser-content {
  background: #1a1a1a;
  padding: 40px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
}
.browser-content .site-logo-mock {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}
.browser-content h2 {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-align: center;
}
.browser-content p {
  font-size: 14px;
  color: #888;
  margin: 0;
}
.browser-content .live-btn {
  margin-top: 12px;
  background: #c8a96e;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

/* -- Body sections -- */
.cs-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.cs-section { margin-bottom: 56px; }
.cs-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}
.cs-section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
}
.cs-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 14px;
}

/* -- Deliverables grid -- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.deliverable-item {
  background: #f7f7f5;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.deliverable-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.deliverable-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.deliverable-item p {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.5;
}

/* -- Brand colours -- */
.brand-colours {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.colour-chip {
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  min-width: 100px;
}
.colour-swatch { height: 70px; }

.colour-info {
  background: #f7f7f5;
  padding: 10px 12px;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

.colour-info strong {
  display: block;
  color: #1a1a1a;
  font-size: 13px;
}

/* -- Tags -- */
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cs-tag {
  background: #f0f0ee;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.04em;
}

/* -- Browser frame (for web case studies) -- */
.cs-preview {
  background: #f5f5f3;
  padding: 48px 20px;
  text-align: center;
}

.cs-preview a.view-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
}

.cs-preview a.view-link:hover { color: #111; border-color: #111; }

.browser-frame {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  text-align: left;
}

.browser-bar {
  background: #e8e8e8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots { display: flex; gap: 6px; }

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ccc;
}

.browser-dots span:nth-child(1) { background: #f97171; }
.browser-dots span:nth-child(2) { background: #f9c74f; }
.browser-dots span:nth-child(3) { background: #90be6d; }

.browser-url {
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  padding: 4px 10px;
  flex: 1;
}

/* -- CTA -- */
.cs-cta {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}

.cs-cta h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.cs-cta p {
  color: #aaa;
  font-size: 15px;
  margin: 0 0 28px;
}

.cs-cta .btn {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.cs-cta .btn:hover { background: #eee; }

/* -- Responsive -- */
@media (max-width: 640px) {
  .included-list { grid-template-columns: 1fr; }
  .cs-result-row { grid-template-columns: 1fr; gap: 6px; }
  .cs-result-label { text-align: left; }
  .cs-result-bar-wrap { height: 8px; }
  .cs-metric { flex: 1 1 45%; border-right: none; border-bottom: 1px solid #eee; }
}

.portfolio-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.portfolio-card-cta:hover { opacity: 0.6; }

/* ========================
   Blog Page — J Royles Designs
   blog.css
======================== */

/* Hero */
.hero-blog {
  background-color: #0e5567;
  margin-top: 60px; /* clears the fixed nav */
  padding: 70px 20px 70px;
  text-align: center;
  color: #fff;
  min-height: 280px;
}

.hero-blog .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #58A4B0;
  margin-bottom: 14px;
}

.hero-blog h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-blog h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #58A4B0;
  margin: 18px auto 0;
  border-radius: 2px;
}

.hero-blog p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
}

/* Blog Section */
.blog-section {
  background-color: #f2f2f2;
  padding: 50px 20px 80px;
}

.blog-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.results-count {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 22px;
  font-weight: 500;
}

/* 4-column grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card image header */
.card-image {
  height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card[data-cat="branding"]     .card-image { background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%); }
.blog-card[data-cat="marketing"]    .card-image { background: linear-gradient(135deg, #1c0809 0%, #571F4E 100%); }
.blog-card[data-cat="content-seo"]  .card-image { background: linear-gradient(135deg, #423760 0%, #796da7 100%); }
.blog-card[data-cat="email-social"] .card-image { background: linear-gradient(135deg, #58A4B0 0%, #b1b7c3 100%); }

.card-image-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Card */
.blog-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.13);
}

.blog-card.hidden {
  display: none;
}

/* Category colour bands */
.card-band {
  height: 5px;
  width: 100%;
}

.blog-card[data-cat="branding"]     .card-band { background-color: #0e5567; }
.blog-card[data-cat="marketing"]    .card-band { background-color: #571F4E; }
.blog-card[data-cat="content-seo"]  .card-band { background-color: #423760; }
.blog-card[data-cat="email-social"] .card-band { background-color: #58A4B0; }

.card-body {
  padding: 22px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card[data-cat="branding"]     .card-tag { color: #0e5567; }
.blog-card[data-cat="marketing"]    .card-tag { color: #571F4E; }
.blog-card[data-cat="content-seo"]  .card-tag { color: #423760; }
.blog-card[data-cat="email-social"] .card-tag { color: #58A4B0; }

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1c0809;
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}

.card-desc {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-top: 1px solid #f0f0f0;
}

.card-read {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0e5567;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-read:hover { gap: 8px; }
.card-read::after { content: '\2192'; }

.card-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f2f2f2;
  color: #888;
}

.card-status.live {
  background: #e6f4ec;
  color: #2e7d45;
}

/* Responsive */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================
   blog-post.css
   Styles for individual blog post pages
   J Royles Designs
   ============================================ */

/* ========================
   Post Hero
======================== */
.post-hero {
  background-color: #0e5567;
  margin-top: 60px;
  padding: 64px 20px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(88,164,176,0.3) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(28,8,9,0.4) 0%, transparent 55%);
  pointer-events: none;
}

.post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.2s;
}

.post-back:hover { color: #fff; }
.post-back::before { content: '\2190'; font-size: 0.85rem; }

.post-category {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.post-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #fff;
}

.post-hero .post-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* ========================
   Post Body Layout
======================== */
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ========================
   Typography
======================== */
.post-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 1.5rem;
}

.post-body h2 {
  font-family: 'Lora', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #1c0809;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-body h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 40px;
  background-color: #0e5567;
  margin: 10px 0 0;
  border-radius: 2px;
}

.post-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c0809;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.post-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 2.5rem 0;
}

/* ========================
   COMPONENT: Bulleted List
======================== */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.post-list li {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
}

.post-list li:last-child { border-bottom: none; }

.post-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0e5567;
}

/* ========================
   COMPONENT: Numbered List
======================== */
.post-list-numbered {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  counter-reset: list-counter;
}

.post-list-numbered li {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  padding: 12px 0 12px 52px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
  counter-increment: list-counter;
}

.post-list-numbered li:last-child { border-bottom: none; }

.post-list-numbered li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  background-color: #0e5567;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================
   COMPONENT: Pull Quote
======================== */
.post-quote {
  border-left: 4px solid #0e5567;
  background: #f7f9fa;
  padding: 28px 32px;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  position: relative;
}

.post-quote::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 5rem;
  color: #0e5567;
  opacity: 0.15;
  position: absolute;
  top: -8px;
  left: 14px;
  line-height: 1;
}

.post-quote p {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #1c0809;
  line-height: 1.7;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.post-quote cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  color: #0e5567;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================
   COMPONENT: Callout / Stat Quote
======================== */
.post-callout {
  background: #0e5567;
  color: #fff;
  padding: 32px 36px;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.post-callout p {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.55;
}

.post-callout cite {
  font-size: 0.8rem;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================
   COMPONENT: Inline Image
======================== */
.post-image {
  margin: 2rem 0;
}

.post-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* Placeholder — remove once real image added */
.post-image-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2rem 0;
}

.post-image-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

.post-image-caption {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
}

/* Wide — bleeds beyond column */
.post-image-wide {
  margin: 2rem -40px;
  border-radius: 0;
}

.post-image-wide img {
  width: 100%;
  display: block;
}

/* Two-up pair */
.post-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 2rem 0;
}

.post-image-pair .post-image-placeholder {
  height: 200px;
  margin: 0;
}

/* ========================
   COMPONENT: Video Embed
======================== */
.post-video { margin: 2rem 0; }

.post-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder — remove once real embed added */
.post-video-placeholder {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #1c0809 0%, #423760 100%);
  cursor: pointer;
}

.post-video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
}

.play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }

.post-video-placeholder:hover .play-btn { background: rgba(255,255,255,0.25); }

.post-video-placeholder-inner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.post-video-caption {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ========================
   COMPONENT: Key Takeaways Box
======================== */
.post-takeaway {
  background: #f2f9fa;
  border: 1px solid #cde8ec;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 2rem 0;
}

.post-takeaway-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e5567;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-takeaway-label::before { content: '\2605'; font-size: 0.85rem; }

.post-takeaway ul { list-style: none; padding: 0; margin: 0; }

.post-takeaway ul li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  padding: 5px 0 5px 20px;
  position: relative;
}

.post-takeaway ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #0e5567;
  font-weight: 700;
}

/* ========================
   Post Footer — Author + Tags
======================== */
.post-footer {
  border-top: 1px solid #eee;
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.post-author { display: flex; align-items: center; gap: 16px; }

.post-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e5567, #58A4B0);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.post-author-info strong { display: block; font-size: 0.95rem; color: #1c0809; margin-bottom: 2px; }
.post-author-info span { font-size: 0.82rem; color: #888; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.post-tag {
  background: #f0f0ee;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
}

.post-tag:hover { background: #e0e0de; }

/* ========================
   Related Posts
======================== */
.post-related {
  background: #f2f2f2;
  padding: 60px 20px;
}

.post-related-inner { max-width: 1100px; margin: 0 auto; }

.post-related h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1c0809;
  margin-bottom: 30px;
  position: relative;
}

.post-related h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 40px;
  background-color: #0e5567;
  margin: 10px 0 0;
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.related-card-image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.related-card-image.swatch-a { background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%); }
.related-card-image.swatch-b { background: linear-gradient(135deg, #1c0809 0%, #571F4E 100%); }
.related-card-image.swatch-c { background: linear-gradient(135deg, #423760 0%, #796da7 100%); }

.blog-card[data-cat="free-resource"] .card-image { background: linear-gradient(135deg, #571F4E 0%, #f39c12 100%); }
.blog-card[data-cat="free-resource"] .card-tag    { color: #571F4E; }


/* ==========================================================================
   PRODUCTION REPAIR OVERRIDES (FIXES LAYOUT BUGS WITHOUT ALTERING CORES)
   ========================================================================== */

/* Fix: Alignment of the How It Works section on Desktop viewports */
@media (min-width: 769px) {
  .process-steps {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 20px !important;
  }
  .process-step {
    flex: 1 !important;
  }
}

/* Fix: Forces contact middle section columns side-by-side on desktop viewports */
@media (min-width: 769px) {
  .contact-page-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px !important;
  }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  }
}

/* Fix: Centers asymmetric text block boundaries on mobile contact template */
@media (max-width: 768px) {
  .contact-info {
    max-width: 100% !important;
    padding: 0 10px !important;
    text-align: center !important;
  }
  .contact-info p,
  .contact-info h2 {
    text-align: center !important;
  }
  .contact-detail {
    justify-content: center !important;
    text-align: left !important;
  }
  
}
/* Fix: Centers asymmetric text block boundaries on mobile contact template */
@media (max-width: 768px) {
  .contact-info {
    max-width: 100% !important;
    padding: 0 10px !important;
    text-align: center !important;
  }
  .contact-info p,
  .contact-info h2 {
    text-align: center !important;
  }
  .contact-detail {
    justify-content: center !important;
    text-align: left !important;
  }
}
/* ========================
   Case Study — Missing Component Styles
   Fixes: case-study-social-media.html + case-study-og.html
======================== */

.cs-metrics-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.cs-metric {
  flex: 1 1 16%;
  min-width: 140px;
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid #eee;
}

.cs-metric:last-child {
  border-right: none;
}

.cs-metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0e5567;
  line-height: 1;
  margin-bottom: 6px;
}

.cs-metric-change {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2e7d45;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.cs-metric-label {
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.cs-callout {
  background: #f2f9fa;
  border-left: 4px solid #0e5567;
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 0 0 2rem;
}

.cs-callout p {
  font-size: 1rem;
  color: #333;
  line-height: 1.75;
  margin: 0;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.included-list li {
  font-size: 0.95rem;
  color: #444;
  padding: 12px 16px 12px 40px;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  position: relative;
  line-height: 1.5;
}

.included-list li:nth-child(even) {
  border-right: none;
}

.included-list li:nth-last-child(-n+2) {
  border-bottom: none;
}

.included-list li::before {
  content: '\2713';
  position: absolute;
  left: 14px;
  color: #0e5567;
  font-weight: 700;
}

.cs-results-grid {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-result-row {
  display: grid;
  grid-template-columns: 220px 1fr 160px;
  align-items: center;
  gap: 16px;
}

.cs-result-label {
  font-size: 0.88rem;
  color: #555;
  text-align: right;
}

.cs-result-bar-wrap {
  background: #f0f0f0;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}

.cs-result-bar {
  height: 100%;
  background: #0e5567;
  border-radius: 4px;
}

.cs-result-stat {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1c0809;
  white-space: nowrap;
}

.cs-result-stat span {
  font-weight: 500;
  color: #2e7d45;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .cs-metric {
    flex: 1 1 30%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .cs-result-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cs-result-label {
    text-align: left;
    font-weight: 700;
    color: #333;
  }
  .cs-result-bar-wrap {
    height: 8px;
  }
  .included-list {
    grid-template-columns: 1fr;
  }
  .included-list li {
    border-right: none;
  }
  .included-list li:nth-last-child(-n+2) {
    border-bottom: 1px solid #eee;
  }
  .included-list li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .cs-metric {
    flex: 1 1 45%;
  }
}/* ========================
   Reset
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ========================
   Buttons
======================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0e5567;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #423760;
}

/* ========================
   Navigation
======================== */
.nav-index {
  width: 100%;
  background-color: #1c0809;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-index .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-index .logo a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-index .nav-links {
  list-style: none;
  display: flex;
}

.nav-index .nav-links li {
  margin-left: 2rem;
}

.nav-index .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-index .nav-links a:hover,
.nav-index .nav-links a.active {
  color: #58A4B0;
}

/* ========================
   Mobile Navigation
======================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #1c0809;
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav ul li {
  margin: 20px 0;
}

.mobile-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-nav ul li ul {
  display: none;
  padding-left: 15px;
}

.mobile-nav ul li ul.open {
  display: block;
}

/* ========================
   Hero Section
======================== */
.hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  margin-top: 10px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero-index {
  background-image: url('images/hero-2.jpg');
  padding-top: 60px;
}

.hero-contact,
.hero-portfolio {
  background-image: url('images/hero-2.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 60px;
}

/* ========================
   Homepage Section Backgrounds
======================== */
.projects-index      { background-color: #ffffff; }
.two-column-index    { background-color: #f2f2f2; }
.two-column-services { background-color: #ffffff; }
.why-choose-us       { background-color: #ffffff; }
.client-feedback     { background-color: #f2f2f2; }
.contact-cta         { background-color: #0e5567; color: #fff; }
.footer-index        { background-color: #1c0809; color: #fff; }

/* ========================
   Sections Styling
======================== */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #0e5567;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.card p {
  color: #555;
  line-height: 1.6;
}

/* Two-column sections */
.two-column-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.two-column-left,
.two-column-right {
  flex: 1 1 50%;
}

.two-column-left {
  padding-right: 1rem;
  text-align: center;
}

.two-column-right {
  padding-left: 1rem;
}

.two-column-right img {
  width: 100%;
  border-radius: 8px;
}

/* Bullets in two-column and card sections */
.two-column-left ul,
.card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  line-height: 1.6;
  text-align: left;
}

/* Feature Boxes (Why Choose Me) */
.feature-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature-box {
  background-color: #f7f7f7;
  padding: 30px 20px;
  border-radius: 2px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
  margin-bottom: 15px;
  color: #571F4E;
}

.feature-box p {
  color: #555;
}

/* ========================
   Contact CTA
======================== */
.contact-cta {
  background-color: #0e5567;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}

.contact-cta h2,
.contact-cta p {
  color: #fff;
}

.contact-cta .btn {
  background-color: #58A4B0;
  color: #fff;
}

.contact-cta .btn:hover {
  background-color: #b1b7c3;
}

/* ========================
   Index Page Contact CTA
======================== */
.contact-cta-index {
  background-color: #0e5567;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}

.contact-cta-index h2 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.contact-cta-index h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #fff;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-cta-index p {
  color: #fff;
  margin-bottom: 30px;
}

.contact-cta-index .btn {
  background-color: #58A4B0;
  color: #fff;
}

.contact-cta-index .btn:hover {
  background-color: #b1b7c3;
}

/* ========================
   Footer
======================== */
.footer-index {
  text-align: center;
  padding: 40px 20px;
}

.footer-index a {
  color: #796da7;
  text-decoration: none;
}

/* ========================
   About Page Specific
======================== */
.hero-about {
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-about .hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.about-text .about-image {
  margin-top: 30px;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

/* Timeline (About Page) */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #0e5567;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

.timeline-item.left  { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #f39c12;
  border: 4px solid #0e5567;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: #f7f7f7;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ========================
   About Page Contact Section
======================== */
.about-page .contact-cta {
  background-color: #f2f2f2;
  color: #000;
}

.about-page .contact-cta h2,
.about-page .contact-cta p {
  color: #000;
}

.about-page .contact-cta a {
  color: #6a0dad;
  text-decoration: underline;
}

.about-page .contact-cta a:hover {
  color: #9b30ff;
}

/* ========================
   Contact Form Section
======================== */
.contact-form-section {
  background-color: #f2f2f2;
  padding: 60px 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  align-self: center;
  padding: 12px 30px;
  background-color: #0e5567;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.contact-form button:hover {
  background-color: #423760;
}

/* ========================
   Custom Services Section
======================== */
.custom-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
  margin-bottom: 60px;
  position: relative;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-row:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background-color: #f2f2f2;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.service-text,
.service-image {
  flex: 1 1 45%;
  min-width: 280px;
  max-width: 600px;
  padding: 20px;
}

.service-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0e5567;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.service-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  text-align: left;
}

.service-text ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ========================
   Contact Page
======================== */
.contact-page-section {
  background-color: #f2f2f2;
  padding: 80px 20px;
}

.contact-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 280px;
  max-width: 360px;
}

.contact-info h2 {
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 15px;
  position: relative;
}

.contact-info h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #0e5567;
  margin: 14px 0 0;
  border-radius: 2px;
}

.contact-info p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background-color: #0e5567;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.contact-detail-text {
  padding-top: 6px;
}

.contact-detail-text strong {
  display: block;
  color: #1c0809;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text span {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.contact-detail-text a:hover {
  color: #0e5567;
}

.contact-form-wrapper {
  flex: 1 1 380px;
  background-color: #fff;
  border-radius: 10px;
  padding: 45px 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: #1c0809;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  font-size: 0.95rem;
  font-family: 'Raleway', sans-serif;
  color: #333;
  background-color: #fafafa;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0e5567;
  box-shadow: 0 0 0 3px rgba(14,85,103,0.1);
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #0e5567;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 5px;
}

.form-submit-btn:hover {
  background-color: #423760;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.form-success .checkmark {
  width: 60px;
  height: 60px;
  background-color: #0e5567;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success .checkmark svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  color: #1c0809;
  margin-bottom: 10px;
}

.form-success p {
  color: #555;
  font-size: 0.95rem;
}

/* Process Strip */
.process-strip {
  background-color: #fff;
  padding: 70px 20px;
}

.process-strip h2 {
  text-align: center;
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 50px;
  position: relative;
}

.process-strip h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #0e5567;
  margin: 16px auto 0;
  border-radius: 2px;
}

.process-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-color: #ddd;
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.step-number {
  width: 56px;
  height: 56px;
  background-color: #0e5567;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 18px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #0e5567;
}

.process-step h4 {
  font-size: 0.95rem;
  color: #1c0809;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}

/* ========================
   Portfolio Page
======================== */
.portfolio-filter-bar {
  background-color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border: 2px solid #0e5567;
  border-radius: 30px;
  background: transparent;
  color: #0e5567;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #0e5567;
  color: #fff;
}

.portfolio-section {
  background-color: #f2f2f2;
  padding: 60px 20px 80px;
}

.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.13);
}

.portfolio-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.05);
}

.portfolio-card-image.swatch-1 { background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%); }
.portfolio-card-image.swatch-2 { background: linear-gradient(135deg, #1c0809 0%, #571F4E 100%); }
.portfolio-card-image.swatch-3 { background: linear-gradient(135deg, #423760 0%, #796da7 100%); }
.portfolio-card-image.swatch-4 { background: linear-gradient(135deg, #58A4B0 0%, #b1b7c3 100%); }
.portfolio-card-image.swatch-5 { background: linear-gradient(135deg, #0e5567 0%, #423760 100%); }
.portfolio-card-image.swatch-6 { background: linear-gradient(135deg, #571F4E 0%, #0e5567 100%); }

.swatch-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: #0e5567;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-card-body {
  padding: 22px 24px 26px;
}

.portfolio-card-body h3 {
  font-size: 1.1rem;
  color: #1c0809;
  margin-bottom: 8px;
}

.portfolio-card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 4px;
  background-color: #f2f2f2;
  color: #555;
  font-weight: 500;
}

.portfolio-card.hidden {
  display: none;
}

/* Stats Strip */
.stats-strip {
  background-color: #0e5567;
  padding: 50px 20px;
  text-align: center;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  color: #fff;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

/* Testimonials */
.testimonial-strip {
  background-color: #fff;
  padding: 70px 20px;
}

.testimonial-strip h2 {
  text-align: center;
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 50px;
  position: relative;
}

.testimonial-strip h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #0e5567;
  margin: 16px auto 0;
  border-radius: 2px;
}

.testimonials {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  border-left: 4px solid #0e5567;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: #0e5567;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: #1c0809;
  font-size: 0.9rem;
}

.testimonial-role {
  color: #888;
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Portfolio CTA */
.portfolio-cta {
  background-color: #f2f2f2;
  padding: 70px 20px;
  text-align: center;
}

.portfolio-cta h2 {
  font-size: 2rem;
  color: #1c0809;
  margin-bottom: 15px;
}

.portfolio-cta p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   Responsive
======================== */
@media (max-width: 1024px) {
  .hero { height: 50vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 0.95rem; }
  .cards, .feature-boxes { gap: 20px; }
  .hero-index { padding-top: 80px; }
}

@media (max-width: 768px) {
  .nav-index .nav-links { display: none; }

  .nav-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 20px;
    z-index: 1001;
  }

  .mobile-nav { display: block; }

  /* Fixed Hero Spacing for Mobile Content */
  .hero {
    height: auto !important; /* Forces container to adapt to content height */
    padding: 100px 20px 40px !important; /* Spacing above and below content */
  }
  
  .hero .hero-content {
    padding: 10px !important;
  }
  
  .hero p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .hero-index { padding-top: 70px; }

  .two-column-wrapper { flex-direction: column; }
  .two-column-left,
  .two-column-right {
    padding: 0;
    text-align: center;
  }

  .timeline::after { left: 8px; }
  .timeline-item {
    width: 100%;
    padding-left: 20px;
    padding-right: 25px;
    margin-bottom: 20px;
  }
  .timeline-item.right { left: 0; }
  .timeline-item::after { left: -10px; }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }
  .service-text,
  .service-image {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px;
  }
  .service-text ul {
    text-align: center;
    padding-left: 0;
  }

  .contact-cta-index { padding-top: 30px; }
} /* Media Query correctly closes here */

@media (max-width: 480px) {
  .hero { height: 35vh; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.85rem; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .hero-index { padding-top: 40px; }
  .nav-index .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ========================
   Pricing Cards
======================== */
.pricing-section {
  background-color: #f2f2f2;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px 25px 30px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card h3 {
  font-size: 1.2rem;
  color: #1c0809;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0e5567;
  margin: 12px 0 4px;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
  flex-grow: 1;
}

.pricing-card ul li {
  font-size: 0.95rem;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 25px;
  position: relative;
}

.pricing-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #0e5567;
  font-weight: 700;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-card.featured {
  border: 3px solid #0e5567;
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0e5567;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pricing-note {
  margin-top: 50px;
  font-size: 0.95rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .pricing-card.featured {
    transform: scale(1);
    margin: 10px 0;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    gap: 20px;
  }
  .pricing-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* -- Case Study page styles -- */
.cs-hero {
  background: #1a1a1a;
  color: #fff;
  padding: 100px 20px 60px;
  text-align: center;
}
.cs-hero .back-link {
  display: inline-block;
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cs-hero .back-link:hover { color: #fff; }
.cs-hero .tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  color: #ccc;
  margin-bottom: 20px;
}
.cs-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.2;
}
.cs-hero p {
  font-size: 17px;
  color: #aaa;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cs-hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cs-hero-meta span {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cs-hero-meta span strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 3px;
  text-transform: none;
  letter-spacing: 0;
}

/* -- Site preview -- */
.cs-preview {
  background: #f5f5f3;
  padding: 48px 20px;
  text-align: center;
}
.cs-preview a {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
}
.cs-preview a:hover { color: #111; border-color: #111; }
.browser-frame {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  text-align: left;
}
.browser-bar {
  background: #e8e8e8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #ccc;
}
.browser-dots span:nth-child(1) { background: #f97171; }
.browser-dots span:nth-child(2) { background: #f9c74f; }
.browser-dots span:nth-child(3) { background: #90be6d; }
.browser-url {
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  padding: 4px 10px;
  flex: 1;
}
.browser-content {
  background: #1a1a1a;
  padding: 40px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
}
.browser-content .site-logo-mock {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}
.browser-content h2 {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-align: center;
}
.browser-content p {
  font-size: 14px;
  color: #888;
  margin: 0;
}
.browser-content .live-btn {
  margin-top: 12px;
  background: #c8a96e;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

/* -- Body sections -- */
.cs-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.cs-section { margin-bottom: 56px; }
.cs-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}
.cs-section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
}
.cs-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 14px;
}

/* -- Deliverables grid -- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.deliverable-item {
  background: #f7f7f5;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.deliverable-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.deliverable-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.deliverable-item p {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.5;
}

/* -- Brand colours -- */
.brand-colours {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.colour-chip {
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  min-width: 100px;
}
.colour-swatch { height: 70px; }

.colour-info {
  background: #f7f7f5;
  padding: 10px 12px;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

.colour-info strong {
  display: block;
  color: #1a1a1a;
  font-size: 13px;
}

/* -- Tags -- */
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cs-tag {
  background: #f0f0ee;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.04em;
}

/* -- Browser frame (for web case studies) -- */
.cs-preview {
  background: #f5f5f3;
  padding: 48px 20px;
  text-align: center;
}

.cs-preview a.view-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
}

.cs-preview a.view-link:hover { color: #111; border-color: #111; }

.browser-frame {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  text-align: left;
}

.browser-bar {
  background: #e8e8e8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots { display: flex; gap: 6px; }

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ccc;
}

.browser-dots span:nth-child(1) { background: #f97171; }
.browser-dots span:nth-child(2) { background: #f9c74f; }
.browser-dots span:nth-child(3) { background: #90be6d; }

.browser-url {
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  padding: 4px 10px;
  flex: 1;
}

/* -- CTA -- */
.cs-cta {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}

.cs-cta h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.cs-cta p {
  color: #aaa;
  font-size: 15px;
  margin: 0 0 28px;
}

.cs-cta .btn {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.cs-cta .btn:hover { background: #eee; }

/* -- Responsive -- */
@media (max-width: 640px) {
  .included-list { grid-template-columns: 1fr; }
  .cs-result-row { grid-template-columns: 1fr; gap: 6px; }
  .cs-result-label { text-align: left; }
  .cs-result-bar-wrap { height: 8px; }
  .cs-metric { flex: 1 1 45%; border-right: none; border-bottom: 1px solid #eee; }
}

.portfolio-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.portfolio-card-cta:hover { opacity: 0.6; }

/* ========================
   Blog Page — J Royles Designs
   blog.css
======================== */

/* Hero */
.hero-blog {
  background-color: #0e5567;
  margin-top: 60px; /* clears the fixed nav */
  padding: 70px 20px 70px;
  text-align: center;
  color: #fff;
  min-height: 280px;
}

.hero-blog .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #58A4B0;
  margin-bottom: 14px;
}

.hero-blog h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-blog h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #58A4B0;
  margin: 18px auto 0;
  border-radius: 2px;
}

.hero-blog p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
}

/* Blog Section */
.blog-section {
  background-color: #f2f2f2;
  padding: 50px 20px 80px;
}

.blog-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.results-count {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 22px;
  font-weight: 500;
}

/* 4-column grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card image header */
.card-image {
  height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card[data-cat="branding"]     .card-image { background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%); }
.blog-card[data-cat="marketing"]    .card-image { background: linear-gradient(135deg, #1c0809 0%, #571F4E 100%); }
.blog-card[data-cat="content-seo"]  .card-image { background: linear-gradient(135deg, #423760 0%, #796da7 100%); }
.blog-card[data-cat="email-social"] .card-image { background: linear-gradient(135deg, #58A4B0 0%, #b1b7c3 100%); }

.card-image-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Card */
.blog-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.13);
}

.blog-card.hidden {
  display: none;
}

/* Category colour bands */
.card-band {
  height: 5px;
  width: 100%;
}

.blog-card[data-cat="branding"]     .card-band { background-color: #0e5567; }
.blog-card[data-cat="marketing"]    .card-band { background-color: #571F4E; }
.blog-card[data-cat="content-seo"]  .card-band { background-color: #423760; }
.blog-card[data-cat="email-social"] .card-band { background-color: #58A4B0; }

.card-body {
  padding: 22px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card[data-cat="branding"]     .card-tag { color: #0e5567; }
.blog-card[data-cat="marketing"]    .card-tag { color: #571F4E; }
.blog-card[data-cat="content-seo"]  .card-tag { color: #423760; }
.blog-card[data-cat="email-social"] .card-tag { color: #58A4B0; }

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1c0809;
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}

.card-desc {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-top: 1px solid #f0f0f0;
}

.card-read {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0e5567;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-read:hover { gap: 8px; }
.card-read::after { content: '\2192'; }

.card-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f2f2f2;
  color: #888;
}

.card-status.live {
  background: #e6f4ec;
  color: #2e7d45;
}

/* Responsive */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================
   blog-post.css
   Styles for individual blog post pages
   J Royles Designs
   ============================================ */

/* ========================
   Post Hero
======================== */
.post-hero {
  background-color: #0e5567;
  margin-top: 60px;
  padding: 64px 20px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(88,164,176,0.3) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(28,8,9,0.4) 0%, transparent 55%);
  pointer-events: none;
}

.post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.2s;
}

.post-back:hover { color: #fff; }
.post-back::before { content: '\2190'; font-size: 0.85rem; }

.post-category {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.post-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #fff;
}

.post-hero .post-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* ========================
   Post Body Layout
======================== */
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ========================
   Typography
======================== */
.post-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 1.5rem;
}

.post-body h2 {
  font-family: 'Lora', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #1c0809;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-body h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 40px;
  background-color: #0e5567;
  margin: 10px 0 0;
  border-radius: 2px;
}

.post-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c0809;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.post-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 2.5rem 0;
}

/* ========================
   COMPONENT: Bulleted List
======================== */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.post-list li {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
}

.post-list li:last-child { border-bottom: none; }

.post-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0e5567;
}

/* ========================
   COMPONENT: Numbered List
======================== */
.post-list-numbered {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  counter-reset: list-counter;
}

.post-list-numbered li {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  padding: 12px 0 12px 52px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
  counter-increment: list-counter;
}

.post-list-numbered li:last-child { border-bottom: none; }

.post-list-numbered li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  background-color: #0e5567;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================
   COMPONENT: Pull Quote
======================== */
.post-quote {
  border-left: 4px solid #0e5567;
  background: #f7f9fa;
  padding: 28px 32px;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  position: relative;
}

.post-quote::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 5rem;
  color: #0e5567;
  opacity: 0.15;
  position: absolute;
  top: -8px;
  left: 14px;
  line-height: 1;
}

.post-quote p {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #1c0809;
  line-height: 1.7;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.post-quote cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  color: #0e5567;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================
   COMPONENT: Callout / Stat Quote
======================== */
.post-callout {
  background: #0e5567;
  color: #fff;
  padding: 32px 36px;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.post-callout p {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.55;
}

.post-callout cite {
  font-size: 0.8rem;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================
   COMPONENT: Inline Image
======================== */
.post-image {
  margin: 2rem 0;
}

.post-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* Placeholder — remove once real image added */
.post-image-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2rem 0;
}

.post-image-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

.post-image-caption {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
}

/* Wide — bleeds beyond column */
.post-image-wide {
  margin: 2rem -40px;
  border-radius: 0;
}

.post-image-wide img {
  width: 100%;
  display: block;
}

/* Two-up pair */
.post-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 2rem 0;
}

.post-image-pair .post-image-placeholder {
  height: 200px;
  margin: 0;
}

/* ========================
   COMPONENT: Video Embed
======================== */
.post-video { margin: 2rem 0; }

.post-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder — remove once real embed added */
.post-video-placeholder {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #1c0809 0%, #423760 100%);
  cursor: pointer;
}

.post-video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
}

.play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }

.post-video-placeholder:hover .play-btn { background: rgba(255,255,255,0.25); }

.post-video-placeholder-inner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.post-video-caption {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ========================
   COMPONENT: Key Takeaways Box
======================== */
.post-takeaway {
  background: #f2f9fa;
  border: 1px solid #cde8ec;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 2rem 0;
}

.post-takeaway-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e5567;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-takeaway-label::before { content: '\2605'; font-size: 0.85rem; }

.post-takeaway ul { list-style: none; padding: 0; margin: 0; }

.post-takeaway ul li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  padding: 5px 0 5px 20px;
  position: relative;
}

.post-takeaway ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #0e5567;
  font-weight: 700;
}

/* ========================
   Post Footer — Author + Tags
======================== */
.post-footer {
  border-top: 1px solid #eee;
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.post-author { display: flex; align-items: center; gap: 16px; }

.post-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e5567, #58A4B0);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.post-author-info strong { display: block; font-size: 0.95rem; color: #1c0809; margin-bottom: 2px; }
.post-author-info span { font-size: 0.82rem; color: #888; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.post-tag {
  background: #f0f0ee;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
}

.post-tag:hover { background: #e0e0de; }

/* ========================
   Related Posts
======================== */
.post-related {
  background: #f2f2f2;
  padding: 60px 20px;
}

.post-related-inner { max-width: 1100px; margin: 0 auto; }

.post-related h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1c0809;
  margin-bottom: 30px;
  position: relative;
}

.post-related h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 40px;
  background-color: #0e5567;
  margin: 10px 0 0;
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.related-card-image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.related-card-image.swatch-a { background: linear-gradient(135deg, #0e5567 0%, #58A4B0 100%); }
.related-card-image.swatch-b { background: linear-gradient(135deg, #1c0809 0%, #571F4E 100%); }
.related-card-image.swatch-c { background: linear-gradient(135deg, #423760 0%, #796da7 100%); }

.blog-card[data-cat="free-resource"] .card-image { background: linear-gradient(135deg, #571F4E 0%, #f39c12 100%); }
.blog-card[data-cat="free-resource"] .card-tag    { color: #571F4E; }


/* ==========================================================================
   PRODUCTION REPAIR OVERRIDES (FIXES LAYOUT BUGS WITHOUT ALTERING CORES)
   ========================================================================== */

/* Fix: Alignment of the How It Works section on Desktop viewports */
@media (min-width: 769px) {
  .process-steps {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 20px !important;
  }
  .process-step {
    flex: 1 !important;
  }
}

/* Fix: Forces contact middle section columns side-by-side on desktop viewports */
@media (min-width: 769px) {
  .contact-page-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px !important;
  }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  }
}

/* Fix: Centers asymmetric text block boundaries on mobile contact template */
@media (max-width: 768px) {
  .contact-info {
    max-width: 100% !important;
    padding: 0 10px !important;
    text-align: center !important;
  }
  .contact-info p,
  .contact-info h2 {
    text-align: center !important;
  }
  .contact-detail {
    justify-content: center !important;
    text-align: left !important;
  }
  
}
/* Fix: Centers asymmetric text block boundaries on mobile contact template */
@media (max-width: 768px) {
  .contact-info {
    max-width: 100% !important;
    padding: 0 10px !important;
    text-align: center !important;
  }
  .contact-info p,
  .contact-info h2 {
    text-align: center !important;
  }
  .contact-detail {
    justify-content: center !important;
    text-align: left !important;
  }
}
/* ========================
   Case Study — Missing Component Styles
   Fixes: case-study-social-media.html + case-study-og.html
======================== */

.cs-metrics-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.cs-metric {
  flex: 1 1 16%;
  min-width: 140px;
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid #eee;
}

.cs-metric:last-child {
  border-right: none;
}

.cs-metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0e5567;
  line-height: 1;
  margin-bottom: 6px;
}

.cs-metric-change {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2e7d45;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.cs-metric-label {
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.cs-callout {
  background: #f2f9fa;
  border-left: 4px solid #0e5567;
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 0 0 2rem;
}

.cs-callout p {
  font-size: 1rem;
  color: #333;
  line-height: 1.75;
  margin: 0;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.included-list li {
  font-size: 0.95rem;
  color: #444;
  padding: 12px 16px 12px 40px;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  position: relative;
  line-height: 1.5;
}

.included-list li:nth-child(even) {
  border-right: none;
}

.included-list li:nth-last-child(-n+2) {
  border-bottom: none;
}

.included-list li::before {
  content: '\2713';
  position: absolute;
  left: 14px;
  color: #0e5567;
  font-weight: 700;
}

.cs-results-grid {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-result-row {
  display: grid;
  grid-template-columns: 220px 1fr 160px;
  align-items: center;
  gap: 16px;
}

.cs-result-label {
  font-size: 0.88rem;
  color: #555;
  text-align: right;
}

.cs-result-bar-wrap {
  background: #f0f0f0;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}

.cs-result-bar {
  height: 100%;
  background: #0e5567;
  border-radius: 4px;
}

.cs-result-stat {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1c0809;
  white-space: nowrap;
}

.cs-result-stat span {
  font-weight: 500;
  color: #2e7d45;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .cs-metric {
    flex: 1 1 30%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .cs-result-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cs-result-label {
    text-align: left;
    font-weight: 700;
    color: #333;
  }
  .cs-result-bar-wrap {
    height: 8px;
  }
  .included-list {
    grid-template-columns: 1fr;
  }
  .included-list li {
    border-right: none;
  }
  .included-list li:nth-last-child(-n+2) {
    border-bottom: 1px solid #eee;
  }
  .included-list li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .cs-metric {
    flex: 1 1 45%;
  }
}