/* tymenrieltor.store — лендинг v1 (AURADESIGN v3) */

:root {
  --tr-primary: #0b3d5c;
  --tr-primary-hover: #0e4d73;
  --tr-accent: #c9a227;
  --tr-accent-hover: #b8921f;
  --tr-bg: #f7f9fc;
  --tr-surface: #ffffff;
  --tr-text: #1a1f2e;
  --tr-muted: #5c6578;
  --tr-border: #e2e8f0;
  --tr-radius: 12px;
  --tr-shadow: 0 4px 24px rgba(11, 61, 92, 0.08);
  --tr-container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", system-ui, sans-serif;
  color: var(--tr-text);
  background: var(--tr-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tr-primary);
  text-decoration: none;
}

a:hover {
  color: var(--tr-primary-hover);
}

h1,
h2,
h3 {
  font-family: "Manrope", "Onest", sans-serif;
  letter-spacing: -0.02em;
  color: var(--tr-primary);
  line-height: 1.15;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

.tr-container {
  width: 100%;
  max-width: var(--tr-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* Шапка */
.tr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--tr-surface);
  border-bottom: 1px solid var(--tr-border);
}

.tr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.tr-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--tr-primary);
  text-decoration: none;
}

.tr-logo span {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--tr-muted);
}

.tr-nav {
  display: none;
  gap: 28px;
}

.tr-nav a {
  font-weight: 500;
  color: var(--tr-primary);
}

.tr-header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--tr-primary);
  white-space: nowrap;
}

.tr-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--tr-border);
  border-radius: 8px;
  background: var(--tr-surface);
  cursor: pointer;
}

.tr-burger span {
  display: block;
  height: 2px;
  background: var(--tr-primary);
  border-radius: 1px;
}

.tr-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 16px;
  border-top: 1px solid var(--tr-border);
  background: var(--tr-surface);
}

.tr-mobile-nav.is-open {
  display: flex;
}

.tr-mobile-nav a {
  padding: 8px 0;
  font-weight: 500;
}

@media (min-width: 900px) {
  .tr-nav {
    display: flex;
  }

  .tr-header__phone {
    display: flex;
  }

  .tr-burger {
    display: none;
  }

  .tr-mobile-nav {
    display: none !important;
  }
}

/* Hero */
.tr-hero {
  padding-block: clamp(48px, 8vw, 96px);
  background: linear-gradient(135deg, var(--tr-bg) 0%, #fff 55%);
  overflow: hidden;
}

.tr-hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .tr-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.tr-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
}

.tr-hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
  color: var(--tr-text);
}

.tr-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.tr-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--tr-primary);
}

.tr-bullets svg {
  flex-shrink: 0;
  color: var(--tr-accent);
}

.tr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--tr-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--tr-radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}

.tr-btn:hover {
  background: var(--tr-primary-hover);
  transform: translateY(-1px);
  color: #fff !important;
}

.tr-btn--ghost {
  background: transparent;
  color: var(--tr-primary) !important;
  border: 1px solid var(--tr-border);
}

.tr-btn--ghost:hover {
  background: var(--tr-bg);
  color: var(--tr-primary) !important;
}

.tr-hero__phone-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--tr-primary);
}

.tr-hero__visual {
  position: relative;
}

.tr-hero__photo {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (max-width: 1023px) {
  .tr-hero__visual {
    order: -1;
  }

  .tr-hero__photo {
    max-height: 280px;
    aspect-ratio: 16 / 10;
    object-position: top center;
  }
}

/* Секции */
.tr-section {
  padding-block: clamp(48px, 8vw, 80px);
}

.tr-section--white {
  background: var(--tr-surface);
}

.tr-section__title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.tr-section__subtitle {
  text-align: center;
  color: var(--tr-muted);
  max-width: 40rem;
  margin: -1rem auto 2rem;
}

/* Услуги */
.tr-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .tr-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tr-services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tr-service-card {
  display: flex;
  flex-direction: column;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  overflow: hidden;
  border: 1px solid var(--tr-border);
  box-shadow: var(--tr-shadow);
  height: 100%;
}

.tr-service-card__img {
  height: 160px;
  overflow: hidden;
}

.tr-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
}

.tr-service-card__body h3 {
  font-size: 1.2rem;
  margin: 0;
}

.tr-service-card__body p {
  color: var(--tr-muted);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.tr-service-card__body .tr-btn {
  width: 100%;
  margin-top: 0.75rem;
}

/* Шаги */
.tr-steps {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .tr-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tr-step {
  padding: 1.5rem;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  border: 1px solid var(--tr-border);
}

.tr-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--tr-primary);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.tr-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tr-step p {
  color: var(--tr-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Блог */
.tr-blog {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .tr-blog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tr-blog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tr-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  overflow: hidden;
  border: 1px solid var(--tr-border);
  transition: transform 0.15s, box-shadow 0.15s;
}

.tr-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tr-shadow);
}

.tr-blog-card__img {
  height: 140px;
  overflow: hidden;
}

.tr-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-blog-card__body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tr-blog-card__body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.tr-blog-card__body span {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tr-primary);
}

/* FAQ */
.tr-faq {
  max-width: 720px;
  margin-inline: auto;
}

.tr-faq details {
  margin-bottom: 12px;
  padding: 1rem 1.25rem;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
}

.tr-faq summary {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: var(--tr-primary);
  cursor: pointer;
  list-style: none;
}

.tr-faq summary::-webkit-details-marker {
  display: none;
}

.tr-faq details[open] summary {
  margin-bottom: 0.75rem;
}

.tr-faq p {
  color: var(--tr-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Контакты */
.tr-contacts {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .tr-contacts {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.tr-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tr-contacts__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tr-contacts__row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--tr-accent);
}

.tr-contacts__form {
  padding: 1.5rem;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  border: 1px solid var(--tr-border);
  box-shadow: var(--tr-shadow);
}

.tr-contacts__form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.tr-contacts__form input,
.tr-contacts__form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tr-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.tr-contacts__form textarea {
  min-height: 100px;
  resize: vertical;
}

.tr-contacts__form .tr-btn {
  width: 100%;
}

.tr-form-note {
  font-size: 0.8rem;
  color: var(--tr-muted);
  margin-top: 0.75rem;
  text-align: center;
}

.tr-trust-list {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tr-trust-list li {
  padding: 1rem 1.25rem;
  background: var(--tr-bg);
  border-radius: var(--tr-radius);
  border: 1px solid var(--tr-border);
  font-weight: 500;
  color: var(--tr-primary);
}

.tr-local-seo {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--tr-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Подвал */
.tr-footer {
  padding: 2rem 0;
  background: var(--tr-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.tr-footer a {
  color: #fff;
}

.tr-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .tr-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Нижний бар mobile */
.tr-widget-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  box-shadow: 0 -4px 20px rgba(11, 61, 92, 0.12);
}

.tr-widget-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 16px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
}

.tr-widget-bar__wa {
  background: var(--tr-primary);
}

.tr-widget-bar__call {
  background: var(--tr-accent);
}

.tr-widget-bar svg {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .tr-widget-bar {
    display: none;
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 56px;
  }
}
