:root {
  --blue: #2196f3;
  --blue-deep: #1e88e5;
  --blue-nav: #1a8fec;
  --blue-edge: #3ca7fd;
  --blue-ribbon: #3290dc;
  --yellow: #f3e721;
  --navy: #1e4763;
  --navy-input: #2d404f;
  --ink: #2a2a2a;
  --muted: #6d7780;
  --line: #e6ebf0;
  --top: #eff2f5;
  --soft: #f7f9fb;
  --footer: #101214;
  --white: #fff;
  --shadow: 0 8px 24px rgba(20, 40, 70, 0.08);
  --max: 1170px;
  --cabin: "Cabin", "Trebuchet MS", sans-serif;
  --lato: "Lato", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--lato);
  font-size: 15px;
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--cabin); line-height: 1.3; font-weight: 700; }
p { margin: 0 0 16px; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--yellow); color: #111;
  padding: 8px 12px; z-index: 100; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Header */
.topbar {
  background: var(--top);
  color: #7b868f;
  font-size: 12px;
  letter-spacing: .2px;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; min-height: 42px; align-items: center; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar svg { flex: 0 0 auto; }

.logo-block { background: #fff; }
.logo-block .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px 0 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--cabin); font-size: 28px; color: #17324a; letter-spacing: -0.4px;
}
.brand-text em {
  font-style: normal; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  color: #8ea0ae; margin-top: 4px; font-weight: 700;
}
.head-tools { display: flex; align-items: stretch; }
.head-tool {
  display: flex; align-items: center; gap: 12px; padding: 0 22px;
  color: #3c4650; min-height: 58px;
}
.head-tool + .head-tool { border-left: 1px solid #e5e5e5; }
.head-tool small { display: block; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: #8b969e; }
.head-tool b { display: block; font-family: var(--cabin); font-size: 16px; color: #24323d; }
.head-tool svg { color: var(--blue); }

.menu-block { background: var(--blue); position: relative; z-index: 30; }
.menu-block .container { display: flex; align-items: stretch; justify-content: space-between; min-height: 60px; }
.nav-toggle {
  display: none; background: transparent; border: 0; width: 46px; height: 46px; margin: 7px 0;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; width: 22px; }
.nav { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav > li > a {
  color: #fff; font-family: var(--cabin); font-weight: 700; font-size: 13px;
  letter-spacing: .4px; text-transform: uppercase; padding: 0 12px;
  display: flex; align-items: center; height: 100%; border-left: 1px solid var(--blue-edge);
  border-right: 1px solid var(--blue-nav); gap: 6px;
}
.nav > li > a:hover, .nav > li > a.active, .nav > li.open > a { color: var(--yellow); background: transparent; }
.submenu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px 0; z-index: 40;
}
.submenu a { display: block; padding: 9px 18px; color: #31414d; font-size: 14px; }
.submenu a:hover { background: #f4f9fd; color: var(--blue); }
.has-sub:hover > .submenu, .has-sub.open > .submenu { display: block; }
.caret { font-size: 9px; opacity: .85; }

.search-item { position: relative; }
.search-pop {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 280px;
  background: #fff; box-shadow: var(--shadow); padding: 12px; z-index: 50;
}
.search-item.open .search-pop { display: block; }
.search-pop input { width: 100%; border: 1px solid var(--line); padding: 10px 12px; }
.search-results { list-style: none; margin: 8px 0 0; padding: 0; }
.search-results a { display: block; padding: 7px 4px; color: #31414d; border-bottom: 1px solid #f2f4f6; }
.search-results a:hover { color: var(--blue); }

.quote-link {
  align-self: flex-start; margin-top: -8px; background: var(--yellow); color: #1c1c1c;
  font-family: var(--cabin); font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  font-size: 13px; padding: 22px 28px 18px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.quote-link:hover { background: #ffe94a; color: #111; }

/* Hero */
.hero { position: relative; background: #1493ea; min-height: 640px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: right center;
  opacity: 0; transition: opacity .6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-inner { position: relative; z-index: 2; padding: 54px 0 70px; min-height: 640px; }
.hero h1 {
  color: #fff; font-size: 46px; line-height: 1.15; max-width: 520px; margin: 0 0 22px;
  text-transform: uppercase; text-shadow: 0 2px 0 rgba(0,0,0,.05);
}
.quick-form {
  width: min(380px, 100%); background: var(--navy); color: #fff;
  box-shadow: inset 0 0 0 3px #4080ad; padding: 0 0 22px;
}
.quick-form h2 {
  margin: 0 0 16px; background: var(--yellow); color: #1d1d1d; text-align: center;
  font-size: 20px; text-transform: uppercase; padding: 16px 12px 12px;
}
.quick-form h2 span { display: block; font-family: var(--lato); font-size: 11px; font-weight: 700; letter-spacing: .6px; color: rgba(0,0,0,.55); margin-top: 4px; }
.quick-form .fields { padding: 0 22px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-form input, .quick-form textarea, .quick-form select {
  width: 100%; background: var(--navy-input); border: 3px solid rgba(255,255,255,.2);
  color: #fff; padding: 10px 12px; margin-bottom: 10px; outline: none;
}
.quick-form textarea { min-height: 90px; resize: vertical; }
.quick-form input::placeholder, .quick-form textarea::placeholder { color: rgba(255,255,255,.75); }
.quick-form button, .btn-light {
  display: block; margin: 8px auto 0; background: #fff; color: #24323d; border: 3px solid #d5dbe0;
  font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 10px 18px; cursor: pointer;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 64px;
  border: 0; background: transparent; color: #fff; font-size: 34px; cursor: pointer;
}
.hero-arrow.prev { left: 8px; }
.hero-arrow.next { right: 8px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero-dots button.active { background: var(--yellow); border-color: var(--yellow); }

/* Sections */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title {
  margin: 0; font-size: 22px; letter-spacing: .4px; text-transform: uppercase; color: #2c3338;
  display: flex; align-items: center; gap: 10px;
}
.bars { display: inline-flex; gap: 3px; height: 18px; }
.bars i { display: block; width: 4px; height: 18px; }
.bars i:first-child { background: var(--yellow); }
.bars i:last-child { background: var(--blue); }
.rule { width: 70px; height: 4px; background: linear-gradient(90deg, var(--yellow), var(--blue)); margin: 10px 0 18px; }
.lead { color: #5c6770; }

.car-nav { display: flex; gap: 8px; }
.car-nav button, .pager button {
  width: 36px; height: 36px; border: 2px solid var(--blue); background: #fff; color: #222;
  box-shadow: 0 4px 0 rgba(33,150,243,.25); cursor: pointer; font-size: 18px; line-height: 1;
}
.car-nav button:hover, .pager button:hover { background: var(--blue); color: #fff; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.carousel { overflow: hidden; position: relative; }
.carousel.services .car-track { padding-top: 74px; }
.car-track { display: flex; gap: 22px; transition: transform .45s ease; }
.car-track > * { flex: 0 0 calc((100% - 44px) / 3); }
.carousel.services .service-card { margin-top: 0; }
.section-head .car-nav { margin-bottom: 6px; }
.service-card {
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.03), 0 10px 24px rgba(20,40,70,.06);
  text-align: center; padding: 86px 26px 28px; position: relative; margin-top: 62px;
}
.service-card img {
  width: 124px; height: 124px; object-fit: cover; border-radius: 50%; border: 5px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.12); position: absolute; top: -62px; left: 50%; transform: translateX(-50%);
}
.service-card h3 { margin: 8px 0 10px; font-size: 16px; letter-spacing: .6px; text-transform: uppercase; }
.service-card p { color: #66727b; font-size: 14px; min-height: 72px; }
.btn-solid, .btn-line, .btn-yellow {
  display: inline-block; font-family: var(--cabin); font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; font-size: 12px; cursor: pointer; border: 0;
}
.btn-solid { background: var(--blue); color: #fff; padding: 9px 16px; }
.btn-solid:hover { background: var(--yellow); color: #1b1b1b; }
.btn-line {
  background: #fff; color: var(--blue); border: 2px solid var(--blue); padding: 9px 18px;
  box-shadow: 0 4px 0 rgba(33,150,243,.25); margin: 0 8px 8px 0;
}
.btn-line:hover { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); color: #1b1b1b; padding: 11px 16px; border: 0; }
.btn-yellow:hover { background: #ffe14a; }

.welcome-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.welcome-photo img { width: 100%; height: auto; object-fit: contain; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.feature h3 { margin: 12px 0 8px; font-size: 15px; letter-spacing: .4px; text-transform: uppercase; }
.feature p { color: #66727b; font-size: 14px; }
.icon-badge {
  width: 54px; height: 54px; background: var(--yellow); color: #1d3550; display: grid; place-items: center;
}

.team-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; }
.team-card { background: #fff; box-shadow: var(--shadow); }
.team-card img { width: 100%; height: 250px; object-fit: cover; object-position: center top; }
.team-card figcaption { padding: 14px 12px 16px; text-align: center; }
.team-card h3 { margin: 0; font-size: 15px; letter-spacing: .5px; text-transform: uppercase; }
.team-card span { color: var(--blue); font-size: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.icon-list a, .icon-list li { color: #3d4a55; display: flex; gap: 8px; align-items: flex-start; }
.dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--blue); color: #fff;
  display: inline-grid; place-items: center; flex: 0 0 auto; margin-top: 3px; font-size: 10px;
}

.quote-card {
  display: grid; grid-template-columns: 1fr 170px; background: #fff; box-shadow: var(--shadow); min-height: 230px;
}
.quote-body { padding: 26px 22px; }
.quote-body p { color: #556068; font-size: 14px; }
.quote-body strong { display: block; letter-spacing: .4px; }
.quote-body span { color: #8b969e; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.quote-photo { position: relative; min-height: 180px; }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.quote-photo::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 1;
  border-style: solid; border-width: 34px 34px 0 0; border-color: var(--blue) transparent transparent transparent;
}

.stats {
  background: #1e88e5;
  background-image:
    radial-gradient(circle at 12% 40%, rgba(255,255,255,.16) 0 28px, transparent 29px),
    radial-gradient(circle at 38% 70%, rgba(255,255,255,.12) 0 46px, transparent 47px),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.14) 0 22px, transparent 23px),
    radial-gradient(circle at 88% 68%, rgba(255,255,255,.12) 0 54px, transparent 55px),
    linear-gradient(90deg, #1e88e5, #2196f3 40%, #42a5f5);
  color: #fff; padding: 48px 0;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats strong { display: block; font-family: var(--cabin); font-size: 40px; font-weight: 700; }
.stats span { letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }

.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note { background: #fff; box-shadow: var(--shadow); }
.note img { width: 100%; height: 190px; object-fit: cover; }
.note div { padding: 18px 18px 22px; }
.note time { color: var(--blue); font-size: 12px; letter-spacing: .6px; font-weight: 700; }
.note h3 { margin: 8px 0; font-size: 16px; text-transform: uppercase; }
.note p { color: #66727b; font-size: 14px; }

.callout { text-align: center; padding: 64px 0 72px; }
.callout h2 { color: var(--blue); text-transform: uppercase; letter-spacing: .6px; font-size: 26px; margin-bottom: 12px; }
.callout p { max-width: 760px; margin: 0 auto 22px; color: #5d6972; }

/* Page banner */
.page-banner {
  position: relative; min-height: 168px; display: flex; align-items: center;
  background: #2196f3;
  background-image:
    radial-gradient(circle at 8% 40%, rgba(255,255,255,.18) 0 16px, transparent 17px),
    radial-gradient(circle at 22% 70%, rgba(255,255,255,.12) 0 34px, transparent 35px),
    radial-gradient(circle at 48% 30%, rgba(255,255,255,.14) 0 12px, transparent 13px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.16) 0 42px, transparent 43px),
    radial-gradient(circle at 90% 28%, rgba(255,255,255,.18) 0 20px, transparent 21px),
    linear-gradient(180deg, #5ec8fb, #2196f3 70%);
}
.page-banner .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: min(var(--max), calc(100% - 48px)); }
.page-title {
  position: relative; display: inline-block; background: var(--blue-ribbon); color: #fff;
  margin: 0; padding: 10px 26px; letter-spacing: 1px; text-transform: uppercase; font-size: 16px;
}
.page-title::before, .page-title::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8px; background: var(--yellow);
}
.page-title::before { left: -8px; }
.page-title::after { right: -8px; }
.crumbs { color: #fff; font-size: 13px; letter-spacing: .4px; }
.crumbs a { color: #fff; }

/* Services grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 26px; padding-top: 20px; }
.area {
  text-align: center; padding: 70px 0; background: #f4f8fb;
  background-image: radial-gradient(circle at 20% 30%, rgba(33,150,243,.05) 0 40px, transparent 41px),
    radial-gradient(circle at 80% 70%, rgba(33,150,243,.06) 0 56px, transparent 57px);
}
.area h2 { color: var(--blue); letter-spacing: 1px; text-transform: capitalize; margin-bottom: 8px; }
.pin {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; border: 2px solid var(--blue);
  display: grid; place-items: center; color: var(--blue);
}

/* Detail */
.detail-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; }
.side-box { background: #fff; box-shadow: var(--shadow); margin-bottom: 22px; }
.side-box h3 {
  margin: 0; background: var(--yellow); color: #1c1c1c; font-size: 15px; letter-spacing: .8px;
  text-transform: uppercase; padding: 14px 16px;
}
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a, .side-links button {
  width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #eef2f5;
  padding: 12px 16px; color: #3d4b57; cursor: pointer; font-size: 13px; letter-spacing: .4px;
}
.side-links a:hover, .side-links button:hover, .side-links .on { color: var(--blue); background: #f8fbfe; }
.info-box { padding: 8px 16px 16px; }
.info-box h3 { background: transparent; color: #222; padding: 14px 0 6px; }
.info-box p { font-size: 14px; color: #556068; margin-bottom: 8px; }
.detail-hero { width: 100%; height: 360px; object-fit: cover; margin-bottom: 18px; }
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.detail-split img { width: 100%; height: 180px; object-fit: cover; }
.detail-split h3 { margin: 10px 0 6px; font-size: 16px; }
.outline-wide {
  display: block; text-align: center; border: 2px solid var(--blue); color: var(--blue);
  padding: 12px; margin-top: 8px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.outline-wide:hover { background: var(--blue); color: #fff; }
.service-panel, .project-panel { display: none; }
.service-panel.show, .project-panel.show { display: block; }

/* Projects */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 10px 0 28px; }
.filters button {
  background: transparent; border: 0; color: #7b868f; letter-spacing: 1px; font-size: 12px;
  font-weight: 700; cursor: pointer; text-transform: uppercase;
}
.filters button.on, .filters button:hover { color: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { position: relative; display: block; overflow: hidden; min-height: 180px; }
.gallery img { width: 100%; height: 200px; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(20,40,70,.78));
  color: #fff; padding: 28px 12px 12px; font-family: var(--cabin); letter-spacing: .4px;
}
.center { text-align: center; }
.gallery a.hidden-card { display: none; }
.gallery.show-all a.hidden-card { display: block; }
.gallery figure { position: relative; overflow: hidden; margin: 0; }
.gallery figure img { width: 100%; height: 200px; object-fit: cover; }

.project-top { display: grid; grid-template-columns: 1.4fr .7fr; gap: 28px; align-items: start; }
.project-top > img { width: 100%; height: 420px; object-fit: cover; }
.meta { background: #fff; box-shadow: var(--shadow); }
.meta h3 { margin: 0; background: var(--yellow); padding: 12px 16px; font-size: 14px; letter-spacing: .8px; text-transform: uppercase; }
.meta dl { margin: 0; padding: 8px 16px 16px; }
.meta dt { font-size: 11px; letter-spacing: .8px; color: #8b969e; text-transform: uppercase; margin-top: 10px; }
.meta dd { margin: 0; font-weight: 700; }
.project-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 28px 0; }
.project-nav a { color: #31414d; }
.project-nav a b { display: block; color: #222; }
.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.also a { color: inherit; }
.also img { width: 100%; height: 160px; object-fit: cover; }
.also h3 { font-size: 15px; margin: 8px 0; text-transform: uppercase; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { background: #fff; box-shadow: var(--shadow); padding: 28px 24px 26px; text-align: center; border-top: 4px solid var(--blue); }
.price-card.featured { border-top-color: var(--yellow); transform: translateY(-8px); }
.price-card h3 { letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; }
.price-card .sum { font-family: var(--cabin); font-size: 40px; color: var(--blue); margin: 8px 0; }
.price-card .sum small { font-size: 14px; color: #7b868f; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.price-card li { padding: 8px 0; border-bottom: 1px solid #f0f3f6; color: #4d5962; }
.faq details { background: #fff; border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-family: var(--cabin); font-weight: 700; }

/* Team page */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { background: #fff; box-shadow: var(--shadow); }
.person img { width: 100%; height: 280px; object-fit: cover; object-position: center top; }
.person div { padding: 16px 16px 20px; }
.person h3 { margin: 0; text-transform: uppercase; letter-spacing: .4px; font-size: 16px; }
.person .role { color: var(--blue); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }

/* Testimonials */
.t-list { display: grid; gap: 22px; }
.review-form, .plain-card, .contact-card {
  background: #fff; box-shadow: var(--shadow); padding: 28px;
}

/* Contact */
.contact-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-bottom: 36px; }
.contact-points h3 { margin: 10px 0 6px; font-size: 14px; letter-spacing: .8px; text-transform: uppercase; }
.contact-points p { color: #66727b; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: #6a767f; margin-bottom: 6px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; border: 1px solid #d5dee6; padding: 12px 12px; background: #fff; color: #24323d; outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
.invalid { border-color: #e53935 !important; }
.field-error { color: #d32f2f; display: block; font-size: 12px; margin-top: 4px; font-weight: 700; }
.form-success {
  background: #e8f6ec; color: #1b5e20; border: 1px solid #b7e1c1; padding: 12px 14px; margin-top: 14px; font-weight: 700;
}
.check { display: flex; gap: 8px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; color: #44515b; font-size: 14px; }
.check input { width: auto; margin-top: 4px; }

/* Legal */
.prose { max-width: 860px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; color: #1d3550; }
.prose h3 { font-size: 18px; margin: 20px 0 8px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Subscribe */
.narrow { max-width: 720px; margin: 0 auto; }

/* Footer */
.footer {
  background: var(--footer);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.04) 0 40px, transparent 41px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.035) 0 70px, transparent 71px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.03) 0 50px, transparent 51px);
  color: #c5c9cc; padding: 28px 0 18px; position: relative;
}
.footer-cta { text-align: center; margin: 10px auto 36px; max-width: 860px; padding-top: 26px; position: relative; }
.footer-cta::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 28px;
  border-top: 2px solid var(--yellow); border-radius: 50% 50% 0 0 / 28px 28px 0 0;
}
.footer-cta p { margin: 0; color: rgba(243,231,33,.8); letter-spacing: 1.2px; text-transform: uppercase; font-size: 13px; }
.footer-cta a { color: #fff; font-family: var(--cabin); font-size: 22px; letter-spacing: .6px; text-transform: uppercase; }
.footer-cta a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .8fr 1.1fr; gap: 28px; }
.footer h3 {
  color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px;
  border-left: 3px solid var(--blue); padding-left: 10px;
}
.footer a { color: #d5d8db; }
.footer a:hover { color: var(--yellow); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer li a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 8px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a {
  width: 34px; height: 34px; border: 1px solid #3a3f44; display: grid; place-items: center; color: #fff; border-radius: 2px;
}
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.calc input, .calc select {
  width: 100%; background: transparent; border: 1px solid #3a4148; color: #fff; padding: 12px; margin-bottom: 10px;
}
.calc select option { color: #222; }
.calc button { background: var(--yellow); color: #1b1b1b; border: 0; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }
.footer-bottom { border-top: 1px solid #24282c; margin-top: 36px; padding-top: 16px; text-align: center; }
.legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
.legal a { color: #fff; font-size: 13px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #9aa1a6; }
.domain { margin-top: 4px !important; letter-spacing: .4px; }

@media (max-width: 1240px) {
  .nav-toggle { display: flex; }
  .menu-block .container { flex-wrap: wrap; }
  .nav { display: none; flex-direction: column; width: 100%; background: #178fe6; order: 3; }
  .menu-block.open .nav { display: flex; }
  .nav > li { display: block; width: 100%; }
  .nav > li > a { border: 0; border-top: 1px solid rgba(255,255,255,.15); height: auto; padding: 12px 16px; justify-content: space-between; font-size: 13px; }
  .submenu { position: static; display: none; box-shadow: none; background: #0f7ccc; min-width: 0; }
  .submenu a { color: #fff; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.open > .submenu { display: block; }
  .quote-link { margin: 8px 0 10px; clip-path: none; }
  .search-pop { position: static; width: auto; }
}
@media (max-width: 1100px) {
  .hero h1 { font-size: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .car-track > * { flex: 0 0 calc((100% - 22px) / 2); }
  .nav-toggle { display: flex; }
  .menu-block .container { flex-wrap: wrap; }
  .nav {
    display: none; flex-direction: column; width: 100%; background: #178fe6; order: 3;
  }
  .menu-block.open .nav { display: flex; }
  .nav > li { display: block; width: 100%; }
  .nav > li > a { border: 0; border-top: 1px solid rgba(255,255,255,.15); height: auto; padding: 12px 16px; justify-content: space-between; }
  .submenu { position: static; display: none; box-shadow: none; background: #0f7ccc; min-width: 0; }
  .submenu a { color: #fff; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.open > .submenu { display: block; }
  .quote-link { margin: 8px 0 10px; clip-path: none; }
  .search-pop { position: static; width: auto; }
  .welcome-grid, .team-layout, .split, .detail-layout, .project-top, .quote-card { grid-template-columns: 1fr; }
  .quote-photo { min-height: 240px; }
  .features, .card-grid, .note-grid, .price-grid, .people, .contact-points, .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .head-tools { display: none; }
  .hero { min-height: 0; background: #1493ea; }
  .hero-inner { min-height: 0; padding-top: 360px; }
  .hero-slide { height: 340px; bottom: auto; }
  .hero h1 { font-size: 28px; max-width: none; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
  .hero-arrow { top: 170px; transform: none; }
  .quick-form { width: 100%; }
}
@media (max-width: 680px) {
  .car-track > * { flex: 0 0 100%; }
  .topbar .container { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .features, .card-grid, .note-grid, .price-grid, .people, .contact-points, .footer-grid,
  .form-grid, .detail-split, .also, .stats .container, .gallery, .icon-list { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .page-banner .container { flex-direction: column; align-items: flex-start; padding: 28px 0; }
  .brand-text strong { font-size: 22px; }
  .hero-inner { padding-top: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .car-track, .hero-slide, .gallery img { transition: none; }
}
