/* ═══════════════════════════════════════════
   Brych Experts Advisory — Swiss Spa Design
   ═══════════════════════════════════════════ */

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

:root {
  --brand-dark: #01273c;
  --brand-contrast: #17b0d4;
  --brand-soft: #1ab0da;
  --surface: #ffffff;
  --text-muted: #4b5866;
  --page-bg: #f6f7fb;
  --border-light: rgba(1, 39, 60, 0.08);
  color: var(--brand-dark);
  background-color: var(--page-bg);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Utility ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Fade-in animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  animation: fadeUp 0.7s ease-out both;
}

.fade-in {
  animation: fadeIn 0.6s ease-out both;
}

/* ── Top Navigation ── */
.top-nav {
  background: var(--brand-contrast);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

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

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s;
}

.nav-logo:hover img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-contrast);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── Language Switcher ── */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher .lang {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.language-switcher .lang.active,
.language-switcher .lang:hover {
  color: #fff;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 300;
}

/* ── Header / Hero ── */
.site-header {
  background: var(--brand-contrast);
  color: #fff;
  padding: 7rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 183, 217, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 157, 207, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.site-header .container {
  position: relative;
  z-index: 1;
}

.site-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.5;
  margin-bottom: 1.5rem;
  display: block;
}

.site-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.site-header h1 strong {
  font-weight: 600;
}

.site-header .lead {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.65;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Header decorative line */
.header-line {
  width: 48px;
  height: 1px;
  background: var(--brand-contrast);
  margin: 2rem auto 0;
  opacity: 0.6;
}

/* ── Buttons ── */
.btn {
  background: var(--brand-contrast);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 183, 217, 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--brand-contrast);
  border: 1px solid var(--brand-contrast);
  padding: 0.7rem 1.6rem;
}

.btn.ghost:hover {
  background: var(--brand-contrast);
  color: #fff;
}

/* ── Section Spacing ── */
.section {
  padding: 6rem 0;
}

/* Section separator */
.section + .section {
  border-top: 1px solid var(--border-light);
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section h2 strong {
  font-weight: 600;
}

.section-line {
  width: 32px;
  height: 1px;
  background: var(--brand-contrast);
  margin: 1.25rem auto 0;
  display: block;
}

/* ── Video ── */
.video-section {
  text-align: center;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding-bottom: 50%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── About ── */
.about {
  text-align: center;
}

.about h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300;
}

.about-grid {
  margin-top: 2.5rem;
}

.about-grid article {
  background: var(--surface);
  border-radius: 2px;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
  max-width: 680px;
  margin: 0 auto;
}

.about-grid article p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
}

.about-image {
  width: 100%;
  max-width: 840px;
  max-height: 420px;
  margin-top: 3rem;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--border-light);
}

/* ── Services ── */
.services h2,
.team h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 0.75rem;
}

.services .section-line,
.team .section-line {
  margin-bottom: 3rem;
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3rem;
}

.services article {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative;
}

.services article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-contrast);
  transition: width 0.4s ease;
}

.services article:hover::before {
  width: 100%;
}

.services article:hover {
  background: #fafbfd;
}

.services article h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.services article p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.92rem;
  font-weight: 300;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3rem;
}

.team-grid article {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.team-grid article:hover {
  background: #fafbfd;
}

.team-grid .role {
  color: var(--brand-contrast);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
}

.team-grid article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.team-grid article p:not(.role) {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.92rem;
  font-weight: 300;
}

/* ── Quote ── */
.quote {
  background: var(--brand-contrast);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: none;
}

.quote + .section {
  border-top: none;
}

.quote::before {
  content: '\201C';
  position: absolute;
  top: -0.2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18rem;
  opacity: 0.04;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.quote blockquote {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 620px;
  font-weight: 300;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ── Contact Info (homepage) ── */
.contact h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.contact-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  border: 1px solid rgba(0, 183, 217, 0.3);
  color: var(--brand-contrast);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s;
}

.contact-link:hover {
  background: var(--brand-contrast);
  color: #fff;
  border-color: var(--brand-contrast);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.contact-row h3 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-row p {
  line-height: 1.7;
  font-weight: 300;
}

/* ── Blog ── */
.blog-top h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.blog-top p {
  color: var(--text-muted);
  font-weight: 300;
}

.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.4rem 1rem;
  border-radius: 2px;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.chip:hover {
  border-color: var(--brand-contrast);
  color: var(--brand-contrast);
}

.chip.active {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.blog-list .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}

.blog-list article {
  background: var(--surface);
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
  margin-bottom: 0;
  transition: background 0.3s;
}

.blog-list article:hover {
  background: #fafbfd;
}

.tag {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  color: var(--brand-contrast);
  font-weight: 500;
}

.blog-list article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.blog-list article p:not(.tag) {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* ── Blog Article ── */
.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--brand-contrast);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.back-link:hover {
  opacity: 0.7;
}

.article-content {
  max-width: 720px;
}

.article-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  margin-top: 0.5rem;
}

.prose {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--brand-dark);
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h1 { font-size: 1.5rem; }
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.1rem; }

.prose p {
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose strong {
  color: var(--brand-dark);
  font-weight: 600;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2.5rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.prose th, .prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  text-align: left;
}

.prose th {
  background: var(--page-bg);
  font-weight: 600;
  color: var(--brand-dark);
}

/* ── Contact Form ── */
.contact .form {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 560px;
}

.form label span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 2px;
  border: 1px solid rgba(1, 39, 60, 0.15);
  padding: 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 300;
  transition: border-color 0.3s;
  background: var(--surface);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand-contrast);
}

.form textarea {
  resize: vertical;
}

/* ── Alerts ── */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  font-weight: 400;
  font-size: 0.92rem;
}

.alert-success {
  background: #eef9f0;
  color: #1a6b2a;
  border: 1px solid #d0ebd5;
}

.alert-error {
  background: #fef2f2;
  color: #9b1c1c;
  border: 1px solid #fecaca;
}

/* ── Google Business Profile / Map ── */
.gbp-section {
  text-align: center;
}

.map-wrap {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 2px;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gbp-link {
  margin-top: 1.5rem;
}

/* ── Footer ── */
footer {
  padding: 3rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--border-light);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .site-header {
    padding: 5rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .services .grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .blog-list .grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    height: auto;
    padding: 0.75rem 0;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid article {
    padding: 2rem 1.5rem;
  }

  .quote blockquote {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }

  .language-switcher {
    width: 100%;
    justify-content: flex-end;
  }
}
