/* ============================================================
   ООО «Фарис» — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;500;600;700;800;900&family=Golos+Text:wght@400;500;600;700&display=swap');

:root {
  --orange:       #e8620a;
  --orange-dim:   #c45208;
  --orange-pale:  rgba(232,98,10,0.10);
  --orange-mid:   rgba(232,98,10,0.22);
  --ink:          #2a2a2a;
  --ink-2:        #1e1e1e;
  --ink-3:        #141414;
  --stone:        #404040;
  --dust:         #6a6a6a;
  --ash:          #9a9a9a;
  --line:         rgba(255,255,255,0.09);
  --line-d:       rgba(255,255,255,0.05);
  --snow:         #fafaf8;
  --white:        #ffffff;
  --offwhite:     #f4f3f0;
  --border-l:     #e0deda;
  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --font-d: 'Geologica', sans-serif;
  --font-b: 'Golos Text', sans-serif;
  --w: 1140px;
  --px: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--offwhite);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--px); }
.section { padding: 96px 0; }

/* ── TOPBAR — dark, seamlessly merges with header ── */
.topbar {
    background: #ff7a23;
  border-bottom: 1px solid var(--line-d);
  
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar__left, .topbar__right {
  display: flex; align-items: center; gap: 18px;
    font-size: 12px;
    color: rgb(255, 255, 255);
    letter-spacing: 0.2px;
}


.topbar a {   color: white; transition: color .18s; }
.topbar a:hover {   color: #141414; }
.topbar__sep { width: 1px; height: 12px; background: var(--line); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
    background: #00ff64;
  animation: livepulse 2.4s ease-in-out infinite;
}
@keyframes livepulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── HEADER — same dark background as topbar ── */
.header {
    background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__icon {
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo__icon svg { width: 22px; height: 22px; fill: #fff; }
.logo__name {
  font-family: var(--font-d);
  font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: -0.2px; line-height: 1.2;
}
.logo__sub { font-size: 11px; color: var(--ash); font-weight: 400; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  font-family: var(--font-d);
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.5);
  padding: 8px 14px;
  border-radius: var(--r);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav a:hover {    background: rgba(255, 255, 255, 0.07);
    color: #e8620a;


}
.nav__cta {
  background: var(--orange) !important;
  color: #fff !important; font-weight: 600 !important;
  margin-left: 8px;
}
.nav__cta:hover { background: var(--orange-dim) !important; }

.burger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.burger span {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.65);
  border-radius: 2px;
  transition: transform .28s, opacity .28s;
  display: block;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    background-image: url("../img/0.jpg");
    background-size: cover;
    background-position-y: bottom;
  min-height: 82vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 62% 45%, black 0%, transparent 80%);
  
}
.hero__glow {
  position: absolute;
  width: 720px; height: 520px;
  background: radial-gradient(ellipse, rgba(232,98,10,0.13) 0%, transparent 65%);
  top: -100px; right: -80px; pointer-events: none;
}
.hero__content {
  position: relative; z-index: 1;
  padding: 100px var(--px) 110px;
  max-width: var(--w); margin: 0 auto; width: 100%;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--orange);
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 28px;
}
.hero__badge::before { content:''; width:24px; height:2px; background:var(--orange); }
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(42px, 6.5vw, 78px);
  font-weight: 900; line-height: 1.02;
  letter-spacing: -2.5px; color: #fff;
  max-width: 680px; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead {
  font-size: 17px; color: rgba(255,255,255,0.48);
  max-width: 460px; margin-bottom: 44px; line-height: 1.72;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__div {
  width: 100%; max-width: 600px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent);
  margin-bottom: 28px;
}
.hero__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px; padding: 5px 12px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  padding: 13px 24px; border-radius: var(--r);
  cursor: pointer; border: none;
  transition: background .18s, transform .14s, box-shadow .18s;
  white-space: nowrap; letter-spacing: 0.1px;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn--primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 18px rgba(232,98,10,0.38);
}
.btn--primary:hover { background: var(--orange-dim); box-shadow: 0 6px 24px rgba(232,98,10,0.48); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn--ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }

/* ── SECTION HEADERS ── */
.sh { margin-bottom: 52px; }
.sh__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 14px;
      color: white !important;
    background: #ff7a23;
    padding: 8px;
  
}
.sh__title {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; letter-spacing: -0.8px; line-height: 1.1; color: var(--ink);
}
.sh--w .sh__title { color: #fff; }
.sh--w .sh__tag { color: rgba(255,255,255,0.3); }
.sh__sub { font-size: 15px; color: var(--dust); max-width: 500px; margin-top: 14px; line-height: 1.7; }
.sh--w .sh__sub { color: rgba(255,255,255,0.42); }

/* ── SERVICES ── */
.section--white { background: var(--white); }

.svc-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: var(--border-l);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg); overflow: hidden;
}
.svc {
  background: var(--white); padding: 36px 32px;
  position: relative; transition: background .18s;
}
.svc:hover { background: var(--snow); }
.svc::after {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.svc:hover::after { transform: scaleX(1); }
.svc__n {
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--orange); margin-bottom: 22px;
}
.svc__title {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #fff;
  margin-bottom: 10px;
  background: #2a2a2a;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
}



.svc__text { font-size: 14px; color: var(--dust); line-height: 1.65; }
.svc__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pill {
  font-size: 11px; font-weight: 600; color: var(--orange);
  border: 1px solid rgba(232,98,10,0.3);
  border-radius: 100px; padding: 3px 10px;
}
.svc-foot {
  margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.svc-foot__note { font-size: 13px; color: var(--ash); }

/* ── GALLERY ── */
.section--tinted { background: var(--offwhite); }

.gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 220px;
  gap: 10px;
}
.gal-item {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; cursor: pointer;
}
.gal-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gal-item:nth-child(2) { grid-column: span 5; }
.gal-item:nth-child(3) { grid-column: span 5; }
.gal-item:nth-child(4) { grid-column: span 4; }
.gal-item:nth-child(5) { grid-column: span 4; }
.gal-item:nth-child(6) { grid-column: span 4; }

.gal-bg { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.gal-item:hover .gal-bg { transform: scale(1.04); }
.gal-over {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.88) 0%, transparent 52%);
  padding: 22px 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity .25s;
}
.gal-item:hover .gal-over { opacity: 1; }
.gal-label { font-family: var(--font-d); font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; }
.gal-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }

.gt-truck  { background: linear-gradient(145deg, #181818 0%, #2c2418 40%, #4a300a 75%, #6a3c08 100%); }
.gt-sand   { background: linear-gradient(145deg, #a07838 0%, #c09050 35%, #d8b068 65%, #b88848 100%); }
.gt-gravel { background: linear-gradient(145deg, #383838 0%, #505050 40%, #686868 70%, #484848 100%); }
.gt-soil   { background: linear-gradient(145deg, #3a2010 0%, #582e18 40%, #6e3c24 65%, #542a14 100%); }
.gt-road   { background: linear-gradient(145deg, #282e20 0%, #384028 40%, #4c5436 70%, #384028 100%); }
.gt-site   { background: linear-gradient(145deg, #24242e 0%, #343448 40%, #484860 70%, #343448 100%); }

.gal-placeholder {
  width:100%; height:100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.18);
  font-size: 11px; font-family: var(--font-d); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
}
.gal-placeholder svg { width: 32px; height: 32px; fill: rgba(255,255,255,0.12); }
.gal-note { font-size: 12px; color: var(--ash); margin-top: 12px; font-style: italic; }

/* ── ADVANTAGES — dark section ── */
.section--dark { background: var(--ink); }

.adv-wrap {
  display: flex; flex-direction: column; gap: 2px;
}
.adv-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 20px;
}
.adv {
  background: var(--ink); padding: 34px 30px;
  transition: background .18s;
}
.adv:hover { background: #303030; }
.adv__n {
  font-size: 11px; font-weight: 800; color: var(--orange);
  letter-spacing: 2.5px; margin-bottom: 20px;
}
.adv__title {
  font-family: var(--font-d); font-size: 17px; font-weight: 700;
  color: #fff; margin-bottom: 10px; letter-spacing: -0.1px; line-height: 1.3;
}
.adv__text { font-size: 14px; color: rgba(255,255,255,0.42); line-height: 1.65; }

.coverage {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg); overflow: hidden;
}
.cov-l, .cov-r { background: var(--ink); padding: 34px 30px; }
.cov-l h3, .cov-r h3 {
  font-family: var(--font-d); font-size: 17px; font-weight: 700;
  color: #fff; margin-bottom: 22px;
}
.cov-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px; color: rgba(255,255,255,0.5);
}
.cov-row:last-child { border-bottom: none; }
.cov-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cov-dot--on  { background: var(--orange); }
.cov-dot--off { background: rgba(255,255,255,0.18); }
.cov-r p { font-size: 14px; color: rgba(255,255,255,0.48); line-height: 1.8; margin-bottom: 22px; }
.htable { width: 100%; border-collapse: collapse; }
.htable td {
  font-size: 13px; padding: 7px 0;
  color: rgba(255,255,255,0.42);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.htable td:last-child { text-align: right; color: rgba(255,255,255,0.72); font-weight: 600; }
.htable tr:last-child td { border-bottom: none; }

/* ── CALL BAND ── */
.call-band {
  background: var(--orange); padding: 64px 0;
  position: relative; overflow: hidden;
}
.call-band::before {
  content:''; position:absolute; inset:0;
  background: repeating-linear-gradient(
    -55deg, transparent 0px, transparent 22px,
    rgba(0,0,0,0.05) 22px, rgba(0,0,0,0.05) 23px
  );
}
.call-inner {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.call-txt h2 {
  font-family: var(--font-d);
  font-size: clamp(22px, 3.5vw, 38px); font-weight: 800;
  color: #fff; letter-spacing: -0.5px; line-height: 1.15;
}
.call-txt p { font-size: 15px; color: rgba(255,255,255,0.62); margin-top: 10px; }
.call-phones { display: flex; flex-direction: column; gap: 10px; }
.call-phone {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 22px; font-weight: 800; color: #fff;
  background: rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r); padding: 12px 22px;
  transition: background .18s, transform .14s; letter-spacing: -0.3px;
}
.call-phone:hover { background: rgba(0,0,0,0.28); transform: translateX(3px); }
.call-phone svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); flex-shrink: 0; }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border-l);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg); overflow: hidden;
}
.contact-info { background: var(--white); padding: 48px 40px; }
.contact-phones { background: #141414; padding: 48px 40px; }



.ci { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.ci:last-child { margin-bottom: 0; }
.ci__ico {
  width: 38px; height: 38px; 
  border-radius: var(--r); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 16px;
}
.ci__k {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--ash); margin-bottom: 5px;
}
.ci__v { font-size: 14px; color: var(--ink); line-height: 1.6; }
.ci__v a { color: var(--ink); font-weight: 700; transition: color .18s; }
.ci__v a:hover { color: var(--orange); }

.contact-phones h3 {
  font-family: var(--font-d); font-size: 22px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.contact-phones p { font-size: 14px; color: rgba(255,255,255,0.38); margin-bottom: 28px; line-height: 1.6; }
.cp-btn {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 18px; font-weight: 700; color: #fff;
  border-radius: var(--r); padding: 14px 20px; margin-bottom: 10px;
  transition: background .18s, transform .14s; letter-spacing: -0.2px;
}
.cp-btn svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.6); flex-shrink: 0; }
.cp-btn--a { background: var(--orange); box-shadow: 0 4px 16px rgba(232,98,10,0.35); }
.cp-btn--a:hover { background: var(--orange-dim); transform: translateY(-1px); }
.cp-btn--b { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.09); }
.cp-btn--b:hover { background: rgba(255,255,255,0.11); }
.cp-note {
  font-size: 12px; color: rgba(255,255,255,0.22); line-height: 1.65;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── FOOTER ── */
.footer { background: var(--ink-3); padding: 60px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.28); margin-top: 16px; max-width: 280px; line-height: 1.72; }
.footer-col h4 {
  font-family: var(--font-d); font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  letter-spacing: 2.5px; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; color: rgba(255,255,255,0.32); transition: color .18s; }
.footer-col li a:hover { color: var(--orange); }
.footer-ph { display: block; font-family: var(--font-d); font-size: 17px; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 6px; transition: color .18s; }
.footer-ph:hover { color: var(--orange); }
.footer-addr { font-size: 13px; color: rgba(255,255,255,0.25); margin-top: 12px; line-height: 1.7; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.18);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.18); transition: color .18s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ── REVEAL ── */
.r { opacity:0; transform:translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.r.in { opacity:1; transform:none; }
.r-1{transition-delay:.08s} .r-2{transition-delay:.16s} .r-3{transition-delay:.24s}
.r-4{transition-delay:.32s} .r-5{transition-delay:.40s} .r-6{transition-delay:.48s}

/* ── RESPONSIVE ── */
@media (max-width: 1060px) {
  .svc-grid  { grid-template-columns: repeat(2,1fr); }
  .adv-grid  { grid-template-columns: repeat(2,1fr); }
  .gal-grid  { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .gal-item:nth-child(1) { grid-column: span 2; grid-row: auto; height: 280px; }
  .gal-item:nth-child(n) { grid-column: span 1; height: 200px; }
  .coverage  { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .topbar__right { display: none; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: rgba(14,14,14,0.97); backdrop-filter: blur(12px);
    align-items: center; justify-content: center;
    gap: 6px; z-index: 199;
  }
  .nav.open a { font-size: 20px; padding: 14px 32px; color: rgba(255,255,255,0.65); }
  .nav.open a:hover { color: #fff; }
  .burger { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .call-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .gal-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gal-item { grid-column: span 1 !important; height: 200px !important; grid-row: auto !important; }
}

@media screen and (orientation: portrait)
{
    .topbar__inner
    {
        height: fit-content;
    }
}