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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 3, 58, 0.35) #f4f6f9;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f4f6f9;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(233, 3, 58, 0.35);
  border-radius: 8px;
  border: 3px solid #f4f6f9;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(233, 3, 58, 0.55);
}

:root {
  --color-brand-red: #E9033A;
  --color-dark-bg: #03203A;
  --color-light-bg: #ffffff;
  --color-text-dark: #252F41;
  --color-text-light: #ffffff;
  --font-family-body: 'Onest', sans-serif;
  --font-family-subheader: 'Onest', sans-serif;
}

body {
  font-family: var(--font-family-body);
  background-color: #f4f6f9;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tiff-site-header, .tiff-site-footer {
  width: 100%;
  max-width: 100%;
  height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

.tiff-site-header {
  background-color: var(--color-light-bg);
  border-radius: 0 0 12px 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tiff-site-footer {
  background-color: var(--color-dark-bg);
  border-radius: 12px 12px 0 0;
}

.tiff-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tiff-logo-link {
  text-decoration: none;
  cursor: pointer;
}

.tiff-logo-icon {
  flex-shrink: 0;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.tiff-logo-text {
  font-family: var(--font-family-subheader);
  font-weight: 800;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: var(--color-brand-red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tiff-nav-menu, .tiff-footer-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 20px;
}

.tiff-nav-link, .tiff-footer-link {
  font-family: var(--font-family-body);
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tiff-nav-link { color: var(--color-text-dark); }
.tiff-footer-link { color: var(--color-text-light); }

.tiff-nav-link:hover, .tiff-footer-link:hover {
  color: var(--color-brand-red);
}

.tiff-main-card {
  width: 100%;
  max-width: 100%;
  min-height: 384px;
  height: auto;
  background: rgba(122, 153, 184, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  padding-bottom: 40px;
  box-sizing: border-box;
  position: relative
}

.tiff-card-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  margin-bottom: 12px;
}

.tiff-card-subtitle {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.tiff-card-buttons {
  display: flex;
  align-items: center;
  gap: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.tiff-card-buttons:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(233, 3, 58, 0.25);
}

.tiff-card-buttons:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tiff-btn-main {
  width: 586px;
  height: 52px;
  background-color: #E9033A;
  border: none;
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tiff-btn-ext {
  width: auto;
  min-width: 52px;
  height: 52px;
  padding: 0 20px;
  background-color: #E9033A;
  border: none;
  border-radius: 0 8px 8px 0;
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.tiff-btn-icon {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
  -webkit-user-drag: none;
}

.tiff-card-footer-text {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  margin-top: 12px;
}

.tiff-formats-section {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 464px;
  background-color: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.tiff-formats-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 40px;
}

.tiff-formats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tiff-format-card {
  flex: 0 1 calc((100% - 60px) / 6);
  height: 146px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 12px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tiff-format-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.tiff-card-format-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  z-index: 2;
}

.tiff-card-arrow {
  margin-left: 8px;
  font-weight: 400;
  color: #252F41;
}

.tiff-folder-wrapper {
  position: absolute;
  right: 10px;
  bottom: 4px;
  width: 91px;
  height: 96px;
  z-index: 2;
}

.tiff-folder-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.tiff-format-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #FFFFFF;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}

.tiff-card-pdf .tiff-folder-img, .tiff-card-svg .tiff-folder-img  { filter: hue-rotate(305deg) saturate(150%) brightness(95.6%); }
.tiff-card-pdf .tiff-format-badge, .tiff-card-svg .tiff-format-badge { background-color: #E9033A; }
.tiff-card-pdf, .tiff-card-svg { background: radial-gradient(circle at 80% 80%, rgba(233, 3, 58, 0.08) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-card-docx .tiff-folder-img, .tiff-card-bmp .tiff-folder-img {  filter: hue-rotate(188deg) saturate(201%) brightness(110%); }
.tiff-card-docx .tiff-format-badge, .tiff-card-bmp .tiff-format-badge { background-color: #3882F6; }
.tiff-card-docx, .tiff-card-bmp { background: radial-gradient(circle at 80% 80%, rgba(56, 130, 246, 0.08) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-card-xlxs .tiff-folder-img, .tiff-card-webp .tiff-folder-img {   filter: hue-rotate(93deg) saturate(60%) brightness(110%); }
.tiff-card-xlxs .tiff-format-badge, .tiff-card-webp .tiff-format-badge { background-color: #10B981; }
.tiff-card-xlxs, .tiff-card-webp { background: radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-card-jpeg .tiff-folder-img, .tiff-card-tiff .tiff-folder-img { filter: hue-rotate(289deg) saturate(213%) brightness(123%); }
.tiff-card-jpeg .tiff-format-badge, .tiff-card-tiff .tiff-format-badge { background-color: #8B5CF6; }
.tiff-card-jpeg, .tiff-card-tiff { background: radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-card-png .tiff-folder-img, .tiff-card-gif .tiff-folder-img {   filter: hue-rotate(-20deg) saturate(0.8) brightness(1.1); }
.tiff-card-png .tiff-format-badge, .tiff-card-gif .tiff-format-badge { background-color: #F58700; }
.tiff-card-png, .tiff-card-gif { background: radial-gradient(circle at 80% 80%, rgba(245, 135, 0, 0.08) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-card-heic .tiff-folder-img, .tiff-card-txt .tiff-folder-img { filter: sepia(3%) hue-rotate(0deg) saturate(27%) brightness(110%); }
.tiff-card-heic .tiff-format-badge, .tiff-card-txt .tiff-format-badge { background-color: #1F2937; }
.tiff-card-heic, .tiff-card-txt { background: radial-gradient(circle at 80% 80%, rgba(31, 41, 55, 0.06) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-card-ico .tiff-folder-img { filter: hue-rotate(190deg) saturate(64%) brightness(115%); }
.tiff-card-ico .tiff-format-badge { background-color: #6B7280; }
.tiff-card-ico { background: radial-gradient(circle at 80% 80%, rgba(107, 114, 128, 0.08) 0%, rgba(0, 0, 0, 0.03) 80%); }

.tiff-about-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.tiff-about-content {
  width: 100%;
  max-width: 1280px;
  padding: 40px 40px 80px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tiff-about-card {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(37, 47, 65, 0.12);
  border-radius: 12px;
}

.tiff-about-title,
.tiff-about-text {
  width: 100%;
}

.tiff-about-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 24px;
  text-align: center;
}

.tiff-about-text {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.tiff-how-to-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  min-height: 332px;
}

.tiff-how-to-content {
  width: 100%;
  max-width: 1280px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tiff-how-to-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 24px;
  text-align: center;
}

.tiff-how-to-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.tiff-how-to-card {
  width: 294px;
  height: 192px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tiff-how-to-step {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 12px;
}

.tiff-how-to-desc {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.tiff-faq-content {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tiff-faq-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 24px;
  text-align: center;
}

.tiff-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: center;
}

.tiff-faq-item {
  width: 100%;
  max-width: 640px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
}

.tiff-faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 24px;
  color: #1E1E1E;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  user-select: none;
}

.tiff-faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.tiff-faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.tiff-faq-answer {
  overflow: hidden;
}

.tiff-faq-answer-content {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 24px 24px 24px;
}

.tiff-faq-item.tiff-active .tiff-faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.tiff-faq-item.tiff-active .tiff-faq-arrow {
  transform: rotate(180deg);
}

.tiff-custom-file-list {
  width: 640px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tiff-custom-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  padding: 16px;
  background-color: rgba(122, 153, 184, 0.15);
  border-radius: 12px;
  box-sizing: border-box;
}

.tiff-custom-file-name {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #252F41;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

.tiff-custom-progress-container {
  flex: 1;
  height: 6px;
  background-color: rgba(233, 3, 58, 0.2);
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}

.tiff-custom-progress-fill {
  width: 0%;
  height: 100%;
  background-color: #E9033A;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.tiff-custom-download-btn {
  background-color: #E9033A;
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.tiff-custom-download-btn:hover {
  opacity: 0.9;
}

.tiff-download-all-container {
  width: 640px;
  max-width: 100%;
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.tiff-download-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-text-dark);
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tiff-download-all-btn:hover {
  opacity: 0.9;
}

.tiff-download-all-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

.tiff-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--color-dark-bg);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tiff-cookie-banner.tiff-is-visible {
  transform: translateY(0);
}

.tiff-cookie-banner-text {
  flex: 1;
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.tiff-cookie-banner-text a {
  color: var(--color-brand-red);
  text-decoration: underline;
}

.tiff-cookie-banner-btn {
  flex-shrink: 0;
  background-color: var(--color-brand-red);
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tiff-cookie-banner-btn:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .tiff-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .tiff-cookie-banner-btn {
    width: 100%;
  }
}

.tiff-legal-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.tiff-legal-content {
  width: 100%;
  max-width: 800px;
  padding: 60px 40px 100px;
  box-sizing: border-box;
}

.tiff-legal-page-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  margin-bottom: 12px;
}

.tiff-legal-updated {
  color: #64748B;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 40px;
}

.tiff-legal-content h2 {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.tiff-legal-content h2:first-of-type {
  margin-top: 0;
}

.tiff-legal-content p {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 16px;
}

.tiff-legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.tiff-legal-content li {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 8px;
}

.tiff-legal-content strong {
  font-weight: 600;
}

.tiff-legal-content a {
  color: var(--color-brand-red);
}

.tiff-legal-placeholder {
  background-color: rgba(233, 3, 58, 0.08);
  padding: 1px 4px;
  border-radius: 4px;
}

.tiff-error-section {
  width: 100%;
  min-height: 520px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

.tiff-error-content {
  max-width: 480px;
}

.tiff-error-code {
  color: var(--color-brand-red);
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 120px;
  line-height: 1;
  margin-bottom: 16px;
}

.tiff-error-title {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 12px;
}

.tiff-error-text {
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 32px;
}

.tiff-error-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand-red);
  color: #ffffff;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.tiff-error-home-link:hover {
  opacity: 0.9;
}

.tiff-drop-zone-overlay {
  display: none;
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 40px;
  right: 40px;
  background-color: rgba(122, 153, 184, 0.15);
  border: 2px dashed rgba(122, 153, 184, 1);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #252F41;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  z-index: 10;
  pointer-events: none;
}

.tiff-main-card.tiff-drag-active .tiff-card-title,
.tiff-main-card.tiff-drag-active .tiff-card-subtitle,
.tiff-main-card.tiff-drag-active #upload-default-state,
.tiff-main-card.tiff-drag-active .tiff-custom-file-list,
.tiff-main-card.tiff-drag-active #main-footer-text {
  display: none !important;
}

.tiff-main-card.tiff-drag-active .tiff-drop-zone-overlay {
  display: flex;
}

.tiff-burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.tiff-burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #252F41;
  border-radius: 2px;
}

.tiff-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: #03203A;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  overscroll-behavior: none;
  overflow-y: auto;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
}

.tiff-mobile-menu.tiff-is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.tiff-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  width: 100%;
}

.tiff-mobile-menu-header .tiff-logo {
  min-width: 0;
  overflow: hidden;
}

.tiff-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0 !important;
  margin-left: auto;
}

.tiff-mobile-menu.tiff-is-open {
  transform: translateY(0);
  visibility: visible;
}

.tiff-mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 16px;
}

.tiff-mobile-nav-link {
  font-family: var(--font-family-body);
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tiff-mobile-nav-link:hover {
  color: var(--color-brand-red);
}

@media (max-width: 992px) {
  .tiff-site-header {
    height: 76px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }
  .tiff-nav-menu {
    display: none;
  }
  .tiff-burger-btn {
    display: flex;
  }
  .tiff-site-header .tiff-logo-pro {
    display: none;
  }
  .tiff-site-footer {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }
  .tiff-footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .tiff-main-card {
    height: auto;
    padding: 40px 20px;
  }
  .tiff-card-title {
    font-size: 28px;
    line-height: 34px;
  }
  .tiff-card-buttons {
    width: 100%;
    max-width: 640px;
    flex-direction: row;
  }
  .tiff-btn-main {
    width: 100%;
  }
  .tiff-formats-section {
    height: auto;
    padding: 16px;
  }
  .tiff-formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tiff-format-card {
    width: auto;
    max-width: 100%;
    height: 146px;
  }
  .tiff-card-format-title {
    font-size: 20px;
  }
  .tiff-about-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px;
  }
  .tiff-about-title,
  .tiff-about-text {
    max-width: 100%;
  }
  .tiff-how-to-content {
    padding: 16px;
  }
  .tiff-how-to-card {
    max-width: 100%;
    height: auto;
    min-height: 192px;
  }
  .tiff-legal-content {
    padding: 40px 20px 60px;
  }
  .tiff-legal-page-title {
    font-size: 28px;
    line-height: 34px;
  }
  .tiff-error-code {
    font-size: 80px;
  }
}
