@import url("./fonts.css");

* {
  font-synthesis: none;
}

html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 190px;
}

body {
  font-family: "Aeonik Pro", sans-serif;
  font-weight: 400;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  margin-top: 24px;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding-inline: 12px;

  scroll-snap-align: start;

  @media (min-width: 640px) {
    max-width: 640px;
  }
  @media (min-width: 768px) {
    max-width: 768px;
  }
  @media (min-width: 1024px) {
    max-width: 1024px;
    padding-inline: 24px;
  }
  @media (min-width: 1200px) {
    max-width: 1200px;
  }
  @media (min-width: 1440px) {
    max-width: 1440px;
  }
}

.footer-bg-wrapper {
  width: 100%;
  background: #202020;
  border-radius: 32px 32px 0 0;
}

/* Disable arrows in number inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* Inline Slider */
.inline__slider,
.inline__slider * {
  -webkit-tap-highlight-color: transparent;
}
.inline__slider {
  cursor: grab;
}

.inline__controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.inline__next,
.inline__prev {
  background: none;
}

@media (min-width: 1200px) {
  .inline__controls {
    display: flex;
  }
}

.h1-heading {
  font-size: 24px;
  margin: 20px auto;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  color: black;
  @media (min-width: 1200px) {
    font-size: 38px;
  }
}
.seo-text {
  margin: 70px auto 20px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: max-height 0.45s ease;
}

.seo-text.collapsed .seo-text-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.seo-text.expanded .seo-text-content {
  line-clamp: unset;
}

.seo-text h2 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a2e;
  text-align: center;
}

.seo-text p {
  margin-bottom: 14px;
  text-align: center;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

.seo-toggle-wrap {
  text-align: center;
  max-width: 820px;
  margin: 16px auto 0;
}

.seo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.seo-toggle::after {
  content: "▾";
  font-size: 12px;
  transition: transform 0.3s ease;
}

.seo-toggle.active::after {
  transform: rotate(180deg);
}

.seo-toggle:hover {
  border-color: #aaa;
  color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.seo-toggle:active {
  transform: translateY(0);
}
.brand-card {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    background-color: rgb(249 250 251);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: all 0.2s;
    min-width: 0;
}
 
.brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
 
.brand-image {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    border-radius: 0.375rem;
}
 
.brand-title {
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.25;
    color: rgb(17 24 39);
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
 
.brand-description {
    color: rgb(55 65 81);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.625;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.brand-description.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}
 
.brand-toggle-btn {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 0.5rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    background-color: rgb(249, 0, 0);
    transition: filter 0.2s;
}
 
.brand-toggle-btn:hover {
    filter: brightness(1.1);
}
 
/* sm: 640px+ */
@media (min-width: 640px) {
    .brand-title {
        font-size: 1.25rem;
    }
    .brand-description {
        font-size: 17px;
    }
}
 
/* md: 768px+ */
@media (min-width: 768px) {
    .brand-title {
        font-size: 1.5rem;
    }
}