/* ========================================
   SOLID ADVISE AG - Swiss Financial Design
   Inspired by UBS, Julius Baer, Lombard Odier
   Clean | Precise | Trustworthy
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --primary: #0D3B66;
  --primary-light: #1a5a8a;
  --primary-dark: #062a47;
  --white: #ffffff;
  --gray-50: #fafbfc;
  --gray-100: #f4f5f7;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --success: #059669;
  --max-width: 1100px;
  --radius: 6px;
  --radius-lg: 8px;
  --transition: 0.2s ease;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 12px rgba(13,59,102,0.04);
  --shadow-lg: 0 8px 30px rgba(13,59,102,0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { height: 100%; margin: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography - Swiss precision */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); margin-bottom: 1.5rem; }
h3, h5 { font-size: 1.15rem; }

p {
  margin: 0 0 1rem 0;
  color: var(--gray-600);
  max-width: 60ch;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: 0.01em;
}

/* Navbar - Minimal Swiss style */
.navbar {
  padding: 0.875rem 0;
  background: var(--primary) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: var(--white) !important;
  text-decoration: none;
  opacity: 0.98;
  transition: opacity var(--transition);
}

.navbar-brand:hover { opacity: 1; }

.navbar-brand img,
.navbar-logo,
.navbar-brand svg {
  height: 40px;
  width: auto;
  display: block;
  opacity: 1;
}

.navbar-brand .logo-text {
  display: flex;
  flex-direction: column;
  margin-left: 0;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.65rem !important;
  margin-left: 0.15rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.navbar .nav-link:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,0.06);
}

.navbar .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.1);
}

/* Logo SVG fallback style */
.logo-svg-text {
  font-family: 'Playfair Display', Georgia, serif;
  fill: var(--white);
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px; top: 16px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--primary);
  z-index: 1000;
  border-radius: var(--radius);
  font-weight: 600;
}

/* Hero - Elegant & restrained */
.hero, .about-hero, .team-hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero { height: 75vh; min-height: 420px; }
.team-hero { height: 55vh; min-height: 320px; }

.hero::before, .about-hero::before, .team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,42,71,0.85) 0%, rgba(13,59,102,0.75) 50%, rgba(26,90,138,0.6) 100%);
  z-index: 1;
}

.hero .hero-content, .team-hero .team-content, .about-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
  max-width: 720px;
}

.hero h1, .team-hero h1, .about-hero h1 {
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.2);
  margin-bottom: 0.75rem;
}

.hero p.lead, .team-hero p.lead, .about-hero p.lead {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
}

/* Buttons */
.btn-solid {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  background: var(--white);
  color: var(--primary);
  border: none;
}

.btn-solid:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Sections - Generous whitespace */
section { padding: 4.5rem 0; }

.section-light { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.section-white { background: var(--white); }

/* Cards */
.card-solid {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card-solid:hover {
  border-color: rgba(13,59,102,0.15);
  box-shadow: var(--shadow);
}

.card-solid h5 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.card-solid p { font-size: 0.95rem; margin-bottom: 0; max-width: none; }

/* Team cards */
.team-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  text-align: center;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-card h5 {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.team-card .team-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.team-card a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  text-decoration: none;
}

.team-card a:hover { color: var(--white); text-decoration: underline; }

/* Form */
.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.form-control {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 0.7rem 1rem;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,59,102,0.1);
  border-color: var(--primary);
}

.btn-primary {
  background: var(--primary) !important;
  border: none !important;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition);
}

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

/* Success message */
.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--success);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  display: none;
}

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

.form-success-hidden { display: none !important; }

/* Map container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Company info */
.company-info {
  background: var(--gray-100);
  padding: 1.75rem 0;
  border-top: 1px solid var(--gray-200);
}

.company-info .small { color: var(--gray-600); font-size: 0.9rem; }
.company-info a { color: var(--primary); text-decoration: none; }
.company-info a:hover { text-decoration: underline; }

/* Footer */
.site-footer, footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 2rem 1.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer p, footer p { color: rgba(255,255,255,0.85); margin-bottom: 0.35rem; }
.site-footer a, footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover, footer a:hover { color: #fff; text-decoration: underline; }

.footer-bottom-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.footer-bottom-centered .footer-copyright {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* About */
.about-section h2 { font-size: 1.35rem; color: var(--primary); margin-top: 1.75rem; margin-bottom: 0.75rem; }
.about-section p { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero { height: 65vh; min-height: 360px; }
  .team-hero { height: 45vh; min-height: 280px; }
  .container { padding: 0 20px; }
  section { padding: 3rem 0; }
  .navbar-brand img, .navbar-logo, .navbar-brand svg { height: 34px; }
  .map-container iframe { height: 320px; }
}
/* Footer centering fix */

.footer-modern .footer-row {
  justify-content: center;
  text-align: center;
}

.footer-modern .footer-col {
  text-align: center;
}

.footer-modern ul {
  padding-left: 0;
}

.footer-modern ul li {
  list-style: none;
}

.footer-modern .footer-bottom {
  text-align: center;
}