/* Стили админки: заявки (Leads) */

.admin-leads-page {
  padding: 1.5rem;
  max-width: 1200px;
}

.admin-leads-page h1 {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: #2d4a3e;
  font-weight: 700;
}

.admin-leads-page .admin-notice {
  color: #2d4a3e;
  margin-bottom: 1rem;
}

.admin-leads-page .admin-alert {
  color: #c46b3f;
  margin-bottom: 1rem;
}

.admin-leads-page .admin-empty {
  color: #888;
  margin-top: 1rem;
}

.admin-leads-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-leads-table th,
.admin-leads-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}

.admin-leads-table th {
  background: #f5f0e1;
  font-weight: 600;
  color: #2d4a3e;
  font-size: 0.85rem;
}

.admin-leads-table tr:hover td {
  background: #fafaf8;
}

.admin-leads-table .status-cell {
  white-space: nowrap;
}

.admin-leads-table .status-label {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-leads-table .status-label--new {
  background: #e8f0e8;
  color: #2d4a3e;
}

.admin-leads-table .status-label--in_process {
  background: #f0ebe0;
  color: #5c4a32;
}

.admin-leads-table .status-label--processed {
  background: #e0e8e6;
  color: #2d4a3e;
}

.admin-leads-table .th-actions {
  text-align: right;
  min-width: 220px;
}

.admin-leads-table .actions-cell {
  text-align: right;
}

.admin-leads-table .actions-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-leads-table .actions-right .status-btns {
  margin-right: 0.25rem;
}

.admin-leads-table .action-link {
  margin-right: 0.5rem;
}

.admin-leads-table .action-destroy-form {
  display: inline-block;
  margin: 0;
}

.admin-leads-table .status-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.admin-leads-table .status-btns form {
  display: inline-block;
  margin: 0;
}

.admin-leads-table .status-btn {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.admin-leads-table .status-btn:hover {
  opacity: 0.9;
}

.admin-leads-table .status-btn--new {
  background: #9caf88;
  color: #fff;
}

.admin-leads-table .status-btn--in_process {
  background: #b8956a;
  color: #fff;
}

.admin-leads-table .status-btn--processed {
  background: #2d4a3e;
  color: #fff;
}

.admin-leads-table .status-btn.is-active {
  box-shadow: 0 0 0 2px currentColor;
}

.admin-leads-table .actions-cell a,
.admin-leads-table .action-link {
  color: #2d4a3e;
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-leads-table .actions-cell a:hover,
.admin-leads-table .action-link:hover {
  text-decoration: underline;
}

.admin-leads-table .actions-cell .destroy,
.admin-leads-table .action-destroy-form .destroy {
  color: #c46b3f;
  font-size: 0.9rem;
}

/* Страница просмотра заявки */
.admin-leads-show {
  padding: 1.5rem;
  max-width: 720px;
}

.admin-leads-show h1 {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  color: #2d4a3e;
  font-weight: 700;
}

.admin-leads-show .back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #2d4a3e;
  text-decoration: none;
  font-weight: 600;
}

.admin-leads-show .back-link:hover {
  text-decoration: underline;
}

.admin-leads-show .card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-leads-show .field {
  margin-bottom: 1rem;
}

.admin-leads-show .field-label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.25rem;
}

.admin-leads-show .field-value {
  color: #2d4a3e;
}
/* Landing: автосервис — Golden Summer Fields + тёмно-зелёный акцент, современный layout */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #f5f0e1;
}

.landing {
  --landing-bg: #f5f0e1;
  --landing-surface: #f0f2e8;
  --landing-cream: #f7f3e8;
  --landing-beige: #e8dcc8;
  --landing-brown: #b8956a;
  --landing-sage: #9caf88;
  --landing-accent: #2d4a3e;
  --landing-accent-hover: #3d5c4f;
  --landing-text: #2d4a3e;
  --landing-muted: #5c6b5e;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--landing-text);
  background: var(--landing-bg);
  min-height: 100vh;
}

.landing a {
  color: var(--landing-accent);
  text-decoration: none;
}

.landing a:hover {
  color: var(--landing-accent-hover);
  text-decoration: none;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 240, 225, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.landing-logo-icon {
  display: flex;
  color: var(--landing-accent);
}

.landing-logo-text {
  color: var(--landing-accent);
}

.landing-nav {
  display: flex;
  gap: 2rem;
}

.landing-nav a {
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.landing-nav a:hover {
  color: var(--landing-accent-hover);
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-phone {
  color: var(--landing-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.landing-phone:hover {
  color: var(--landing-accent-hover);
}

.landing-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--landing-accent);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.landing-icon-btn:hover {
  background: var(--landing-surface);
  color: var(--landing-accent-hover);
}

@media (max-width: 768px) {
  .landing-header-inner {
    flex-wrap: wrap;
  }
  .landing-nav {
    order: 3;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(45, 74, 62, 0.08);
  }
}

/* Hero — две колонки */
.landing-hero {
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.landing-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
}

.landing-hero-content {
  max-width: 520px;
}

.landing-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--landing-accent);
}

.landing-hero-title-line {
  display: inline-block;
}

.landing-hero-title-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--landing-sage);
  color: var(--landing-bg);
  border-radius: 50%;
  flex-shrink: 0;
}

.landing-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--landing-muted);
  margin: 0 0 1.75rem;
}

.landing-hero-price {
  margin-bottom: 1.75rem;
}

.landing-hero-price-value {
  font-weight: 700;
  font-size: 2rem;
  color: var(--landing-accent);
  letter-spacing: -0.02em;
}

.landing-hero-price-label {
  font-size: 1rem;
  color: var(--landing-muted);
  font-weight: 400;
}

/* Кнопка outline */
.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 999px;
}

.landing-cta-outline {
  background: transparent;
  color: var(--landing-accent);
  border: 2px solid var(--landing-accent);
}

.landing-cta-outline:hover {
  background: #415049;
  color: #f7f4ec;
  border-color: #415049;
}

/* Заполненная кнопка (форма) */
.landing-cta:not(.landing-cta-outline) {
  background: var(--landing-accent);
  color: var(--landing-bg);
  border: none;
  width: 100%;
}

.landing-cta:not(.landing-cta-outline):hover {
  background: var(--landing-accent-hover);
}

/* Hero visual */
.landing-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.landing-hero-visual-inner {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 400 / 320;
}

.landing-hero-deco {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .landing-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .landing-hero-content {
    max-width: none;
  }
  .landing-hero-title {
    justify-content: center;
  }
  .landing-hero-visual {
    order: -1;
    min-height: 240px;
  }
  .landing-hero-visual-inner {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Секции */
.landing-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(45, 74, 62, 0.08);
}

.landing-section-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--landing-accent);
}

/* До/после */
.landing-before-after-intro {
  color: var(--landing-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.landing-before-after-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.landing-before-after-item {
  background: var(--landing-surface);
  border: 1px solid rgba(45, 74, 62, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.landing-before-after-link {
  display: block;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

.landing-before-after-link:hover {
  background: rgba(45, 74, 62, 0.03);
}

.landing-before-after-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--landing-accent);
}

.landing-before-after-item-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--landing-accent);
}

.landing-before-after-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.landing-before-after-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--landing-bg);
  border-radius: 8px;
  overflow: hidden;
}

.landing-before-after-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  background: var(--landing-accent);
  color: var(--landing-bg);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.landing-before-after-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .landing-before-after-images {
    grid-template-columns: 1fr;
  }
}

/* Страница одного кейса до/после */
.landing-case {
  padding: 2rem 1.5rem 4rem;
}

.landing-case-back {
  display: inline-block;
  color: var(--landing-accent);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.landing-case-back:hover {
  color: var(--landing-accent-hover);
}

.landing-case-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  color: var(--landing-accent);
}

.landing-case-description {
  color: var(--landing-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.landing-case-description p {
  margin: 0 0 0.75rem;
}

.landing-case-main-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.landing-case-photo-block {
  background: var(--landing-surface);
  border: 1px solid rgba(45, 74, 62, 0.08);
  border-radius: 12px;
  padding: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing-case-photo-heading {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--landing-sage);
  flex-shrink: 0;
}

.landing-case-photo-block .landing-case-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--landing-bg);
}

.landing-case-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  cursor: pointer;
}

.landing-case-gallery {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 74, 62, 0.08);
}

.landing-case-gallery .landing-section-title {
  margin-bottom: 1.25rem;
}

.landing-case-gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.landing-case-gallery-grid li {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--landing-surface);
}

.landing-case-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Lightbox на весь экран */
.landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.landing-lightbox[hidden] {
  display: none !important;
}

.landing-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.landing-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.landing-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.landing-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.landing-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.landing-lightbox-prev {
  left: 1rem;
}

.landing-lightbox-next {
  right: 1rem;
}

.landing-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .landing-case-main-photos {
    grid-template-columns: 1fr;
  }
}

.landing-services-intro {
  color: var(--landing-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.landing-services-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.landing-services-block {
  background: var(--landing-surface);
  border: 1px solid rgba(45, 74, 62, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.landing-services-block-title {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: var(--landing-accent);
}

.landing-prices-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-prices-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.landing-prices-list li:last-child {
  border-bottom: none;
}

.landing-prices-name {
  color: var(--landing-text);
  font-size: 0.95rem;
}

.landing-prices-value {
  font-weight: 600;
  color: var(--landing-accent);
  white-space: nowrap;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .landing-services-two-col {
    grid-template-columns: 1fr;
  }
}

.landing-services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.landing-services-grid li {
  background: var(--landing-surface);
  border: 1px solid rgba(45, 74, 62, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-services-grid li:hover {
  border-color: var(--landing-sage);
  box-shadow: 0 4px 20px rgba(45, 74, 62, 0.06);
}

.landing-services-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.landing-services-grid h3 {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--landing-accent);
}

.landing-services-grid p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.landing-advantages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.landing-advantages-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--landing-muted);
  line-height: 1.5;
}

.landing-advantages-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-sage);
}

.landing-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.landing-contacts-grid p {
  margin: 0 0 1rem;
  color: var(--landing-muted);
  font-size: 0.95rem;
}

.landing-contacts-grid a {
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 600;
}

.landing-contacts-grid a:hover {
  color: var(--landing-accent-hover);
}

.landing-form-wrap {
  background: var(--landing-cream);
  border: 1px solid rgba(45, 74, 62, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--landing-text);
}

.landing-form-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 1rem !important;
  color: var(--landing-accent);
}

.landing-form-notice {
  color: var(--landing-sage);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.landing-form-alert {
  color: var(--landing-accent);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.landing-toast {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  background: #f3f3ed;
  color: #2e403b;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: opacity 0.3s, transform 0.3s;
}

.landing-toast-text {
  margin: 0;
}

.landing-form input,
.landing-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--landing-bg);
  border: 1px solid rgba(45, 74, 62, 0.15);
  border-radius: 8px;
  color: var(--landing-text);
  font: inherit;
  font-size: 1rem;
}

.landing-form input::placeholder,
.landing-form textarea::placeholder {
  color: var(--landing-muted);
}

.landing-form button.landing-cta,
.landing-form input[type="submit"].landing-cta {
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .landing-contacts-grid {
    grid-template-columns: 1fr;
  }
}

.landing-footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(45, 74, 62, 0.08);
  text-align: center;
  color: var(--landing-muted);
  font-size: 0.9rem;
}

.landing-footer p {
  margin: 0;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
