/* ============================= */
/* Fonts                         */
/* ============================= */

@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/museo-sans-300-webfont.eot');
  src:
    url('../fonts/museo-sans-300-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/museo-sans-300-webfont.woff') format('woff'),
    url('../fonts/museo-sans-300-webfont.ttf') format('truetype'),
    url('../fonts/museo-sans-300-webfont.svg#museo-sans-300-webfont') format('svg');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/museo-sans-300-italic-webfont.eot');
  src:
    url('../fonts/museo-sans-300-italic-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/museo-sans-300-italic-webfont.woff') format('woff'),
    url('../fonts/museo-sans-300-italic-webfont.ttf') format('truetype'),
    url('../fonts/museo-sans-300-italic-webfont.svg#museo-sans-300-italic-webfont') format('svg');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/museo-sans-700-webfont.eot');
  src:
    url('../fonts/museo-sans-700-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/museo-sans-700-webfont.woff') format('woff'),
    url('../fonts/museo-sans-700-webfont.ttf') format('truetype'),
    url('../fonts/museo-sans-700-webfont.svg#museo-sans-700-webfont') format('svg');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/museo-sans-700-italic-webfont.eot');
  src:
    url('../fonts/museo-sans-700-italic-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/museo-sans-700-italic-webfont.woff') format('woff'),
    url('../fonts/museo-sans-700-italic-webfont.ttf') format('truetype'),
    url('../fonts/museo-sans-700-italic-webfont.svg#museo-sans-700-italic-webfont') format('svg');
  font-weight: 700;
  font-style: italic;
}

/* ============================= */
/* Design tokens (Home default)   */
/* ============================= */

:root {
  --bg: #f7f7f7;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --line: #d6d6d6;
  --max: 920px;
}

/* ============================= */
/* Reset / base                  */
/* ============================= */

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  /* Home default look (do NOT change) */
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

a {
  /* Home default link style (do NOT change) */
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid #c9c9c9;
  padding-bottom: 1px;
}

a:hover {
  border-bottom-color: var(--text);
}

/* ============================= */
/* Home layout components         */
/* ============================= */

.wrap {
  max-width: var(--max);
  margin: 80px auto;
  padding: 0 22px;
}

.card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

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

header {
  text-align: center;
}

h1 {
  font-size: 52px;
  font-weight: normal;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  line-height: 1.05;
}

h2 {
  font-size: 20px;
  font-weight: normal;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.rule {
  height: 1px;
  background: var(--line);
  margin: 34px 0;
  width: 100%;
}

p {
  font-size: 18px;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 0 18px;
}

.logo {
  text-align: center;
}

.logo img {
  display: inline-block;
  max-width: 600px;
  width: 100%;
  height: auto;
}

/* Accessible helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus {
  margin-top: 26px;
  max-width: 720px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
  color: var(--muted);
}

.focus strong {
  color: var(--text);
  font-weight: normal;
}

.footer {
  margin-top: 40px;
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

.footer-line {
  margin-bottom: 4px;
}

/* Language switch */
.lang-switch {
  position: fixed;
  top: 0;
  right: 0;
  font-size: 13px;
  color: #777;
  z-index: 999;
  padding: 0;
  margin: 0;
}

.lang-btn {
  border: 1px solid var(--line);
  background: none;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 10px;
  color: #777;
  border-bottom: none; /* Important: prevent underline-like effect */
}

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

.lang-btn.is-active,
.lang button[aria-pressed="true"] {
  background: #f2f2f2;
  color: var(--text);
  border-color: var(--line);
}

.lang-sep {
  margin: 0 6px;
  color: #999;
}

.lang {
  display: none;
}

.lang.is-active {
  display: block;
}

/* Home responsive */
@media (max-width: 560px) {
  .container {
    margin: 60px auto 50px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 17px;
  }

  .logo img {
    max-width: 240px;
  }
}

/* ============================= */
/* Contact page (scoped only)     */
/* ============================= */

/* IMPORTANT: Everything below affects ONLY the contact page */
body.contact {
  /* If you want the same editorial bg, keep it as var(--bg).
     If you prefer a cleaner contact background, you can set #ffffff. */
  background: var(--bg);
  color: var(--text);
}

/* Move your inline .sheet styles here */
body.contact .sheet {
  max-width: 920px;
  margin: 60px auto;
  padding: 40px;
  border: 1px solid var(--line);
}

/* Contact card: more "business card" feel without touching home .card */
body.contact .card {
  max-width: 520px;
  margin: 0 auto;
  padding: 26px 24px;
  text-align: center;
}

/* Contact text styles (do not change home <p>) */
body.contact p {
  max-width: none;
  margin: 0;
}

body.contact .title {
  font-family: 'Museo Sans', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

body.contact .sub {
  font-family: 'Museo Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  margin-bottom: 18px;
}

body.contact .contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.contact .contact-btn {
  font-family: 'Museo Sans', Arial, Helvetica, sans-serif;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f9f9f9;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  /* Override home underline border */
  border-bottom: 1px solid var(--line);
}

body.contact .contact-btn:hover {
  background: #efefef;
  border-bottom-color: var(--line);
}

@media (max-width: 560px) {
  body.contact .sheet {
    margin: 40px auto;
    padding: 22px;
  }

  body.contact .card {
    padding: 22px 18px;
  }
}
/* ============================= */
/* Contact page – Mobile fix     */
/* ============================= */

@media (max-width: 560px) {

  body.contact {
    background: #f7f7f7;
  }

  body.contact .sheet {
    margin: 20px auto;
    padding: 16px;
    border: none;
  }

  body.contact .card {
    width: 100%;
    max-width: 100%;
    padding: 22px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
  }

  body.contact .title {
    font-size: 18px;
  }

  body.contact .sub {
    font-size: 13px;
    margin-bottom: 16px;
  }

  body.contact .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body.contact .contact-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
  }
}