/* ==========================================================================
   FINCORE WORKSPACE — CORPORATE ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

:root {
  --navy-950: #08182B;
  --navy-900: #0D253F;
  --navy-800: #163659;
  --navy-700: #1E4875;
  --teal-600: #377B84;
  --teal-500: #43939E;
  --teal-100: #EBF4F5;
  --gold-500: #B89658;
  --gold-600: #9E7D42;
  --gold-100: #F7F2E8;

  --white: #FFFFFF;
  --grey-50: #F8FAFC;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-500: #64748B;
  --grey-600: #475569;
  --grey-800: #1E293B;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --shadow-sm: 0 1px 3px rgba(13, 37, 63, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(13, 37, 63, 0.09);
  --shadow-lg: 0 20px 40px -10px rgba(13, 37, 63, 0.15);
  --transition: 240ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--grey-800);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 56px 0;
}

.bg-grey {
  background-color: var(--grey-50);
}

.bg-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.bg-navy .eyebrow {
  color: var(--gold-500);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background-color: var(--gold-500);
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--grey-600);
  font-size: 1.05rem;
}

.bg-navy .section-header p {
  color: var(--grey-300);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--navy-900);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-600);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

.btn-gold:hover {
  background-color: var(--gold-600);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-outline-dark {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--navy-900);
  color: var(--white);
}

/* Topbar & Social SVG Icons */
.topbar {
  background-color: var(--navy-950);
  color: var(--grey-300);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-contact a:hover {
  color: var(--gold-500);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--grey-200);
  transition: all var(--transition);
}

.topbar .social-link {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.social-link:hover {
  background: var(--teal-600);
  color: var(--white);
  transform: translateY(-1px);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--grey-800);
  padding: 29px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-900);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--teal-600);
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 295px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--teal-600);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 0.9rem;
  color: var(--grey-800);
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover, .dropdown-menu a.active {
  background-color: var(--grey-50);
  color: var(--navy-900);
  border-left-color: var(--teal-600);
  font-weight: 600;
}

.nav-cta {
  padding: 10px 22px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.hero-home {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(8, 24, 43, 0.94) 0%, rgba(13, 37, 63, 0.84) 55%, rgba(13, 37, 63, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 64px 0;
}

.hero-home h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

.hero-home p {
  font-size: 1.12rem;
  color: var(--grey-200);
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 65%, var(--navy-800) 100%);
  color: var(--white);
  padding: 68px 0;
  border-bottom: 3px solid var(--teal-600);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--grey-300);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--gold-500);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  max-width: 780px;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--grey-200);
  font-size: 1.08rem;
  max-width: 680px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}

.service-card:hover {
  border-top-color: var(--teal-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--grey-600);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 26px;
}

.check-list.single-col {
  grid-template-columns: 1fr;
}

.check-list li {
  font-size: 0.88rem;
  color: var(--grey-800);
  padding-left: 18px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background-color: var(--teal-600);
  border-radius: 1px;
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 26px;
  transition: border-color var(--transition);
}

.feature-box:hover {
  border-color: var(--teal-600);
}

.feature-icon {
  width: 42px;
  height: 42px;
  background-color: var(--teal-100);
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-box h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--grey-600);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  background: var(--grey-100);
}

.media-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--gold-500);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--grey-300);
  background: var(--white);
  color: var(--grey-800);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

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

.project-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.project-thumb {
  position: relative;
  height: 240px;
  background: var(--navy-800);
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-left: 3px solid var(--gold-500);
}

.photo-count-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(8, 24, 43, 0.82);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.project-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-200);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.project-meta span strong {
  display: block;
  color: var(--grey-500);
  font-weight: 500;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  height: 124px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.client-logo-card:hover {
  border-color: var(--teal-600);
  box-shadow: var(--shadow-sm);
}

.client-logo-card img {
  max-height: 58px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo-card span {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--grey-500);
  font-weight: 500;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: 24px;
  border-radius: var(--radius-sm);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
}

.contact-info-panel {
  background: var(--navy-900);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-sm);
  border-top: 4px solid var(--teal-600);
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.contact-detail-item {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail-item strong {
  display: block;
  color: var(--gold-500);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: 40px;
  border-radius: var(--radius-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-800);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(55, 123, 132, 0.12);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.legal-content {
  max-width: 860px;
}

.legal-notice {
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.legal-content p, .legal-content li {
  color: var(--grey-600);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

/* Modal Lightbox with Multi-Photo Gallery Switcher */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 43, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  max-width: 820px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 5;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 28px 0;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 12px;
}

.modal-thumb-btn {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  width: 92px;
  height: 62px;
  background: var(--navy-900);
  opacity: 0.7;
  transition: all var(--transition);
}

.modal-thumb-btn.active, .modal-thumb-btn:hover {
  border-color: var(--teal-600);
  opacity: 1;
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background-color: var(--navy-950);
  color: var(--grey-300);
  padding-top: 68px;
  border-top: 3px solid var(--teal-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--grey-500);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 960px;
  margin: 0 auto;
  background: var(--navy-900);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1500;
  font-size: 0.88rem;
}

.cookie-banner.show {
  display: flex;
}

@media (max-width: 1024px) {
  .grid-4, .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-layout, .contact-wrapper, .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    padding: 14px 0;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal-600);
    margin-left: 12px;
    display: none;
  }
  .nav-item-dropdown.open .dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .form-grid, .check-list {
    grid-template-columns: 1fr;
  }
  .topbar {
    display: none;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
