/* JPSDV Group – Clean professional light theme (Heritage & Co style) */
:root {
  --navy: #1a2a4a;
  --navy-dark: #0f1c33;
  --accent: #4a5d7a;
  --accent-soft: #6b7c93;
  --btn: #7a8ba3;
  --btn-hover: #5f7088;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --border: #e5e7eb;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.top-links a:hover { color: var(--navy); }

.btn-client {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--btn);
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-client:hover { background: var(--btn-hover); }

/* Language switcher */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover { border-color: var(--navy); color: var(--navy); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 130px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s;
  z-index: 100;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-radius: 3px;
  cursor: pointer;
}

.lang-option:hover,
.lang-option.active {
  background: var(--bg-soft);
  color: var(--navy);
}

/* ========== MAIN NAV ========== */
.main-nav {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 90;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  height: 48px;
}

.nav-inner a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 450;
  padding: 0.6rem 1.1rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a.active {
  background: rgba(255,255,255,0.12);
}

/* Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 1px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 0.5rem 0 1rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.mobile-nav a:hover,
.mobile-nav a.active { background: rgba(255,255,255,0.1); }

@media (max-width: 900px) {
  .nav-inner { display: none; }
  .menu-toggle { display: block; }
  .top-bar-inner { flex-wrap: wrap; }
  .logo-link { margin: 0 auto; }
  .top-links { width: 100%; justify-content: center; margin-top: 0.5rem; }
}

/* ========== HERO ========== */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-visual {
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.hero-visual-inner {
  text-align: center;
  padding: 2rem;
}

.hero-visual img {
  height: 90px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.hero-visual p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--btn);
  color: #fff;
}

.btn-primary:hover {
  background: var(--btn-hover);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--bg-soft);
}

/* ========== SECTIONS ========== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Service cards – Heritage style */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: #d1d5db;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card .more {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.card .more:hover { text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--navy); }

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.4fr 1fr; }
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.team-list {
  margin-top: 2rem;
}

.team-list h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.team-item {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.team-item:last-child { border-bottom: none; }

.team-item strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.team-item span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.about-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
}

.about-side img {
  height: 70px;
  margin: 0 auto 1.25rem;
}

.about-side h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.about-side p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.reg-info {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
}

.contact-info h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item p {
  color: var(--text);
  font-size: 1.05rem;
}

.contact-item a:hover { color: var(--navy); }

.hours-list {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  max-width: 220px;
  padding: 0.2rem 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.contact-form-box h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem;
  color: #059669;
  font-size: 0.95rem;
}

.form-success.show { display: block; }

/* Client area placeholder */
.client-page {
  text-align: center;
  padding: 5rem 0;
}

.client-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.client-page p {
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: #c5cdd8;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand img {
  height: 40px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  opacity: 0.85;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.footer ul li { margin-bottom: 0.45rem; }

.footer a {
  color: #c5cdd8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer a:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3rem 0; }
}