/* =======================================
   STAL-GATE — Main Stylesheet
   Mobile-first: 0–991.98px (default)
   Desktop: @media (min-width: 992px)
   ======================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #0073DE;
  --blue-dark: #1565C0;
  --blue-light: #17b2f8;
  --silver: #A2ABB2;
  --light-silver: #8E98A1;
  --dark-silver: #4F5963;
  --white: #FFFFFF;
  --white-light: #F6F8FC;
  --black: #000000;
  --text: #333333;
  --text-light: #889CAD;
  --light-bg: #F6F8FC;
  --font-heading: 'transducer', sans-serif;
  --font-body: 'Google Sans Flex', sans-serif;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

address {
  font-style: normal;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.28px;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
    white-space: nowrap;
    height: 44px;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover {
  background-color: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-dark:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.6);
}

.label-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.text-link {
  color: var(--text-light);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header .container {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.header__logo {
  margin-right: auto;
}

.header__logo img {
  width: 80px;
  height: auto;
}

.header__phone {
  order: 2;
  margin-right: 20px;
}

.header__phone a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: -0.45px;
  transition: color var(--transition);
}

.header__phone a:hover {
  color: var(--white);
}

.header__phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 28px;
  z-index: 1001;
  order: 3;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1000;
}

.header__nav.is-open {
  opacity: 1;
  visibility: visible;
}

/* Menu */
.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-arrow {
  display: none;
}

.menu-item > a {
  display: block;
  padding: 12px 20px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color var(--transition);
}

.menu-item > a:hover {
  color: var(--blue);
}

.menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-item {
    width: 100%;
}

.menu-item-has-children > a {
  flex: 1;
}

.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.submenu-toggle svg {
  width: 10px;
  height: 6px;
  transition: transform var(--transition);
}

.submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Sub-menu mobile */
.sub-menu {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.sub-menu.is-open {
  max-height: 300px;
}

.sub-menu .menu-item > a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 24px;
}

.sub-menu .menu-item > a:hover {
  color: var(--blue);
}

body.menu-open {
  overflow: hidden;
}

/* ===== HERO ===== */

@keyframes hero-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  background-color: #0a1628;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slider .swiper-wrapper,
.hero__slider .swiper-slide {
  height: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  will-change: transform;
  /* Animation runs on all slides but paused — freezes in place on transition, no snap */
  animation: hero-kenburns 8s ease-out forwards;
  animation-play-state: paused;
}

.swiper-slide-active .hero__bg img {
  animation-play-state: running;
}

/* Top overlay — two layers matching Figma */
.hero__overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0) 74.9%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0) 74.9%);
}

/* Bottom overlay — two layers matching Figma */
.hero__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 79%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 64.4%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 11.5%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0.8;
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-bottom: 80px;
  width: 100%;
}

.hero__content {
  max-width: 520px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(162, 171, 178, 0.8);
  margin-bottom: 14px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 50px;
  letter-spacing: -0.48px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  font-weight: 400;
}

.hero__list {
  margin-bottom: 28px;
}

.hero__list li {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 20px;
  padding-left: 0;
  margin-bottom: 4px;
}

.hero__list strong {
  font-weight: 600;
}

.hero__buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero__text-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.28px;
  color: var(--silver);
  border-bottom: 1px solid var(--silver);
  padding-bottom: 4px;
  transition: color var(--transition), border-color var(--transition);
  line-height: 1;
}

.hero__text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Swiper pagination */
.hero__pagination {
  position: absolute;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
  width: auto !important;
}

.hero__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: background-color var(--transition);
}

.hero__pagination .swiper-pagination-bullet-active {
  background-color: var(--blue);
}

/* ===== OFFER ===== */
.offer {
  padding: 60px 0;
  background-color: var(--light-bg);
  overflow: hidden;
}

.offer__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.offer__header-left h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.offer__header-left h2 em {
  font-style: normal;
  font-weight: 600;
}

.offer__header-right p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 20px;
  opacity: 0.8;
}

.offer__header-right strong {
  font-weight: 600;
  color: var(--text-light);
}

/* Carousel */
.offer__carousel-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.offer__arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 1px solid var(--blue);
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color var(--transition), border-color var(--transition);
    cursor: pointer;
}

.offer__arrow:hover {
  background-color: var(--blue);
}

.offer__arrow:hover img {
  filter: brightness(0) invert(1);
}

.offer__arrow img {
  width: 10px;
  height: 20px;
  transition: filter var(--transition);
}

.offer__arrow--prev {
  left: -60px;
}

.offer__arrow--next {
  right: -60px;
}

.offer__arrow--next img {
  transform: rotate(180deg);
}

.swiper-button-disabled {
    background: #a2abb252;
    border: 1px solid #00000000;
}

.swiper-button-disabled:hover {
    background: #a2abb252 !important;
}

.swiper-button-disabled img {
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

/* Mobile: native horizontal scroll (no Swiper) */
.offer__slider {
  width: 100%;
  overflow: visible;
}

.offer__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Padding pushes the overflow-clip boundary outward on all sides,
     giving box-shadows room to breathe. Negative margin compensates
     so the track takes the same visual space. */
  padding: 20px 20px 20px 20px;
  margin: -20px -20px -20px 0;
  width: calc(100% + 20px);
}

.offer__track::-webkit-scrollbar {
  display: none;
}

.offer__card {
  flex: 0 0 calc(75% - 15px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.offer__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    transform: translateY(-6px);
}

.offer__card-image {
  display: block;
  height: 220px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.offer__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer__card:hover .offer__card-image img {
  transform: scale(1.04);
}

.offer__card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  background: var(--white);
  flex: 1;
}

.offer__card-info {
  width: 100%;
}

.offer__card-cat {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 4px;
}

.offer__card-info h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.18px;
}

.offer__card-info h3 a {
  color: inherit;
  transition: color var(--transition);
}

.offer__card-info h3 a:hover {
  color: var(--blue);
}

.offer__card-body .btn {
  margin-left: auto;
}

/* ===== STATS / DLACZEGO ===== */
.stats {
  position: relative;
  padding: 60px 0;
  background-color: var(--silver);
  overflow: hidden;
}

/* Gate symbol background — mobile: only ~20% left part visible */
.stats__symbol {
  position: absolute;
  bottom: 0;
  left: 55%;
  width: 953px;
  pointer-events: none;
  z-index: 1;
}

.stats__symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Bottom gradient fade to match silver bg */
.stats__gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 0;
  height: 173px;
  background: linear-gradient(180deg, rgba(162, 171, 178, 0) 0%, var(--silver) 100%);
  z-index: 2;
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.stats__top-right {
    width: 80%;
}

.stats__top-left h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.stats__top-left h2 em {
  font-style: normal;
  font-weight: 600;
}

.stats__top-right p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  line-height: 20px;
  opacity: 0.8;
}

.stats__top-right strong {
  font-weight: 600;
}

.stats__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats__item {
  padding: 0;
}

.stats__number {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 56px;
    letter-spacing: -2.24px;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.stats__value {
  color: var(--white);
}

.stats__number span:last-child {
  color: var(--blue);
}

.stats__item p {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  line-height: 16.8px;
  text-transform: lowercase;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.portfolio__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.portfolio__header-left h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  line-height: 40px;
  letter-spacing: -0.3px;
}

.portfolio__header-left h2 strong {
  font-weight: 600;
}

.portfolio__header-left h2 em {
  font-style: normal;
  font-weight: 600;
}

.portfolio__header-right {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  font-style: normal;
  line-height: 20px;
  opacity: 0.8;
}

.portfolio__header-right strong {
  font-weight: 600;
  color: var(--text-light);
}

.portfolio__grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.portfolio__grid::-webkit-scrollbar {
  display: none;
}

.portfolio__card {
  flex: 0 0 calc(80% - 8px);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: block;
  height: 240px;
  border-radius: 6px;
}

.portfolio__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    scale: 1.1;
}

.portfolio__card:hover img {
  transform: scale(1.04);
}

.portfolio__card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10.6%, rgba(0, 0, 0, 0) 64.8%);
}

.portfolio__card-caption h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 24px;
  letter-spacing: -0.16px;
}

.portfolio__card-caption span {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  line-height: 24px;
  letter-spacing: -0.16px;
}

.portfolio__footer {
  text-align: center;
  margin-top: 24px;
}

.portfolio__footer .btn {
  height: 44px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
}

/* ===== ABOUT / O FIRMIE ===== */
.about {
  padding: 60px 0;
  background-color: var(--white);
}

.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  font-style: normal;
  line-height: 40px;
  letter-spacing: -0.3px;
}

.about p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 20px;
  opacity: 0.8;
}

.about .text-link {
  color: var(--text-light);
  font-weight: 600;
}

.about .btn {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.about__badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  text-align: center;
}

.about__badge img {
  width: 87px;
  height: auto;
}

.about__badge span {
  display: block;
  font-family: 'Be Vietnam', sans-serif;
  font-size: 9px;
  color: #939598;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  padding: 250px 0 70px;
  overflow: hidden;
  background-color: #0a1628;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-banner__bg picture,
.cta-banner__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 22.2%, rgba(0, 0, 0, 0) 35.2%),
              linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.8) 100%),
              linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

.cta-banner .container {
  position: relative;
  z-index: 3;
}

.cta-banner ul {
    margin-bottom: 16px;
}

.cta-banner ul li {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 4px;
}

.cta-banner__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  color: var(--white);
  line-height: 46px;
  letter-spacing: -0.4px;
}

.cta-banner h2 em {
  font-style: normal;
  font-weight: 600;
}

.cta-banner__list {
  margin-bottom: 16px;
}

.cta-banner__list li {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 4px;
}

.cta-banner__list strong {
  font-weight: 600;
}

.cta-banner__buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-banner__text-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.28px;
  color: var(--silver);
  border-bottom: 1px solid var(--silver);
  padding-bottom: 4px;
  transition: color var(--transition), border-color var(--transition);
  line-height: 1;
}

.cta-banner__text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ===== CONTACT ===== */
.contact {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.contact__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__info h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  font-style: normal;
  line-height: 40px;
  letter-spacing: -0.3px;
}

.contact__info > p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 20px;
  opacity: 0.8;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--light-silver);
  transition: color var(--transition);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.54px;
  text-transform: uppercase;
}

.contact__detail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact__detail:last-child {
  text-transform: lowercase;
}

.contact__detail:hover {
  color: var(--blue);
}

/* Form card */
.contact__form-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.contact__form-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 24px;
  line-height: 30px;
  letter-spacing: -0.24px;
}

.contact__form-card h3 strong {
  font-weight: 600;
}

.contact__form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--silver);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--silver);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  height: 40px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  height: auto;
}

.contact__form .btn {
  width: auto;
  align-self: flex-end;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-silver);
  color: var(--white);
  padding: 0;
}

/* Footer top — mobile: logo left, contacts right */
.footer__top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0 25px;
}

.footer__top-logo {
  display: block;
}

.footer__logo-desktop {
  display: none;
}

.footer__logo-mobile {
  display: block;
  width: 80px;
  height: auto;
}

.footer__contact-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.48px;
  text-transform: uppercase;
  transition: color var(--transition);
}

.footer__contact-item:last-child {
  text-transform: lowercase;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__contact-item:hover {
  color: var(--blue-light);
}

.footer__divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
}

.footer__brand {
  grid-column: 1 / -1;
}

.footer__brand address {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.8;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.footer__col a {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 15px;
  line-height: 30px;
  opacity: 0.8;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--blue-light);
}

.footer__link--highlight {
  color: var(--blue-light) !important;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
  line-height: 24px;
}

.footer__bottom strong {
  font-weight: 600;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--white);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  cursor: pointer;
  border: none;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--blue-dark);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}


/* =========================================
   DESKTOP — @media (min-width: 992px)
   ========================================= */
@media (min-width: 992px) {

  .container {
    padding: 0 40px;
  }

  /* Header */
  .header .container {
    min-height: 90px;
  }

  .header__logo img {
    width: 104px;
  }

  .hamburger {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
    margin: 0 auto;
  }

  .header__phone {
    order: 3;
    margin-right: 0;
  }

  .btn {
    padding: 12px 28px;
  }

  /* Menu Desktop */
  .menu {
      flex-direction: row;
      gap: 0;
  }

  .menu-item > a {
    font-size: 15px;
    padding: 8px 16px;
    line-height: 30px;
  }

  .submenu-toggle {
    display: none;
  }

  .nav-arrow {
    display: inline-block;
    flex-shrink: 0;
    transition: transform var(--transition);
    vertical-align: middle;
  }

  .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .menu-item-has-children:hover > a .nav-arrow,
  .menu-item-has-children:focus-within > a .nav-arrow {
    transform: rotate(180deg);
  }

  .menu-item-has-children {
    position: relative;
  }

  .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    max-height: none;
    overflow: visible;
    background-color: rgba(0, 0, 0, 0.9);
    border-top: 2px solid var(--blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    padding: 8px 0;
  }

  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: none;
  }

  .sub-menu .menu-item > a {
    padding: 10px 20px;
    font-size: 13px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
  }

  .sub-menu .menu-item > a:hover {
    color: var(--blue);
  }

  /* Hero */
  .hero {
    align-items: center;
  }

  .hero .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 60px;
    line-height: 62px;
    letter-spacing: -0.6px;
  }

  .hero__list li {
    font-size: 18px;
    line-height: 24px;
  }

  .hero__list strong {
    font-weight: 600;
  }

  .hero__buttons {
    gap: 20px;
  }

  /* Offer */
  .offer {
    padding: 90px 0 80px;
  }

  .offer__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 40px;
  }

  .offer__header-left {
    flex-shrink: 0;
  }

  .offer__header-left h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .offer__header-right {
    max-width: 444px;
    padding-top: 32px;
  }

  /* Carousel desktop — Swiper takes over */
  .offer__carousel-wrap {
    /* Arrows sit inside the wrap to stay within the container
       on screens < 1400px. At 1400px+ they move outside (see below). */
    padding: 0 60px;
    position: relative;
  }

  .offer__slider {
    /* padding pushes the overflow-clip boundary outward on all 4 sides;
       negative margin + wider width compensate so layout stays the same */
    overflow: hidden;
    padding: 20px;
    margin: -20px;
    width: calc(100% + 40px);
  }

  .offer__track {
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  /* Fade out slides outside the visible area */
    .offer__slider .swiper-slide {
        opacity: 0;
        transition: opacity 0.35s ease, box-shadow var(--transition), transform var(--transition);
    }

  .offer__slider .swiper-slide-visible {
    opacity: 1;
  }

  .offer__card {
    flex: none;
    scroll-snap-align: unset;
  }

  .offer__arrow {
    display: flex;
  }

  .offer__arrow--prev {
    left: 0;
  }

  .offer__arrow--next {
    right: 0;
  }

  /* Stats */
  .stats {
    padding: 90px 0;
  }

  .stats__symbol {
      right: -5%;
      max-width: 953px;
      height: auto;
      align-items: flex-end;
      top: 50px;
  }

  .stats__symbol img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .stats__top {
      flex-direction: row;
      gap: 110px;
      margin-bottom: 56px;
      max-width: 55%;
      align-items: flex-end;
  }

  .stats__top-left {
    flex-shrink: 0;
  }

  .stats__top-left h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .stats__top-right {
    max-width: 427px;
    padding-top: 36px;
  }

  .stats__grid {
    flex-direction: row;
    gap: 40px;
    max-width: 40%;
  }

  .stats__item {
    flex: 0 0 auto;
  }

  /* Portfolio */
  .portfolio {
    padding: 90px 0;
  }

  .portfolio__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .portfolio__header-left h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .portfolio__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow: visible;
    padding-bottom: 0;
  }

  .portfolio__card {
    flex: none;
    height: 240px;
  }

  .portfolio__footer {
    text-align: center;
    margin-top: 40px;
  }

  .portfolio__footer .btn {
    height: 50px;
    padding: 14px 28px;
    font-size: 15px;
    letter-spacing: -0.3px;
  }

  /* About */
  .about {
    padding: 90px 0;
  }

  .about__wrapper {
      flex-direction: row;
      gap: 80px;
      align-items: center;
  }

  .about__content {
    flex: 1;
  }

  .about__image {
    flex: 0 0 630px;
  }

  .about h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .about p {
    font-size: 16px;
    line-height: 20px;
  }

  .about p:first-of-type {
    font-size: 18px;
    line-height: 24px;
  }
  
  /* CTA */
  .cta-banner {
    padding: 100px 0;
  }

  /* Extend bg beyond section edges — gives the parallax image room
     to travel without revealing the fallback background color.
     Value must be ≥ sectionHeight × STRENGTH / 2 (see main.js). */
  .cta-banner__bg {
    inset: -60px 0;
  }

  .cta-banner__bg img {
    object-position: 0% 25%;
  }

  .cta-banner__content {
    flex-direction: column;
    gap: 24px;
  }

  .cta-banner h2 {
    font-size: 52px;
    line-height: 60px;
    letter-spacing: -0.52px;
  }

  .cta-banner__list li {
    font-size: 18px;
    line-height: 24px;
  }

  /* Contact */
  .contact {
    padding: 90px 0;
  }

  .contact__wrapper {
      flex-direction: row;
      gap: 40px;
      align-items: center;
  }

  .contact__info {
    flex: 1;
    min-width: 0;
  }

  .contact__info h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.4px;
  }

  .contact__form-card {
    flex: 1.5;
    min-width: 0;
    padding: 40px;
  }

  .contact__form-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .contact__form-row .form-group {
    flex: 1 1 150px;
    min-width: 0;
  }

  /* Footer */
  .footer__top {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 40px 0;
  }

  .footer__logo-mobile {
    display: none;
  }

  .footer__logo-desktop {
      display: block;
      width: 220px;
      height: auto;
  }

  .footer__contact-bar {
    flex-direction: row;
    gap: 32px;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__brand address {
    font-size: 15px;
  }

  .footer__col a {
    font-size: 14px;
    line-height: 26px;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Large screens — match Figma 1600px viewport */
@media (min-width: 1360px) {
  .container {
    padding: 0;
  }
}

/* Wide screens — offer arrows have room to sit outside the carousel */
@media (min-width: 1400px) {
  .offer__carousel-wrap {
    padding: 0;
  }

  .offer__arrow--prev {
    left: -60px;
  }

  .offer__arrow--next {
    right: -60px;
  }
}
