/* =============== RESET & BASE STYLES =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  scroll-behavior: smooth;
  background-color: #f8f8f8;
  color: #422;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-optical-sizing: auto
}

/* =============== FONTS =============== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/Inter/Inter-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/Inter/Inter-SemiBold.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/Inter/Inter-Bold.woff2') format('woff2');
  font-display: swap;
}

/* =============== CONTAINER =============== */
.container {
  display: flex;
  flex-direction: column;
  flex: 1;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
  align-items: flex-start;
}

/* =============== HEADER =============== */
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  background-color: #eaeaea;
  padding: 1rem;
  gap: 0.5rem 3rem;
}
.header-logo-name {
  display: flex;
  flex: 0 1;
  align-items: center;
  gap: 1rem;
}
.header-logo-img {
  width: clamp(4rem, 5vw, 6rem);
  height: clamp(4rem, 5vw, 6rem);
  object-fit: contain;
}
.header-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: clamp(6rem, 7vw, 8rem);
}
.name {
  font-size: clamp(1rem, 1.7vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #222;
  text-align: left;
  margin: 0;
}
.header-description {
  flex: 1 1;
  display: flex;
  align-items:  flex-start;
  justify-content: flex-start;
}
.description {
  font-size: clamp(2rem, 7vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  text-align: left;
  margin: 0;
}

/* =============== MAIN CONTENT =============== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  max-width: 900px;
  margin: 0 auto;
}
.main h2 {
  font-size: clamp(1.5rem, 6vw, 2rem);
  margin: 1rem 0;
  font-weight: 700;
  color: #222;
}
.main p {
  font-size: clamp(1.3rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.7;
  color: #422;
  text-align: left;
  margin: 0;
}
.main address p {
  font-style: normal;
}
.main address {
  margin-bottom: 1.2rem;
}

/* =============== FOOTER =============== */
.footer {
  background-color: #eaeaea;
  font-size: clamp(0.7rem, 0.8vw, 1rem);
  color: rgb(85, 28, 58);
  width: 100%;
  padding: 1rem;
  text-align: left;
  line-height: 1.2;
  margin: auto;
}

/* =============== LINKS =============== */
a {
  color: #0066cc;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
a:hover,
a:focus {
  transform: scale(1.05);
  text-decoration: underline;
  color: #003d80;
}
a:focus-visible {
  outline: 2px solid #003d80;
  outline-offset: 1px;
}
a:active {
  transform: scale(0.98);
}
a:visited {
  text-decoration: none;
  transform: none;
}

/* =============== MOBILE ADAPTATION =============== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .header-logo-name {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  .header-description {
    margin-top: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
  }
  .main {
    padding: 0 1.5rem;
  }
  .footer {
    font-size: 0.75rem;
    text-align: left;
  }
  .main h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }
  .main p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}


@media (max-width: 600px) {
  .header-logo-name {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
  .header-logo-img {
    width: 80px;
    height: 80px;
  }
  .header-name {
    height: auto;
  }
  .name {
    font-size: 1.5rem;
  }
  .description {
    font-size: 1.3rem;
  }
  .main {
    padding: 0 1rem;
  }
  .footer {
    padding: 1rem;
  }
}


@media (max-width: 480px) {
  .name {
    font-size: 1.25rem;
  }
  .description {
    font-size: 1.15rem;
    line-height: 1.3;
  }
  .main h2 {
    font-size: 1.3rem;
  }
  .main p,
  .footer {
    font-size: 1rem;
    line-height: 1.5;
  }
  .main address p {
    font-size: 1rem;
  }
}


@media (max-width: 360px) {
  .name {
    font-size: 1.1rem;
  }
  .description {
    font-size: 1rem;
  }
  .main {
    padding: 0 0.75rem;
  }
  .footer {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  a {
    word-break: break-word;
  }
}