.ld-process-row { position: relative; display: flex; gap: 16px; text-align: center; counter-reset: step; }

/* ============================================
   Lovedales — Premium Brand Styles
   ============================================ */
:root {
  --ld-primary: #201E1E;
  --ld-secondary: #F4F8FA;
  --ld-accent: #0097B2;
  --ld-accent-light: #109FA7;
  --ld-accent-gradient: linear-gradient(135deg, #109FA7, #73D35F);
  --ld-highlight: #73D35F;
  --ld-white: #FFFFFF;
  --ld-text: #2D3436;
  --ld-light-gray: #EEF2F5;
  --ld-dark-gray: #636E72;
  --ld-font-heading: 'Poppins', sans-serif;
  --ld-font-body: 'Inter', sans-serif;
  --ld-radius: 12px;
  --ld-radius-sm: 8px;
  --ld-shadow: 0 2px 20px rgba(0,0,0,0.06);
  --ld-shadow-hover: 0 8px 40px rgba(0,0,0,0.10);
  --ld-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ld-maxw: 1200px;
}
  --ld-maxw: 1200px;
}
  --ld-maxw: 1200px;
}
  --ld-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ld-maxw: 1200px;
}

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

body {
  font-family: var(--ld-font-body);
  color: var(--ld-text);
  background: var(--ld-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ld-font-heading);
  color: var(--ld-primary);
  line-height: 1.15;
  margin-top: 0;
}

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ld-accent); transition: var(--ld-transition); }
a:hover { color: #007a91; }

img { max-width: 100%; height: auto; display: block; }

/* ---- Container ---- */
.ld-container {
  width: 100%;
  max-width: var(--ld-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.ld-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Sections ---- */
.ld-section {
  padding: 100px 0;
}

.ld-section-dark {
  background: var(--ld-primary);
  color: rgba(255,255,255,0.85);
}

.ld-section-dark h1,
.ld-section-dark h2,
.ld-section-dark h3,
.ld-section-dark h4 {
  color: var(--ld-white);
}

.ld-section-light {
  background: var(--ld-secondary);
}

.ld-section-accent {
  background: var(--ld-accent);
  color: var(--ld-white);
}

.ld-section-accent h1,
.ld-section-accent h2,
.ld-section-accent h3 {
  color: var(--ld-white);
}

/* ---- Section Headers ---- */
.ld-heading-wrapper {
  text-align: center;
  margin-bottom: 64px;
}

.ld-heading-wrapper h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.ld-heading-wrapper p {
  font-size: 18px;
  color: var(--ld-dark-gray);
  max-width: 600px;
  margin: 0 auto;
}

.ld-section-dark .ld-heading-wrapper p {
  color: rgba(255,255,255,0.7);
}

.ld-label {
  display: inline-block;
  font-family: var(--ld-font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ld-accent);
  margin-bottom: 12px;
}

.ld-section-dark .ld-label {
  color: var(--ld-highlight);
}

.ld-rule {
  width: 40px;
  height: 3px;
  background: var(--ld-accent);
  margin: 20px auto;
  border-radius: 2px;
}

/* ---- Grid System ---- */
.ld-grid {
  display: grid;
  gap: 30px;
}

.ld-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ld-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ld-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .ld-grid-3, .ld-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ld-grid-2, .ld-grid-3, .ld-grid-4 { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.ld-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ld-font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ld-transition);
  text-decoration: none;
  line-height: 1;
}

.ld-btn:hover { transform: translateY(-2px); text-decoration: none; }

.ld-btn-primary {
  background: var(--ld-accent);
  color: var(--ld-white);
  border-color: var(--ld-accent);
}

.ld-btn-primary:hover {
  background: #007a91;
  border-color: #007a91;
  color: var(--ld-white);
  box-shadow: 0 4px 20px rgba(0,151,178,0.35);
}

.ld-btn-secondary {
  background: transparent;
  color: var(--ld-white);
  border-color: rgba(255,255,255,0.3);
}

.ld-btn-secondary:hover {
  background: var(--ld-white);
  color: var(--ld-primary);
  border-color: var(--ld-white);
}

.ld-btn-outline {
  background: transparent;
  color: var(--ld-primary);
  border-color: var(--ld-primary);
}

.ld-btn-outline:hover {
  background: var(--ld-primary);
  color: var(--ld-white);
}

.ld-btn-dark {
  background: var(--ld-primary);
  color: var(--ld-white);
  border-color: var(--ld-primary);
}

.ld-btn-dark:hover {
  background: #000;
  color: var(--ld-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ld-btn-white {
  background: var(--ld-white);
  color: var(--ld-primary);
  border-color: var(--ld-white);
}

.ld-btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--ld-primary);
}

.ld-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---- Cards ---- */
.ld-card {
  background: var(--ld-white);
  border-radius: var(--ld-radius);
  box-shadow: var(--ld-shadow);
  overflow: hidden;
  transition: var(--ld-transition);
}

.ld-card:hover {
  box-shadow: var(--ld-shadow-hover);
  transform: translateY(-4px);
}

.ld-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.ld-card-body {
  padding: 28px;
}

.ld-card-title {
  font-family: var(--ld-font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ld-primary);
}

.ld-card-text {
  font-size: 15px;
  color: var(--ld-dark-gray);
  line-height: 1.6;
}

.ld-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ld-accent);
  margin-bottom: 10px;
}

/* ---- Service Cards ---- */
.ld-service-card {
  background: var(--ld-white);
  border-radius: var(--ld-radius);
  padding: 40px 32px;
  box-shadow: var(--ld-shadow);
  transition: var(--ld-transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.ld-service-card:hover {
  box-shadow: var(--ld-shadow-hover);
  transform: translateY(-6px);
  border-color: rgba(0,151,178,0.15);
}

.ld-service-icon {
  width: 56px;
  height: 56px;
  background: var(--ld-secondary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--ld-accent);
  transition: var(--ld-transition);
}

.ld-service-card:hover .ld-service-icon {
  background: var(--ld-accent);
  color: var(--ld-white);
}

.ld-service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ld-service-card p {
  font-size: 15px;
  color: var(--ld-dark-gray);
  line-height: 1.7;
}

/* ---- Hero Section ---- */
.ld-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  background: var(--ld-primary);
  position: relative;
  overflow: hidden;
  padding: 140px 0 60px;
}

.ld-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ld-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.ld-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,17,17,0.95) 0%,
    rgba(17,17,17,0.7) 50%,
    rgba(17,17,17,0.4) 100%
  );
  z-index: 1;
}

.ld-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.ld-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  color: var(--ld-white);
  margin-bottom: 24px;
}

.ld-hero p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.ld-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ld-highlight);
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---- Stats ---- */
.ld-stat {
  text-align: center;
}

.ld-stat-number {
  font-family: var(--ld-font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--ld-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.ld-stat-label {
  font-size: 14px;
  color: var(--ld-dark-gray);
  font-weight: 500;
}

.ld-section-dark .ld-stat-label {
  color: rgba(255,255,255,0.6);
}

/* ---- Process Steps ---- */
.ld-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.ld-process-step {
  text-align: center;
  position: relative;
  padding: 32px 20px;
}

.ld-process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--ld-light-gray);
}

.ld-process-step:last-child::after { display: none; }

.ld-step-number {
  counter-increment: step;
  font-family: var(--ld-font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--ld-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.ld-step-number::before {
  content: '0' counter(step);
}

.ld-step-title {
  font-family: var(--ld-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--ld-primary);
  margin-bottom: 8px;
}

.ld-step-desc {
  font-size: 14px;
  color: var(--ld-dark-gray);
}

.ld-section-dark .ld-step-title { color: var(--ld-white); }
.ld-section-dark .ld-step-desc { color: rgba(255,255,255,0.6); }

/* ---- Testimonials ---- */
.ld-testimonial-card {
  background: var(--ld-white);
  border-radius: var(--ld-radius);
  padding: 36px;
  box-shadow: var(--ld-shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.ld-testimonial-stars {
  color: var(--ld-highlight);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.ld-testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ld-text);
  margin-bottom: 24px;
  font-style: italic;
}

.ld-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ld-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ld-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ld-dark-gray);
  overflow: hidden;
}

.ld-testimonial-name {
  font-family: var(--ld-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ld-primary);
  margin-bottom: 2px;
}

.ld-testimonial-role {
  font-size: 13px;
  color: var(--ld-dark-gray);
}

/* ---- Portfolio ---- */
.ld-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.ld-portfolio-card {
  border-radius: var(--ld-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.ld-portfolio-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.ld-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--ld-transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.ld-portfolio-card:hover .ld-portfolio-overlay {
  opacity: 1;
}

.ld-portfolio-overlay h3 {
  color: var(--ld-white);
  font-size: 20px;
  margin-bottom: 4px;
}

.ld-portfolio-overlay span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ---- CTA Section ---- */
.ld-cta {
  padding: 120px 0;
  text-align: center;
  background: var(--ld-primary);
  position: relative;
  overflow: hidden;
}

.ld-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,151,178,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ld-cta h2 {
  font-size: clamp(30px, 4vw, 52px);
  color: var(--ld-white);
  margin-bottom: 16px;
}

.ld-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ---- Contact Form ---- */
.ld-form-group {
  margin-bottom: 20px;
}

.ld-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ld-primary);
  margin-bottom: 6px;
}

.ld-form-group input,
.ld-form-group select,
.ld-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E8E8E8;
  border-radius: var(--ld-radius-sm);
  font-family: var(--ld-font-body);
  font-size: 15px;
  color: var(--ld-primary);
  background: var(--ld-white);
  transition: var(--ld-transition);
  outline: none;
}

.ld-form-group input:focus,
.ld-form-group select:focus,
.ld-form-group textarea:focus {
  border-color: var(--ld-accent);
  box-shadow: 0 0 0 3px rgba(0,151,178,0.1);
}

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

.ld-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .ld-form-row { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.ld-footer {
  background: var(--ld-primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.ld-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 992px) {
  .ld-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ld-footer-grid { grid-template-columns: 1fr; }
}

.ld-footer h4 {
  color: var(--ld-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.ld-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--ld-transition);
}

.ld-footer a:hover {
  color: var(--ld-white);
}

.ld-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ld-footer-links li {
  margin-bottom: 10px;
}

.ld-footer-brand {
  font-family: var(--ld-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--ld-white);
  margin-bottom: 12px;
}

.ld-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ld-social-links {
  display: flex;
  gap: 12px;
}

.ld-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ld-white);
  font-size: 16px;
  transition: var(--ld-transition);
}

.ld-social-links a:hover {
  background: var(--ld-accent);
  color: var(--ld-white);
  transform: translateY(-2px);
}

.ld-footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---- Blog ---- */
.ld-blog-card {
  background: var(--ld-white);
  border-radius: var(--ld-radius);
  overflow: hidden;
  box-shadow: var(--ld-shadow);
  transition: var(--ld-transition);
}

.ld-blog-card:hover {
  box-shadow: var(--ld-shadow-hover);
  transform: translateY(-4px);
}

.ld-blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ld-blog-card-body {
  padding: 24px;
}

.ld-blog-meta {
  font-size: 13px;
  color: var(--ld-dark-gray);
  margin-bottom: 8px;
}

.ld-blog-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ld-blog-card h3 a {
  color: var(--ld-primary);
  text-decoration: none;
}

.ld-blog-card h3 a:hover {
  color: var(--ld-accent);
}

.ld-blog-excerpt {
  font-size: 14px;
  color: var(--ld-dark-gray);
  line-height: 1.6;
}

/* ---- About Page ---- */
.ld-about-hero {
  padding: 160px 0 100px;
  background: var(--ld-primary);
  color: var(--ld-white);
}

.ld-about-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--ld-white);
}

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

.ld-value-card {
  padding: 32px;
  background: var(--ld-white);
  border-radius: var(--ld-radius);
  box-shadow: var(--ld-shadow);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}

.ld-value-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.ld-value-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.ld-value-card p {
  font-size: 14px;
  color: var(--ld-dark-gray);
}

/* ---- Two Column Layout ---- */
.ld-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .ld-two-col { grid-template-columns: 1fr; gap: 40px; }
}

.ld-two-col-image {
  border-radius: var(--ld-radius);
  overflow: hidden;
}

.ld-two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ---- Filter Buttons ---- */
.ld-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.ld-filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #E0E0E0;
  background: transparent;
  font-family: var(--ld-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ld-dark-gray);
  cursor: pointer;
  transition: var(--ld-transition);
}

.ld-filter-btn:hover,
.ld-filter-btn.active {
  background: var(--ld-primary);
  color: var(--ld-white);
  border-color: var(--ld-primary);
}

/* ---- Utility ---- */
.ld-text-center { text-align: center; }
.ld-mt-0 { margin-top: 0; }
.ld-mb-0 { margin-bottom: 0; }

/* ---- Animations ---- */
.ld-fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ld-fade-up.ld-animate {
  opacity: 0 !important;
  transform: translateY(30px) !important;
}

.ld-fade-up.ld-animate.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.ld-scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ld-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ld-section { padding: 60px 0; }
  .ld-cta { padding: 80px 0; }
  .ld-hero { min-height: 60vh; padding: 80px 0 40px; }
  .ld-heading-wrapper { margin-bottom: 40px; }
  .ld-service-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .ld-section { padding: 48px 0; }
  .ld-cta { padding: 60px 0; }
  .ld-portfolio-grid { grid-template-columns: 1fr; }
}
