/* MALT Solutions - shared stylesheet */

:root {
  --brand: #2496C9;
  --brand-dark: #1B7BA6;
  --ink: #0F1F2E;
  --ink-soft: #33475b;
  --muted: #5b6c7f;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-dark: #0F1F2E;
  --border: #e2e8ef;
  --max-w: 1120px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(15, 31, 46, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { color: var(--ink-soft); padding-left: 1.25rem; }
li { margin-bottom: 0.35em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem; max-width: var(--max-w); margin: 0 auto;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-links a.cta {
  background: var(--brand); color: #fff; padding: 0.5rem 1rem;
  border-radius: var(--radius); font-weight: 600;
}
.nav-links a.cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0.5rem; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
  background: var(--bg-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,31,46,0.82), rgba(15,31,46,0.55));
  z-index: 1;
}
.hero.has-bg::before {
  background: linear-gradient(135deg, rgba(15,31,46,0.78), rgba(15,31,46,0.45));
}
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; z-index: 0; }
.hero-inner { position: relative; z-index: 2; padding: 5rem 1.5rem; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lede { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 620px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 0;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* Sections */
section.block { padding: 4rem 0; }
section.block.tight { padding: 2.5rem 0; }
section.alt { background: var(--bg-soft); }
section.dark { background: var(--bg-dark); color: rgba(255,255,255,0.9); }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p, section.dark li { color: rgba(255,255,255,0.85); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Card grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.75rem; color: var(--ink); }
.card ul { margin-top: 0.5rem; }

/* Two-column layouts */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Profile block */
.profile { display: flex; gap: 2rem; align-items: center; }
.profile img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.profile-text h3 { margin-bottom: 0.4rem; }

/* Industries list */
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; }
.pill-list li {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 0.45rem 1rem; font-size: 0.92rem; color: var(--ink-soft); margin: 0;
}

/* Contact block */
.contact-info { text-align: center; padding: 2rem 0; }
.contact-info a { color: var(--brand-dark); font-weight: 600; }

/* Booking iframe */
.booking-embed {
  max-width: 900px; margin: 0 auto; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.booking-embed iframe { display: block; width: 100%; height: 700px; border: 0; }

/* Footer */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4em; }
.site-footer .brand-logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem;
  padding: 1.25rem 1.5rem 0; text-align: center; font-size: 0.85rem;
  color: rgba(255,255,255,0.6); max-width: var(--max-w); margin-left: auto; margin-right: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .profile { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border); align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 0.5rem; }
  .nav-links a { display: block; padding: 0.85rem 0; }
  .nav-links a.cta { text-align: center; padding: 0.75rem 1rem; }
  .hero-inner { padding: 3.5rem 1.5rem; }
  .hero { min-height: 380px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  section.block { padding: 3rem 0; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  .btn { width: 100%; text-align: center; }
  .hero-ctas { flex-direction: column; }
}
