/* Phoenix Tyres — brand: black / fire orange / red / brushed silver */

:root {
  --bg: #0b0b0c;
  --bg-alt: #111113;
  --surface: #161618;
  --surface-2: #1d1d20;
  --line: #2a2a2e;
  --text: #f2f2f2;
  --text-muted: #a4a6ab;
  --silver: #c9ccd1;
  --orange: #ff6a00;
  --orange-hover: #ff7d1f;
  --red: #e3261b;
  --focus: #ffb070;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --container: 1160px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--silver); max-width: 52ch; }
.muted { color: var(--text-muted); max-width: 58ch; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), transform 140ms var(--ease), color 140ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #180a00; }
.btn-primary:hover { background: var(--orange-hover); color: #180a00; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--silver); color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn.is-sent, .btn.is-sent:hover { opacity: 1; cursor: default; background: #2f8f4e; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--silver);
  font-weight: 500; font-size: 15px; letter-spacing: .02em;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.nav-links a:hover { color: var(--text); border-color: var(--orange); }
.nav-cta { padding: 10px 16px; font-size: 15px; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--silver); border-radius: 2px; transition: transform 160ms var(--ease), opacity 120ms; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu a { color: var(--text); padding: 12px 4px; font-size: 18px; font-weight: 500; }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
  background: var(--bg);
}
/* Fire glow anchored behind the logo, with a slow soft sweep drifting toward the headline */
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(760px 560px at 76% 40%, rgba(255, 106, 0, .30), rgba(255, 106, 0, .10) 42%, transparent 68%),
    radial-gradient(420px 300px at 92% 70%, rgba(227, 38, 27, .14), transparent 70%);
}
.hero::after {
  background: linear-gradient(100deg, transparent 22%, rgba(255, 106, 0, .05) 40%, rgba(255, 106, 0, .15) 58%, rgba(255, 140, 40, .22) 70%, transparent 88%);
  transform: translateX(14%);
  opacity: .55;
  animation: heroSweep 11s cubic-bezier(.45, 0, .35, 1) infinite alternate;
}
@keyframes heroSweep {
  from { transform: translateX(14%); opacity: .45; }
  to   { transform: translateX(-16%); opacity: .85; }
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 18px 44px rgba(255, 106, 0, .32)); }

.stats {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-bottom: none;
  background: var(--surface);
}
.stats li { padding: 22px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stats li:last-child { border-right: none; }
.stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--orange); line-height: 1; }
.stats span { font-size: 14px; color: var(--text-muted); letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { max-width: 20ch; }
.section-head .muted { margin-top: 14px; }

.grid { display: grid; gap: 16px; }
.services { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
.card:hover { border-color: #3a3a40; transform: translateY(-2px); }
.card-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: rgba(255, 106, 0, .12); color: var(--orange);
  display: grid; place-items: center;
}
.card-icon svg { width: 22px; height: 22px; }
.card p { color: var(--text-muted); font-size: 15.5px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.why-grid .section-head { margin-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--silver); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180a00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L19 7'/></svg>") center / 12px no-repeat;
}

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.quotes blockquote {
  margin: 0; padding: 24px 24px 24px 28px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: var(--radius);
}
.quotes p { font-size: 19px; color: var(--text); font-style: italic; margin-bottom: 12px; }
.quotes cite { font-style: normal; font-size: 14px; color: var(--text-muted); letter-spacing: .02em; }

/* ---------- Order form ---------- */
.order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.order-grid .section-head { position: sticky; top: 100px; }
.order-alt { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; color: var(--text-muted); font-size: 15px; }
.order-alt a { font-weight: 600; display: inline-block; padding: 8px 0; }

.order-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-size: 14px; font-weight: 600; color: var(--silver); letter-spacing: .01em; padding: 0; }
.field em { color: var(--orange); font-style: normal; }
.field small { color: var(--text-muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input, select, textarea {
  width: 100%;
  font: inherit; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease);
}
input::placeholder, textarea::placeholder { color: #5f6167; }
input:hover, select:hover, textarea:hover { border-color: #3a3a40; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; background: #0e0e10; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--red); }
textarea { resize: vertical; min-height: 84px; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4a6ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}

.size-row { display: flex; align-items: flex-start; gap: 10px; }
.size-row label { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.size-row input { text-align: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; padding: 8px 10px; }
.size-row small { text-align: center; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.size-sep { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-muted); padding-top: 8px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { min-height: 1.5em; font-size: 15px; font-weight: 500; }
.form-status.ok { color: #6fd38a; }
.form-status.err { color: #ff7b72; }
.form-note { font-size: 13px; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contacts { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contacts li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-name { font-weight: 600; color: var(--text); }
.contacts a { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: .02em; padding: 10px 0; }
.contacts a:hover { color: var(--orange); }
.contacts .wa-link { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--orange); padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; }
.contacts .wa-link:hover { border-color: var(--orange); }
.address { font-style: normal; color: var(--silver); line-height: 1.7; }
.address a { display: inline-block; padding: 8px 0; }
.address strong { display: block; font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.map { min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; gap: 24px; }
.footer-grid img { width: 90px; }
.footer-grid p { font-size: 14px; color: var(--text-muted); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transition: transform 140ms var(--ease), background-color 140ms;
}
.wa-float:hover { background: #2ee27a; color: #fff; transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2n) { border-right: none; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why-grid, .order-grid, .contact-grid, .quotes { grid-template-columns: 1fr; }
  .order-grid .section-head { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 68px; gap: 12px; }
  .brand img { height: 50px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 32px; }
  .hero::before { background: radial-gradient(520px 420px at 50% 18%, rgba(255, 106, 0, .28), rgba(255, 106, 0, .08) 45%, transparent 70%); }
  .hero::after { background: linear-gradient(170deg, transparent 15%, rgba(255, 106, 0, .14) 32%, transparent 55%); }
  .section { padding: 64px 0; }
  .field-row { grid-template-columns: 1fr; }
  .order-form { padding: 20px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .contacts li { grid-template-columns: 1fr auto; }
  .contacts .wa-link { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats li { border-right: none; border-bottom: 1px solid var(--line); }
  .stats li:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero::after { transform: none; opacity: .6; }
}

.contact-name small { font-weight: 500; color: var(--orange); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-left: 4px; }
