/* MegaAdSpot — site styles */
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/ubuntu-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/ubuntu-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ubuntu-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ubuntu-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ubuntu-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ubuntu-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ubuntu-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ubuntu-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --red: #ad1d00;
  --red-dark: #921800;
  --coral: #ff7458;
  --ink: #383838;
  --link: #cd4545;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Ubuntu", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.23; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-decoration: none; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid #2015ff; outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--ink); font-weight: 500; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 990;
  height: var(--header-h); padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--red); box-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.logo { color: #fff; font-size: 30px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.nav ul { display: flex; gap: 50px; }
.nav a { color: #fff; font-size: 20px; font-weight: 500; white-space: nowrap; transition: opacity .3s ease-in-out; }
.nav a[aria-current="page"] { opacity: .7; font-weight: 700; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 8px; border: 0; background: none; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; display: block; }

/* Buttons and shared section pieces */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 8px 60px;
  background: #404040; color: #fff; font-size: 16px; font-weight: 700; text-align: center;
}
.section-head { text-align: center; margin-bottom: 90px; }
.section-head h1, .section-head h2 { font-size: 42px; }
.section-head p { max-width: 550px; margin: 40px auto 0; font-size: 24px; line-height: 1.5; }

/* Picture + text rows (home "about", services) */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 560px)); column-gap: 40px; justify-content: space-between; align-items: center; }
.feature + .feature { margin-top: 20px; }
.feature-img img { width: 100%; }
.feature.flip .feature-img { order: 2; }
.feature-text h2, .feature-text h3 { font-size: 26px; margin-bottom: 24px; }
.feature-text p + p { margin-top: 1.55em; }

/* Home: hero */
.hero { position: relative; overflow: hidden; padding-top: 120px; background: #fff; }
.hero-stage { --off: calc(max(420px, 50vh) - 420px); position: relative; max-width: 1200px; height: max(840px, 100vh); margin: 0 auto; }
.hero-city { position: absolute; z-index: 1; left: 667px; top: calc(var(--off) - 90px); width: 970px; max-width: none; }
.hero-brand { position: absolute; z-index: 3; left: -46px; top: calc(var(--off) + 56px); display: flex; align-items: flex-start; gap: 25px; }
.hero-logo { width: 134px; flex: none; }
.hero h1 { font-size: 84px; line-height: 1; }
.tagline { margin: 16px 0 0 7px; color: #c7c7c7; font-size: 32px; line-height: 1; letter-spacing: 2.1px; white-space: nowrap; }
.hero-figures { position: absolute; z-index: 2; left: -2px; top: calc(var(--off) + 247px); width: 660px; aspect-ratio: 660 / 580; }
.hero-figures img { position: absolute; max-width: none; }
.f-clouds { left: 5.3%; top: 0; width: 85.6%; }
.f-1 { left: 0; top: 14.3%; width: 24.5%; animation: fade-up 1s 1s both; }
.f-2 { left: 37.6%; top: 0; width: 26.5%; animation: fade-up 1s .5s both; }
.f-3 { left: 70.5%; top: 14.3%; width: 29.1%; animation: fade-up 1s 1.5s both; }
.f-bubble { left: 31.1%; top: 0; width: 8.6%; animation: zoom-in 1s 2.5s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(150px); } to { opacity: 1; transform: none; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* Home: sections */
.about { padding: 150px 0 210px; }
.about .feature-text { max-width: 500px; }

.help { padding: 45px 0 210px; }
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 40px; justify-content: space-between; }
.help-card { position: relative; height: 320px; overflow: hidden; }
.help-card > img { width: 100%; height: 100%; object-fit: cover; }
.help-text {
  position: absolute; inset: 0; padding: 20px 40px;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; background: linear-gradient(to bottom, rgba(15, 15, 15, .8), rgba(0, 0, 0, .6));
  opacity: 0; transition: opacity .45s ease-in-out;
}
.help-text h3, .help-text p { transform: translateY(40px); transition: transform .45s ease-in-out; }
.help-text h3 { font-size: 24px; line-height: 1.35; margin-bottom: 1.35em; }
.help-card:hover .help-text, .help-card:focus-visible .help-text { opacity: 1; }
.help-card:hover .help-text h3, .help-card:hover .help-text p,
.help-card:focus-visible .help-text h3, .help-card:focus-visible .help-text p { transform: none; }
.cta { margin-top: 60px; text-align: center; }

.how { padding: 0 0 120px; }
.how .section-head { margin-bottom: 105px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 40px; justify-content: space-between; text-align: center; }
.step-num { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin: 0 auto; border-radius: 50%; background: var(--coral); color: #fff; font-size: 26px; font-weight: 700; }
.steps h3 { margin-top: 20px; font-size: 24px; line-height: 1.35; }
.steps p { margin-top: 18px; }

.easy { padding: 90px 0; overflow: hidden; } /* hidden: the sideways scroll-in effect must not widen the page */
.easy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 560px)); column-gap: 40px; justify-content: space-between; align-items: start; }
.easy h2 { font-size: 52px; margin-bottom: 36px; }
.easy .lead { font-size: 30px; line-height: 1.45; opacity: .5; }
.easy-img img { margin: 0 auto; }

.contact { padding: 90px 0 180px; text-align: center; }
.contact h2 { font-size: 42px; margin-bottom: 70px; }
.contact-logo { width: 160px; height: 160px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover; }
.contact-name { font-size: 22px; line-height: 1.35; font-weight: 700; }
.contact-descr { margin-top: 4px; font-size: 14px; opacity: .7; }
.contact-details { margin-top: 45px; }
.social { display: flex; justify-content: center; gap: 2px; margin-top: 45px; }
.social a { display: block; width: 30px; height: 30px; color: #000; }
.social svg { display: block; }

/* Services */
.services { padding: 150px 0 135px; }
.services .feature + .feature { margin-top: 50px; }
.services .feature-text h2 { color: var(--red); }
.services .feature-text p { color: var(--red-dark); }

/* Industries */
.industries { padding: 150px 0 180px; }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 40px; justify-content: space-between; }
.industry-grid img { width: 100%; height: 320px; object-fit: cover; }
.industry-grid p { margin-top: 35px; }

/* Legal pages */
.legal { padding: 158px 20px 90px; }
.legal-wrap { max-width: 963px; margin: 0 auto; color: #424242; font-family: Arial, sans-serif; font-size: 20px; font-weight: 400; text-align: justify; }
.legal h1 { color: var(--ink); font-family: "Ubuntu", Arial, sans-serif; font-size: 30px; line-height: 1.55; text-align: center; }
.legal .updated { margin: 44px 0 36px; color: var(--ink); font-family: "Ubuntu", Arial, sans-serif; font-weight: 300; text-align: right; }
.legal h2 { font-size: 20px; line-height: 1.55; text-align: left; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal .gap { margin-top: 1.55em; }
.legal .gap2 { margin-top: 3.1em; }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; padding: 160px 20px 100px; text-align: center; }
.notfound .code { color: var(--coral); font-size: 120px; font-weight: 700; line-height: 1; }
.notfound h1 { margin: 16px 0 12px; font-size: 42px; }
.notfound .btn { margin-top: 40px; }

/* Footer */
.site-footer { padding: 24px 20px 23px; background: #383838; color: #fff; font-size: 16px; font-weight: 400; }
.footer-grid { display: grid; grid-template-columns: 446px 690px 242px; width: 1378px; margin-left: calc(50vw - 686px); }
.site-footer h2 { color: var(--coral); font-size: 16px; line-height: 1.55; text-transform: uppercase; }
.footer-brand { padding-top: 38px; }
.footer-logo { display: flex; align-items: center; gap: 21px; color: #fff; font-size: 45px; font-weight: 700; line-height: 70px; }
.footer-logo img { width: 76px; flex: none; }
.footer-social { display: flex; gap: 18px; margin: 26px 0 0 9px; }
.footer-social img { width: 35px; }
.footer-legal { margin: 28px 0 0 2px; font-size: 17px; }
.footer-legal a { color: #949494; }
.footer-services h2 { margin-left: 261px; }
.footer-lists { display: flex; gap: 66px; margin-top: 20px; color: #ebebeb; font-weight: 300; }
.footer-lists ul { padding-left: 20px; list-style: disc; }
.footer-lists ul:first-child { width: 314px; flex: none; }
.footer-lists ul:last-child { max-width: 289px; }
.footer-contacts h2 { margin-left: 58px; }
.footer-contacts ul { margin-top: 20px; }
.footer-contacts li { display: flex; align-items: center; gap: 20px; min-height: 30px; }
.footer-contacts li + li { margin-top: 22px; }
.footer-contacts img { width: 30px; flex: none; }
.copyright { margin-top: 25px; color: #949494; font-size: 15px; text-align: center; }

/* Scroll-in effects (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(60px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.from-left { transform: translateX(-60px); }
.js .reveal.from-right { transform: translateX(60px); }
.js .reveal.in { opacity: 1; transform: none; }

/* Laptop */
@media (max-width: 1419px) {
  .footer-grid { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 40px; justify-content: space-between; width: auto; margin-left: 0; }
  .footer-services h2, .footer-contacts h2 { margin-left: 0; }
  .footer-lists { gap: 30px; }
  .footer-lists ul:first-child { width: auto; flex: 1; }
  .footer-lists ul:last-child { max-width: none; flex: 1; }
  .footer-logo { font-size: 36px; }
  .footer-logo img { width: 64px; }
}
@media (max-width: 1339px) {
  .hero-brand, .hero-figures { left: 20px; }
}

/* Tablet: the hero becomes a fluid layout */
@media (max-width: 1199px) {
  .section-head h1, .section-head h2, .contact h2, .notfound h1 { font-size: 38px; }
  .section-head p { font-size: 22px; }
  .easy h2 { font-size: 48px; }
  .easy .lead { font-size: 26px; }
  .feature-text h2, .feature-text h3 { font-size: 24px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stage { height: auto; padding: 0 20px 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 20px; align-items: start; }
  .hero-brand { position: relative; left: 0; top: 0; grid-column: 1 / -1; grid-row: 1; gap: clamp(12px, 2vw, 25px); }
  .hero-logo { width: clamp(64px, 11vw, 134px); }
  .hero h1 { font-size: clamp(38px, 8.2vw, 84px); }
  .tagline { margin: .45em 0 0 .2em; font-size: clamp(15px, 3.1vw, 32px); letter-spacing: .07em; white-space: normal; }
  .hero-figures { position: relative; left: 0; top: 0; grid-column: 1; grid-row: 2; width: 100%; max-width: 660px; margin-top: 44px; }
  .hero-city { position: relative; left: 0; top: 0; grid-column: 2; grid-row: 2; width: 170%; margin-top: -30px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; row-gap: 32px; }
  .footer-services { grid-column: 1 / -1; grid-row: 2; }
  .footer-brand { padding-top: 0; }
}

/* Small tablet and phone: one column, menu behind a button */
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .site-header { padding: 0 12px 0 20px; }
  .logo { font-size: 24px; }
  .js .nav-toggle { display: block; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 0 16px; background: var(--red); box-shadow: 0 3px 3px rgba(0, 0, 0, .35); }
  .js .nav.open { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; text-align: center; }
  .js .nav a { display: block; padding: 10px 20px; }
  html:not(.js) .site-header { position: relative; height: auto; flex-wrap: wrap; gap: 8px 24px; padding: 14px 20px; }
  html:not(.js) .nav ul { flex-wrap: wrap; gap: 6px 22px; }
  html:not(.js) .nav a { font-size: 17px; }

  .section-head { margin-bottom: 45px; }
  .section-head p { margin-top: 20px; }
  .how .section-head { margin-bottom: 45px; }
  .about { padding: 70px 0 120px; }
  .help { padding: 40px 0 120px; }
  .how { padding-bottom: 70px; }
  .easy { padding: 60px 0; }
  .contact { padding: 60px 0 110px; }
  .contact h2 { margin-bottom: 45px; }
  .services { padding: 110px 0 90px; }
  .industries { padding: 110px 0 100px; }
  .legal { padding-top: 110px; }

  .feature, .easy-grid { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .feature.flip .feature-img { order: 0; }
  .feature + .feature, .services .feature + .feature { margin-top: 75px; }
  .feature-img img { max-width: 560px; margin: 0 auto; }
  .feature-text h2, .feature-text h3 { margin-bottom: 15px; }
  .about .feature-text { max-width: none; }
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .help-card { height: 350px; }
  .help-text { opacity: 1; padding: 20px; }
  .help-text h3, .help-text p { transform: none; }
  .steps, .industry-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .steps li, .industry-grid li { max-width: 560px; margin: 0 auto; }
  .industry-grid img { height: auto; }
  .industry-grid p { margin-top: 20px; }
  .easy h2 { margin-bottom: 24px; }
}

@media (hover: none) {
  .help-text { opacity: 1; }
  .help-text h3, .help-text p { transform: none; }
}

@media (max-width: 767px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .hero-city { display: none; }
  .hero-figures { grid-column: 1; margin: 36px auto 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-services { grid-row: auto; }
  .footer-lists { flex-direction: column; gap: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section-head h1, .section-head h2, .contact h2, .easy h2, .notfound h1 { font-size: 30px; }
  .section-head p { font-size: 20px; line-height: 1.4; }
  .easy .lead { font-size: 22px; }
  .feature-text h2, .feature-text h3 { font-size: 22px; }
  .steps h3, .help-text h3 { font-size: 20px; }
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 8px 30px; }
  .contact-name { font-size: 18px; }
  .legal-wrap { font-size: 16px; text-align: left; }
  .legal h1 { font-size: 26px; }
  .legal h2 { font-size: 16px; }
  .legal .updated { margin: 28px 0 28px; }
  .notfound .code { font-size: 88px; }
  .footer-logo { font-size: 30px; line-height: 56px; }
  .footer-logo img { width: 54px; }
}

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