:root {
  --bg: #130c08;
  --panel: #1d1410;
  --panel-strong: #2a1a12;
  --text: #fff7ef;
  --muted: #d9c4b3;
  --green: #ff8a2a;
  --green-soft: #ffc078;
  --blue: #52b8ff;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 138, 42, 0.22), transparent 26rem),
    radial-gradient(circle at 82% 20%, rgba(82, 184, 255, 0.13), transparent 24rem),
    linear-gradient(135deg, #090604, #17100c 58%, #130c08);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 138, 42, 0.72);
  border-radius: 14px;
  background: linear-gradient(135deg, #2a160c, #412515);
  color: var(--green);
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 138, 42, 0.28);
}

.image-mark {
  overflow: hidden;
  border-radius: 50%;
  padding: 0;
  background: #050505;
}

.image-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--green-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.whatsapp-nav {
  color: #d9ffd8;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: #25d366;
  filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.28));
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 26px 0 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text,
.section-heading > p,
.catalog-head p,
.contact-band p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions,
.catalog-head,
.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 900;
}

.hero-button {
  min-height: 66px;
  min-width: min(100%, 260px);
  border-radius: 18px;
  padding-inline: 28px;
  font-size: 1.08rem;
}

.primary-button {
  background: linear-gradient(135deg, var(--green), #ffd08a);
  color: #160b05;
  box-shadow: 0 14px 34px rgba(255, 138, 42, 0.28);
}

.secondary-button,
.instagram-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.wide-button {
  min-height: 62px;
  margin-top: 10px;
  padding-inline: 26px;
  font-size: 1.08rem;
}

.phone-stage {
  position: relative;
  min-height: 520px;
}

.phone-card {
  position: absolute;
  inset: 18px 54px 20px auto;
  width: min(330px, 82vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px;
  background: linear-gradient(160deg, #271810, #110905);
  box-shadow: var(--shadow), inset 0 0 0 12px #020403;
  transform: rotate(5deg);
}

.camera {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 72px;
  height: 22px;
  border-radius: 999px;
  background: #030504;
  transform: translateX(-50%);
}

.screen {
  position: absolute;
  inset: 70px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  border-radius: 30px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 138, 42, 0.2), transparent),
    linear-gradient(180deg, #2a170d, #100804);
}

.screen-title {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.screen strong {
  font-size: 2.7rem;
  line-height: 0.92;
}

.screen small {
  color: var(--muted);
  font-weight: 700;
}

.service-chip {
  position: absolute;
  border: 1px solid rgba(255, 138, 42, 0.45);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(9, 20, 16, 0.82);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.34);
  color: var(--green-soft);
  font-weight: 900;
}

.chip-one {
  top: 76px;
  left: 18px;
}

.chip-two {
  right: 0;
  bottom: 128px;
}

.chip-three {
  left: 4px;
  bottom: 62px;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0 54px;
}

.quick-services article,
.phone-card-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.quick-services article {
  padding: 24px;
}

.quick-services span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.quick-services strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.quick-services p,
.phone-card-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.accessories-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: center;
  padding: 28px 0 60px;
  border-top: 1px solid var(--line);
}

.accessories-copy h2 {
  font-size: clamp(1.65rem, 4vw, 2.65rem);
}

.accessories-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.accessories-visuals {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.accessories-strip-img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.32));
}

.accessory-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.accessory-products img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border: 1px solid rgba(255, 138, 42, 0.22);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.section-heading,
.catalog-section,
.contact-band {
  padding: 56px 0;
}

.catalog-section {
  border-top: 1px solid var(--line);
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 210px;
  gap: 12px;
  margin: 24px 0 18px;
}

.filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.filters input,
.filters select,
.modal-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.filters select option {
  color: #101010;
}

.notice,
.modal-status {
  color: var(--green-soft);
  font-weight: 800;
}

.sale-note {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid rgba(255, 138, 42, 0.45);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 138, 42, 0.12);
  color: var(--green-soft);
  font-weight: 900;
}

.warranty-note {
  margin-top: 12px;
  border: 1px solid rgba(255, 192, 120, 0.5);
  border-radius: 14px;
  padding: 13px 16px;
  background: rgba(255, 138, 42, 0.14);
  color: #ffe1bd;
  font-weight: 950;
  text-transform: uppercase;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.phone-card-item {
  overflow: hidden;
}

.phone-image {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(82, 184, 255, 0.18), rgba(255, 138, 42, 0.18));
}

.phone-image img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.phone-placeholder {
  width: 76px;
  height: 128px;
  border: 8px solid #050908;
  border-radius: 22px;
  background: linear-gradient(180deg, #ff8a2a, #ffd08a);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.apple-symbol,
.brand-product-symbol {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 34px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 42px rgba(0, 0, 0, 0.26);
}

.apple-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.playstation-logo {
  width: 122px;
  height: 92px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.phone-info {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-info h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.phone-price {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 950;
}

.cash-only {
  display: inline-flex;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-band {
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-detail {
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 900;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.whatsapp-button {
  gap: 8px;
}

.modal {
  width: min(920px, calc(100% - 26px));
  max-height: min(780px, calc(100vh - 34px));
  border: 0;
  border-radius: 22px;
  padding: 0;
  color: var(--text);
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #160e0a;
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.repair-list {
  display: grid;
  gap: 10px;
  max-height: 480px;
  margin-top: 16px;
  overflow: auto;
}

.repair-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.repair-row strong,
.repair-row span {
  min-width: 0;
}

.repair-price {
  color: var(--green);
  font-weight: 950;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .phone-stage {
    min-height: 410px;
  }

  .phone-card {
    inset: 8px 0 18px 50%;
    transform: translateX(-50%) rotate(3deg);
  }

  .quick-services,
  .accessories-showcase,
  .phone-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .accessory-products img {
    height: 180px;
  }

  .repair-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  main,
  .site-header {
    width: min(100% - 22px, 1160px);
  }

  h1 {
    font-size: clamp(2rem, 13vw, 3.6rem);
  }

  .hero-title {
    font-size: clamp(1.9rem, 10.5vw, 3.05rem);
  }

  .hero-actions,
  .catalog-head,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .instagram-button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .hero-button {
    min-height: 64px;
    font-size: 1.05rem;
  }

  .phone-stage {
    min-height: 360px;
    overflow: hidden;
  }

  .phone-card {
    width: 250px;
    border-radius: 34px;
  }

  .screen {
    inset: 58px 22px 24px;
  }

  .screen strong {
    font-size: 2rem;
  }

  .service-chip {
    font-size: 0.86rem;
  }

  .chip-one {
    left: 0;
  }

  .chip-two {
    right: 0;
    bottom: 86px;
  }

  .chip-three {
    bottom: 34px;
  }
}
