/*-----------------------------------------------------------------------------------
Theme Name:sti
Theme URI:https://optima-design.pro
Description:Web Studio Optima Design
Author:Serhii D.
Author URI:https://optima-design.pro/
-----------------------------------------------------------------------------------*/


/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0d1b2e;
  --navy-mid: #152641;
  --blue: #1a56db;
  --blue-light: #2563eb;
  --blue-accent: #3b82f6;
  --cyan: #38bdf8;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --text: #1e293b;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; font-optical-sizing: auto; color: var(--text); background: var(--white); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container {width: 100%; padding-left:15px; padding-right: 15px;}
/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  color: var(--gray-100);
  font-size: 14px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.topbar-phone { color: var(--blue-accent); font-weight: 600; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* HEADER */

.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}



/* ===== HERO ===== */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 680px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/themes/sti/images/hero-img.jpg') center/cover no-repeat;
  opacity: 0.9;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,46,0.8) 45%, rgba(13,27,46,0.005) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 20px 40px;
  max-width: 620px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 .highlight { color: var(--blue-accent); }
.hero-sub {
  color: var(--gray-50);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .45px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .45px;
  border: 2px solid rgba(255,255,255,0.45);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.trust-item:nth-child(2n) { border-right: none; }
.trust-item:nth-last-child(-n+2) { border-bottom: none; }
.trust-icon {
  width: 56px;
  height: 56px;
  background: rgba(59,130,246,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 28px; height: 28px; color: var(--gray-50); }
.trust-title { font-size: 17px; font-weight: 500; color: var(--white); }
.trust-desc { font-size: 14px; color: var(--gray-400); line-height: 1.4; }

/* ===== SERVICES ===== */
.services {
  background: var(--white);
  padding: 52px 16px 48px;
}
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 32px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 24px 20px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--blue);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: gap 0.2s;
}
.learn-more:hover { gap: 8px; }
.learn-more svg { width: 14px; height: 14px; }

/* ===== WHY US ===== */
.why-us {
  background: var(--navy);
  padding: 48px 16px;
}
.why-us-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.why-tag { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--blue-accent); text-transform: uppercase; margin-bottom: 10px; }
.why-us h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.why-sub { font-size: 14px; color: var(--gray-400); margin-bottom: 32px; max-width: 380px; line-height: 1.7; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(59,130,246,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 20px; height: 20px; color: var(--blue-accent); }
.stat-number { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray-400); }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-top: 8px;
  box-shadow: var(--shadow);
}
.google-badge .g-logo { font-size: 18px; font-weight: 700; color: #4285F4; font-family: serif; }
.google-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.google-text { font-size: 12px; color: var(--gray-600); font-weight: 600; }
.google-text strong { display: block; font-size: 13px; color: var(--gray-800); }

/* team photo placeholder */
.team-photo {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 28px;
  background: var(--navy-mid);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===== SERVICE AREAS ===== */
.areas {
  background: var(--white);
  padding: 40px 16px;
  border-top: 1px solid var(--gray-200);
}
.areas-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.areas-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.areas-pin {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.areas-pin svg { width: 20px; height: 20px; color: var(--white); }
.areas-tag { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--blue); text-transform: uppercase; margin-bottom: 4px; }
.areas h2 {  font-size: 20px; font-weight: 700; color: var(--navy); }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 12px;
  margin-bottom: 20px;
}
.city-item { font-size: 13px; color: var(--gray-700); padding: 4px 0; }
.btn-view-all {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
    font-size: 15px;
    letter-spacing: .45px;
  transition: background 0.2s, color 0.2s;
}
.btn-view-all:hover { background: var(--blue); color: var(--white); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--blue);
  padding: 24px 20px;
}
.cta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-icon-wrap svg { width: 24px; height: 24px; color: var(--white); }
.cta-text h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 3px;  }
.cta-text p { font-size: 13px; color: rgba(255,255,255,0.75); }
.cta-left { display: flex; align-items: center; gap: 14px; }
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 500;
    font-size: 15px;
    letter-spacing: .45px;
  white-space: nowrap;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-call:hover { background: var(--gray-100); }
.btn-call svg { width: 16px; height: 16px; }


footer {background: var(--navy); color: var(--white);}
.footer__menu {padding: 88px 0;display: grid;grid-template-columns: 1fr;    gap: 30px;}
.footer__credits {padding: 2px 0 68px;display: flex; flex-direction: column; gap: 30px;}
.footer_social {display: flex;
    align-items: center;
    gap: 12px;}

/* ===== MEDIA: TABLET ===== */
@media (min-width: 600px) {
  .topbar { flex-direction: row; justify-content: space-between; padding: 8px 24px; }
  .trust-bar-inner { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: none !important; }
  .trust-item:nth-last-child(-n+1) { border-right: none; }
  .trust-item:nth-child(4) { border-right: none; }
  .trust-item:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.07); }
  .trust-item:nth-child(4) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 52px; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .footer__menu {grid-template-columns: repeat(2, 1fr);}
  .footer__credits {flex-direction: row; justify-content: space-between;
    align-items: center;}
  }

/* ===== MEDIA: DESKTOP ===== */
@media (min-width: 960px) {
  .header-inner { padding: 0 24px; }
  .hero-content { padding: 80px 40px 64px; }
  .hero h1 { font-size: 64px; }
  .services { padding: 72px 40px; }
  .services .section-title { margin-bottom: 40px; }
  .services-grid {grid-template-columns: repeat(3, 1fr);
        gap: 30px;}
  .section-title { font-size: 34px; }
  .why-us { padding: 72px 40px; }
  .why-us-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .why-us h2 { font-size: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 28px; }
  .team-photo { margin-top: 0; height: 100%; min-height: 320px; }
  .areas { padding: 48px 40px; }
  .areas-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .areas-header { margin-bottom: 0; }
  .cities-grid { grid-template-columns: repeat(4, 1fr); flex: 1; }
  .cta-banner { padding: 28px 40px; }
}

@media (min-width:1024px) {
    .trust-item {flex-direction: row;}
    .footer__menu {grid-template-columns: repeat(4, 1fr);}
}

@media (min-width: 1200px) {
  .header-inner, .hero-content, .services, .why-us-inner, .areas-inner, .cta-banner-inner, .container {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
  .container {max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;}
  .services { padding: 112px 0; }
  .why-us { padding: 72px 0; }
  .areas { padding: 88px 0; }
  .cta-banner { padding: 38px 0; }
}


@media (min-width:1400px) {
   .container {max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;}
}