/* SantehHUB — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --black: #ffffff;
  --black-soft: #f2f3f7;
  --black-card: #f6f7fb;
  --white: #14141c;
  --grey: #64646f;
  --orange: #f7941d;
  --orange-dark: #d97e0f;
  --blue: #2323c6;
  --blue-light: #4b4bee;
  --border: rgba(20, 20, 30, 0.08);
  --radius: 16px;
  --container: 1180px;
  --shadow: 0 20px 50px rgba(20, 20, 30, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; color: var(--grey); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--light {
  background: var(--black-soft);
}
.section--light p { color: #55555f; }
.section--light .section-tag { color: var(--blue); }

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 { font-size: clamp(28px, 4vw, 42px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #17130a;
  box-shadow: 0 10px 30px rgba(247, 148, 29, 0.35);
}
.btn--orange:hover { box-shadow: 0 14px 36px rgba(247, 148, 29, 0.5); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border: 2px solid rgba(20, 20, 30, 0.15);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--orange); color: var(--orange-dark); }

.btn--blue {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  box-shadow: 0 10px 30px rgba(35, 35, 198, 0.4);
}
.btn--blue:hover { transform: translateY(-2px); }

.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo img { height: 40px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--orange); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
}
.header__phone span { display: block; font-size: 11px; font-weight: 500; color: var(--grey); }

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--black-card);
  border-radius: 100px;
  padding: 3px;
  border: 1px solid var(--border);
}
.lang-switch a {
  padding: 6px 12px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
}
.lang-switch a.active {
  background: var(--orange);
  color: #17130a;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background:
    radial-gradient(ellipse 900px 500px at 85% 15%, rgba(35, 35, 198, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(247, 148, 29, 0.08), transparent 60%),
    var(--black);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,30,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,30,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 800px 500px at 70% 30%, black, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--black-card);
  border: 1px solid var(--border);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ed675;
  box-shadow: 0 0 0 4px rgba(62, 214, 117, 0.2);
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .accent2 { color: var(--blue-light); }
.hero__lead {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stats div strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
}
.hero__stats div span {
  font-size: 13px;
  color: var(--grey);
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.hero__ring--1 { inset: 0; }
.hero__ring--2 { inset: 12%; border-color: rgba(247,148,29,0.25); }
.hero__glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: linear-gradient(160deg, #eef0fc, #fdf2e4);
  border: 1px solid var(--border);
}
.hero__icon {
  position: relative;
  z-index: 2;
  width: 52%;
}
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__float--1 { top: 6%; left: -4%; }
.hero__float--2 { bottom: 10%; right: -6%; animation-delay: 1.5s; }
.hero__float span { color: var(--grey); font-weight: 500; display: block; font-size: 11px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Services */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.service-card {
  flex: 1 1 340px;
  max-width: 380px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 148, 29, 0.4);
}
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  margin-bottom: 22px;
}
.service-card__icon svg { width: 28px; height: 28px; stroke: #fff; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #eef0fc, #fdf2e4);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-visual svg { width: 46%; }
.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.about-metrics .metric strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.about-metrics .metric span {
  font-size: 13.5px;
  color: var(--grey);
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.partner-logo {
  flex: 1 1 180px;
  max-width: 220px;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--black);
  padding: 36px 30px;
}
.why-item__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: block;
}
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { font-size: 14px; margin-bottom: 0; }

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-item {
  position: relative;
  padding-top: 20px;
}
.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 42px;
  background: linear-gradient(135deg, var(--orange), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.process-item h3 { font-size: 17px; margin-bottom: 8px; }
.process-item p { font-size: 14px; margin-bottom: 0; }
.process-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px; right: -12px;
  width: 20px; height: 2px;
  background: var(--border);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(4) { grid-column: span 2; }
.g-item {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--black-card), var(--black));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

/* Reviews */
.reviews-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 22px;
  flex-shrink: 0;
}
.section--light .rating-badge {
  background: #ffffff;
  border-color: rgba(20,20,30,0.08);
  box-shadow: 0 10px 30px rgba(20,20,30,0.06);
}
.rating-badge__2gis {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;
  background: #1baa47;
  padding: 6px 10px;
  border-radius: 8px;
}
.rating-badge__score {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
}
.rating-badge__stars { color: var(--orange); font-size: 13px; letter-spacing: 1px; }
.rating-badge__count { font-size: 12.5px; color: var(--grey); display: block; }

.reviews-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.reviews-scroll::-webkit-scrollbar { height: 6px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 10px; }

.review-card {
  background: #ffffff;
  color: #14141c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.review-card__stars { color: var(--orange); font-size: 14px; letter-spacing: 2px; }
.review-card__verified {
  font-size: 11px;
  font-weight: 700;
  color: #1baa47;
  background: rgba(27, 170, 71, 0.1);
  padding: 4px 9px;
  border-radius: 100px;
}
.review-card p { color: #4a4a54; font-size: 14.5px; flex-grow: 1; }
.review-card__author {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
}
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.review-card__author strong { font-family: 'Montserrat', sans-serif; font-size: 13.5px; display: block; }
.review-card__author span { font-size: 12px; color: #8a8a94; }
.reviews-more {
  text-align: center;
  margin-top: 8px;
}

/* Map */
.map-section {
  padding-bottom: 96px;
}
.map-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}
.map-info {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.map-info__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.map-info__row svg { width: 20px; height: 20px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }
.map-info__row strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 14.5px; margin-bottom: 3px; }
.map-info__row span { font-size: 13.5px; color: var(--grey); }
.map-info .btn { margin-top: auto; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  background: var(--black-card);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.contact-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(247, 148, 29, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 20px; height: 20px; stroke: var(--orange); }
.contact-card strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 16px; }
.contact-card span { font-size: 13px; color: var(--grey); }
.contact-card .btn { margin-left: auto; }

.contact-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-meta div strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 14px; margin-bottom: 4px; }
.contact-meta div span { font-size: 13.5px; color: var(--grey); }

.form-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--black);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-note {
  font-size: 12px;
  color: var(--grey);
  margin-top: 14px;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__about img { height: 34px; margin-bottom: 16px; }
.footer__about p { font-size: 14px; max-width: 320px; }
.footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14px; color: var(--grey); }
.footer a:hover { color: var(--white); }
.footer__social { display: flex; gap: 10px; margin-top: 8px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--black-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.footer__social svg { width: 16px; height: 16px; stroke: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--grey);
  flex-wrap: wrap;
  gap: 12px;
}

/* Sticky mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-bar .btn { flex: 1; }

/* Floating WhatsApp button (desktop) */
.fab {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 199;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d874, #1fa955);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(31, 169, 85, 0.45);
  transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; fill: #fff; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--black-soft);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
  }
  .nav.nav--open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 340px; margin: 0 auto 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .map-grid { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 320px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .header__phone, .lang-switch { display: none; }
  .why-grid, .process-list { grid-template-columns: 1fr; }
  .review-card { flex-basis: 260px; }
  .reviews-head-row { align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .fab { right: 16px; bottom: 90px; width: 52px; height: 52px; }
  .fab svg { width: 24px; height: 24px; }
  .hero__float { display: none; }
  .hero__stats { gap: 24px; }
}
