/* LDV Systems — Inner Page Styles | Managed by Sovamoon */

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb-bar { background: var(--bg-section); border-bottom: 1px solid var(--border); padding: 12px 0; margin-top: 84px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--border-dark); }
.breadcrumb .current { color: var(--navy); font-weight: 500; }

/* ── Page Hero ────────────────────────────────────────────────────────────── */
.page-hero {
  padding: 72px 0 80px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,132,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(10,132,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(10,132,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: 760px; position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.page-hero-eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px;
}
.page-hero h1 span { color: var(--blue); }
.page-hero-sub {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.75;
  max-width: 620px; margin-bottom: 32px;
}
.page-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Content Sections ─────────────────────────────────────────────────────── */
.content-section { padding: 80px 0; }
.content-section-alt { padding: 80px 0; background: var(--bg-section); }
.content-section-navy { padding: 80px 0; background: var(--bg-alt); }
.content-section-navy .section-title { color: white; }
.content-section-navy .section-sub   { color: rgba(255,255,255,0.65); }
.content-section-navy .section-badge { background: rgba(255,255,255,0.08); color: var(--sky-light); border-color: rgba(255,255,255,0.1); }

/* ── Two Column Layout ────────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col-reverse { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col-reverse .col-visual { order: -1; }
.col-text .col-eyebrow {
  font-size: 0.78rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
}
.col-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800;
  color: var(--navy); line-height: 1.25; margin-bottom: 16px;
}
.col-text h2 span { color: var(--blue); }
.col-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.col-text p:last-child { margin-bottom: 0; }

/* ── Icon Check List ──────────────────────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text-body); line-height: 1.5;
}
.check-list li::before {
  content: '';
  display: block; flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--bg-alt);
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='%231565C0' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3 8 6 11 13 4'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}

/* ── Feature Cards Grid ───────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), 0 0 20px rgba(10,132,255,0.08); border-color: var(--border-dark); }

.feature-card-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card-icon svg { width: 22px; height: 22px; color: var(--blue); }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Visual Panel (replaces images) ──────────────────────────────────────── */
.col-visual {
  background: var(--bg-alt);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  padding: 40px; display: flex; flex-direction: column; gap: 16px;
  min-height: 340px; position: relative; overflow: hidden;
}
.col-visual::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(10,132,255,0.1) 0%, transparent 65%);
}
.col-visual-icon {
  width: 64px; height: 64px;
  background: white; border-radius: 14px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.col-visual-icon svg { width: 32px; height: 32px; color: var(--blue); }
.col-visual-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.col-visual-sub   { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.col-visual-stats { display: flex; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.col-visual-stat  { background: var(--bg-card); border-radius: 10px; padding: 14px 18px; border: 1px solid var(--border); text-align: center; flex: 1; min-width: 80px; }
.col-visual-stat-val  { font-size: 1.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.col-visual-stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ── Column Photo ─────────────────────────────────────────────────────────── */
.col-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}
.col-img:hover { transform: scale(1.02); }

/* Page photo strip — 3 images at bottom of a section */
.page-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.page-photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}
.page-photo-strip img:hover { transform: scale(1.03); }

@media (max-width: 768px) {
  .col-img { height: 260px; }
  .page-photo-strip { grid-template-columns: 1fr; }
  .page-photo-strip img { height: 200px; }
}

/* ── Solution List ────────────────────────────────────────────────────────── */
.solution-list { display: flex; flex-direction: column; gap: 0; }
.solution-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.solution-item:first-child { padding-top: 0; }
.solution-item:last-child  { border-bottom: none; padding-bottom: 0; }
.solution-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-alt); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.solution-item-icon svg { width: 22px; height: 22px; color: var(--blue); }
.solution-item-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.solution-item-desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Highlight Band ───────────────────────────────────────────────────────── */
.highlight-band {
  background: var(--bg-alt); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 32px 40px;
  display: flex; align-items: center; gap: 24px;
}
.highlight-band-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--blue); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.highlight-band-icon svg { width: 28px; height: 28px; color: white; }
.highlight-band-text h3  { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.highlight-band-text p   { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Contact Form ─────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.contact-form-wrap h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap p  { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit;
  color: var(--text-dark); background: var(--bg-alt);
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%; color-scheme: dark;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,255,0.12); background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Validation error states */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.field-error-msg { font-size: 0.78rem; color: #DC2626; margin-top: 2px; display: none; }
.field-error-msg.visible { display: block; }

/* Form status banners */
.form-banner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px;
  font-size: 0.9rem; line-height: 1.5;
}
.form-banner svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-banner-success { background: #F0FDF4; border: 1px solid #86EFAC; color: #166534; }
.form-banner-success svg { color: #16A34A; }
.form-banner-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.form-banner-error svg { color: #DC2626; }

.form-submit { width: 100%; padding: 14px; background: var(--blue); color: white; font-size: 1rem; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; font-family: inherit; transition: background var(--transition); margin-top: 8px; }
.form-submit:hover { background: var(--blue-hover); }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.contact-info-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-info-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--bg-alt); border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-dark); }
.contact-info-icon svg { width: 18px; height: 18px; color: var(--blue); }
.contact-info-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-info-value { font-size: 0.9rem; color: var(--navy); font-weight: 600; }
.contact-info-value a { color: var(--navy); }
.contact-info-value a:hover { color: var(--blue); }

/* ── Industry Tags Row ────────────────────────────────────────────────────── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--bg-alt); color: var(--blue); font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border-dark); }

/* ── Page CTA (compact) ───────────────────────────────────────────────────── */
.page-cta { padding: 80px 0; background: linear-gradient(135deg, #003652 0%, #005F99 100%); text-align: center; }
.page-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 12px; }
.page-cta p  { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.page-cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROJECTS GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */

/* Filter bar */
.proj-filter-bar {
  position: sticky; top: 96px; z-index: 90;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.proj-filter-inner {
  display: flex; align-items: center; gap: 6px;
  overflow-x: auto; padding: 14px 0;
  scrollbar-width: none;
  max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
}
.proj-filter-inner::-webkit-scrollbar { display: none; }

.proj-filter-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text-body); font-size: 0.875rem;
  font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: all 0.18s ease;
}
.proj-filter-btn:hover { border-color: var(--blue); color: var(--blue); background: rgba(0,95,153,0.05); }
.proj-filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.proj-filter-count {
  background: rgba(255,255,255,0.25); color: inherit;
  font-size: 0.75rem; font-weight: 700; padding: 1px 7px;
  border-radius: 100px; min-width: 22px; text-align: center;
}
.proj-filter-btn:not(.active) .proj-filter-count { background: var(--bg-alt); color: var(--text-muted); }

/* Results bar */
.proj-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 8px;
}
.proj-results-count { font-size: 0.875rem; color: var(--text-muted); }
.proj-results-count strong { color: var(--navy); }

/* Grid */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Base card ── */
.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.proj-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: rgba(0,95,153,0.25);
}
.proj-card.hidden { display: none; }

/* ── Before/After card ── */
.proj-pair {
  display: grid; grid-template-columns: 1fr 32px 1fr;
  height: 220px;
}
.proj-panel {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px;
}
.proj-panel--before {
  background-color: #2A3441;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,0.03) 8px, rgba(255,255,255,0.03) 9px),
    linear-gradient(160deg, #3a4555 0%, #1e2b38 100%);
}
.proj-panel--after {
  background-color: #003652;
  background-image: linear-gradient(160deg, #005F99 0%, #003652 100%);
}
/* When real photo is set via inline style, dim slightly */
.proj-panel[style*="background-image: url"]::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.45) 100%);
}
.proj-label {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px;
  position: relative; z-index: 1;
  width: fit-content;
}
.proj-panel--before .proj-label { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); }
.proj-panel--after  .proj-label { background: rgba(255,255,255,0.22); color: #fff; }
.proj-state {
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85);
  line-height: 1.4; position: relative; z-index: 1;
}
.proj-divider {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  z-index: 2;
}
.proj-divider-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: white; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: -0.5px; flex-shrink: 0;
}

/* ── Single image card ── */
.proj-single {
  height: 220px; position: relative; overflow: hidden;
  background-color: #003652;
  background-image: linear-gradient(135deg, #005F99 0%, #003652 60%, #001e33 100%);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 14px;
}
.proj-single[style*="background-image: url"]::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}
.proj-type-tag {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 10px; border-radius: 4px;
  background: rgba(0,95,153,0.85); color: #fff;
  position: relative; z-index: 1;
}

/* ── Card footer ── */
.proj-card__footer {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 16px 18px;
  border-top: 1px solid var(--border);
}
.proj-service {
  font-size: 0.72rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px;
}
.proj-title {
  font-size: 0.88rem; font-weight: 600; color: var(--navy); line-height: 1.4;
}
.proj-badge {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 700; color: #16A34A;
  background: #F0FDF4; border: 1px solid #86EFAC;
  padding: 3px 9px; border-radius: 100px; white-space: nowrap;
  margin-top: 1px;
}

/* Empty state */
.proj-empty {
  display: none; grid-column: 1 / -1;
  text-align: center; padding: 80px 24px;
  color: var(--text-muted);
}
.proj-empty.visible { display: block; }
.proj-empty__icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.3; }
.proj-empty p { font-size: 0.95rem; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-filter-bar { top: 84px; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .two-col, .two-col-reverse { grid-template-columns: 1fr; gap: 36px; }
  .two-col-reverse .col-visual { order: 0; }
  .features-grid, .features-grid-3, .features-grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .highlight-band { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 56px; }
  .content-section, .content-section-alt, .content-section-navy { padding: 60px 0; }
}
