/* ========================================================
   FULL LANDING PAGE IN REFINED EDITORIAL AUTOMOTIVE STYLE
   Strictly following user reference design & color palette
   ======================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #edebe8;
  color: #111113;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  -webkit-font-smoothing: antialiased;
}

/* Browser Window Shell */
.browser-window {
  width: 100%;
  max-width: 1220px;
  background-color: #edebe8;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* Header bar */
.browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #edebe8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.browser-tab {
  background: #ffffff;
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: #111113;
}

/* Main Canvas & Sections */
.content-canvas {
  padding: 30px 40px 80px;
}

.page-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-section:last-of-type {
  border-bottom: none;
}

.tag-counter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 20px;
}

.main-heading,
.section-heading {
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #111113;
  margin-bottom: 14px;
}

.sub-heading,
.section-subheading {
  font-size: 16px;
  color: #6e6e73;
  margin-bottom: 32px;
  max-width: 620px;
}

/* -------------------------------------------
   СЕКЦИЯ 01: HERO
   ------------------------------------------- */
.hero-section {
  padding-top: 30px;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}

.hero-actions-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.dark-pill-btn {
  background: #111113;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}

.dark-pill-btn:hover {
  background: #222226;
  transform: translateY(-2px);
}

.light-pill-btn {
  background: #ffffff;
  color: #111113;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.light-pill-btn:hover {
  background: #f8f8f8;
  border-color: rgba(0, 0, 0, 0.18);
}

.hero-stat-card {
  background: #111113;
  color: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-big-score {
  font-family: 'Oswald', sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.stat-stars {
  color: #f59e0b;
  font-size: 18px;
  margin: 6px 0 12px;
}

.stat-desc {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.4;
  margin-bottom: 20px;
}

.stat-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 9999px;
  color: #e4e4e7;
}

/* -------------------------------------------
   СЕКЦИЯ 02: УСЛУГИ
   ------------------------------------------- */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.service-num {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: #8e8e93;
  margin-bottom: 16px;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #111113;
  margin-bottom: 10px;
  line-height: 1.25;
}

.service-desc {
  font-size: 13.5px;
  color: #6e6e73;
  line-height: 1.5;
  margin-bottom: 24px;
}

.service-bottom-link .link-inline {
  font-size: 13px;
  font-weight: 600;
  color: #111113;
  text-decoration: none;
}

.service-bottom-link .link-inline:hover {
  text-decoration: underline;
}

.dark-accent-box {
  background: #111113;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-white { color: #ffffff; }
.text-muted-white { color: #a1a1aa; }
.dark-num { color: #ffffff; }

.pill-btn-mini {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pill-btn-mini:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------
   СЕКЦИЯ 03: ЦЕНЫ
   ------------------------------------------- */
.prices-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

.price-table-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-row.header-row {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8e8e93;
  padding-top: 0;
}

.col-name strong {
  display: block;
  font-size: 15px;
  color: #111113;
  font-weight: 600;
}

.row-sub {
  font-size: 12.5px;
  color: #8e8e93;
  margin-top: 2px;
  display: block;
}

.price-tag {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.highlight-tag {
  background: #dcfce7;
  color: #15803d;
}

.price-note {
  font-size: 12px;
  color: #8e8e93;
  margin-top: 18px;
}

.price-calc-black-card {
  background: #111113;
  color: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.calc-desc {
  font-size: 13.5px;
  color: #a1a1aa;
  line-height: 1.5;
  margin-bottom: 24px;
}

.calc-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #f4f4f5;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

/* -------------------------------------------
   СЕКЦИЯ 04: КОНТАКТЫ (РЕФЕРЕНС)
   ------------------------------------------- */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: stretch;
}

.left-col {
  display: flex;
  flex-direction: column;
}

.photo-wrapper {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background: #111;
}

.studio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-caption {
  font-size: 11px;
  color: #a1a1a6;
  margin-top: 10px;
  display: block;
}

.right-col {
  display: flex;
}

.black-card {
  width: 100%;
  background-color: #111113;
  color: #ffffff;
  border-radius: 24px;
  padding: 48px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 36px;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.icon-wrap {
  width: 22px;
  height: 22px;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 12px;
  color: #888890;
  font-weight: 500;
  margin-bottom: 3px;
}

.info-text {
  font-size: 14px;
  font-weight: 500;
  color: #f4f4f5;
}

.muted-phone {
  color: #d4d4d8;
  font-size: 13px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pill-btn {
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.pill-btn svg {
  color: #ffffff;
}

/* -------------------------------------------
   СЕКЦИЯ 05: ОТЗЫВЫ
   ------------------------------------------- */
.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 24px;
}

.reviewer-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 12px;
  font-size: 12px;
}

.reviewer-name {
  font-weight: 600;
  color: #111113;
}

.reviewer-date {
  color: #8e8e93;
}

/* -------------------------------------------
   ПОДВАЛ
   ------------------------------------------- */
.browser-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  color: #8e8e93;
}

/* Floating widget */
.corner-widget {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 10;
}

.widget-btn {
  background: #111113;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.widget-btn:hover {
  background: #1a1a1e;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal.active {
  display: flex;
}

.modal-box {
  background: #18181b;
  color: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.close-x {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 24px;
  cursor: pointer;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 12px;
  color: #a1a1aa;
}

.form-row input {
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.form-row input:focus {
  border-color: #ffffff;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e4e4e7;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-submit {
  background: #ffffff;
  border: none;
  color: #111113;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.success-screen {
  text-align: center;
  padding: 16px 0;
}

.success-check {
  width: 48px;
  height: 48px;
  background: #22c55e;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.success-screen h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.success-screen p {
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 20px;
}

/* -------------------------------------------
   RESPONSIVE
   ------------------------------------------- */
@media (max-width: 900px) {
  .hero-split-grid,
  .prices-layout-grid,
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-canvas {
    padding: 24px 20px 60px;
  }
  .header-nav {
    display: none;
  }
  .browser-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
