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

:root {
  --navy-950: #020b14;
  --navy-900: #041523;
  --navy-850: #071d2d;
  --navy-800: #09283b;
  --cyan: #00baff;
  --cyan-light: #63d8ff;
  --white: #ffffff;
  --text: #d9e7ef;
  --muted: #9eb4c1;
  --border: rgba(50, 199, 255, 0.22);
  --container: 1500px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--navy-950);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body,
details {
  overflow-wrap: break-word;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 11, 20, 0.93);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 42px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.logo-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  border: 3px solid var(--cyan);
  border-radius: 14px 14px 8px 8px;
  font-size: 13px;
  font-weight: 800;
  transform: rotate(45deg);
}

.logo-mark::first-line {
  transform: rotate(-45deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  color: var(--white);
  font-size: 18px;
  letter-spacing: 0.03em;
}

.logo-text em {
  color: var(--cyan);
  font-style: normal;
}

.logo-text small {
  margin-top: 7px;
  color: var(--muted);
  letter-spacing: 0.45em;
  text-align: center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 52px);
}

.desktop-nav a {
  position: relative;
  padding: 28px 0 24px;
  color: #d2dde3;
  font-size: 15px;
  font-weight: 500;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--cyan-light);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-slogan {
  margin: 0;
  color: var(--white);
  font-family: "Caveat", cursive;
  font-size: 21px;
  line-height: 1.05;
  text-align: right;
  transform: rotate(-3deg);
}

.mobile-menu {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(2, 11, 20, 0.98) 0%,
      rgba(2, 11, 20, 0.88) 34%,
      rgba(3, 20, 32, 0.48) 65%,
      rgba(2, 11, 20, 0.93) 100%
    ),
    radial-gradient(circle at 64% 43%, #17628a 0%, #09283b 28%, #020b14 65%);
}

/*
  Po dodaniu zdjęcia zastosuj przykładowo:

  .hero {
    background-image:
      linear-gradient(90deg, rgba(2,11,20,.98), rgba(2,11,20,.35), rgba(2,11,20,.92)),
      url("images/dom-hero.jpg");
    background-size: cover;
    background-position: center;
  }
*/

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 52%, rgba(0, 186, 255, 0.07) 52.2%, transparent 53%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 99px,
      rgba(0, 186, 255, 0.025) 100px
    );
  content: "";
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.45fr);
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 840px;
  padding: 80px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 800px;
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin: 26px 0 20px;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.hero-benefits li:not(:last-child)::after {
  margin-left: 24px;
  color: var(--cyan);
  content: "•";
}

.hero-description {
  max-width: 690px;
  margin: 0;
  color: #d5e0e6;
  line-height: 1.75;
}

.handwritten {
  margin: 18px 0 24px;
  color: var(--white);
  font-family: "Caveat", cursive;
  font-size: 36px;
  line-height: 1;
  transform: rotate(-3deg);
  transform-origin: left;
}

.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary-button {
  color: #00121d;
  background: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 186, 255, 0.25);
}

.primary-button:hover {
  background: var(--cyan-light);
  box-shadow: 0 14px 35px rgba(0, 186, 255, 0.35);
}

.hero-contact {
  position: relative;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(2, 13, 23, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cyan);
  border: 1px solid rgba(0, 186, 255, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(
      145deg,
      rgba(0, 186, 255, 0.14),
      rgba(0, 186, 255, 0.025)
    );
  box-shadow:
    inset 0 0 16px rgba(0, 186, 255, 0.06),
    0 7px 22px rgba(0, 0, 0, 0.2);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item:hover .contact-icon {
  color: #84e3ff;
  border-color: var(--cyan);
  background: rgba(0, 186, 255, 0.18);
  transform: translateY(-2px);
}

.location-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cyan);
  border-radius: 50%;
  background: rgba(0, 186, 255, 0.1);
}

.location-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item {
  grid-template-columns: 46px minmax(0, 1fr);
}

.contact-item a {
  overflow-wrap: anywhere;
}

.location-box {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  color: var(--white);
}

.location-box span {
  color: var(--cyan);
  font-size: 35px;
}

.contact-note {
  margin: 20px 0 0;
  color: var(--white);
  font-family: "Caveat", cursive;
  font-size: 23px;
  line-height: 1.1;
  text-align: right;
}

/* PASEK USŁUG */

.service-strip {
  border-block: 1px solid var(--border);
  background: #03111d;
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.service-shortcut {
  min-height: 125px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border-right: 1px solid var(--border);
  transition: background 0.2s ease;
}

.service-shortcut:first-child {
  border-left: 1px solid var(--border);
}

.service-shortcut:hover {
  background: rgba(0, 186, 255, 0.08);
}

.service-shortcut span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 32px;
}

.service-shortcut p {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

/* SEKCJE */

.about-section,
.offer-section,
.projects-section,
.contact-section {
  padding: 90px 0;
}

.about-section {
  background: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 4vw, 55px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.about-grid > p,
.section-heading > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.offer-section {
  background:
    radial-gradient(circle at 100% 20%, rgba(0, 186, 255, 0.08), transparent 33%),
    var(--navy-950);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.5fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 36px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(150deg, #0b2b40, #04131f 75%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.offer-card:hover {
  border-color: rgba(0, 186, 255, 0.65);
  transform: translateY(-5px);
}

.card-image,
.house-image,
.project-placeholder {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(0, 186, 255, 0.17), rgba(0, 10, 20, 0.68)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(0, 186, 255, 0.08) 19px,
      rgba(0, 186, 255, 0.08) 20px
    );
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.card-image {
  min-height: 210px;
  border-bottom: 1px solid var(--border);
  padding: 25px;
}

/*
  Przykład zdjęcia w konkretnym kafelku:

  #fotowoltaika .card-image {
    background-image:
      linear-gradient(to top, rgba(2,11,20,.8), transparent),
      url("images/fotowoltaika.jpg");
    background-size: cover;
    background-position: center;
  }

  Po dodaniu zdjęcia możesz ukryć tekst:
  #fotowoltaika .card-image span { display: none; }
*/

.card-content {
  position: relative;
  padding: 28px;
}

.card-content .card-icon {
  position: absolute;
  top: -30px;
  left: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--navy-900);
}

.card-content h3,
.network-card h3 {
  margin: 8px 0 14px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
}

.card-content p,
.network-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-content > a {
  min-width: 120px;
  display: inline-flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 25px;
  padding: 7px 17px;
  color: var(--white);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  font-size: 13px;
}

.card-content > a span {
  color: var(--cyan);
}

.network-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 18px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(115deg, #0b2b40, #04131f);
}

.secondary-button {
  color: var(--cyan-light);
  border: 1px solid var(--cyan);
}

/* DOM */

.house-section {
  padding: 35px 0;
  border-block: 1px solid var(--border);
  background: #071b2a;
}

.house-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) 1fr minmax(260px, 0.7fr);
  gap: 35px;
  align-items: center;
}

.house-image {
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.house-content h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 46px);
}

.house-content > p:not(.section-label) {
  margin: 0 0 25px;
  color: var(--muted);
}

.benefit-list {
  padding: 30px;
  border-left: 1px solid var(--border);
}

.benefit-list h3 {
  margin-top: 0;
  color: var(--white);
  font-size: 22px;
}

.benefit-list ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 27px;
  color: #c6d7e0;
}

.benefit-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--cyan);
  content: "✓";
  font-weight: 800;
}

/* REALIZACJE */

.projects-section {
  background: var(--navy-900);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.project-placeholder {
  position: relative;
  min-height: 170px;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--navy-850);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.project-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
}

.project-placeholder::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(2, 11, 20, 0.92) 0%,
    rgba(2, 11, 20, 0.15) 60%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}

.project-placeholder figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.project-placeholder:hover {
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(0, 186, 255, 0.14);
  transform: translateY(-4px);
}

.project-placeholder:hover img {
  filter: brightness(1.08);
  transform: scale(1.06);
}

@media (max-width: 520px) {
  .project-placeholder,
  .project-placeholder img {
    min-height: 210px;
  }
}

/* KONTAKT */

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 50%, rgba(0, 186, 255, 0.16), transparent 30%),
    #020d17;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.75fr) auto;
  gap: 60px;
  align-items: center;
}

.contact-grid > div:first-child {
  max-width: 630px;
}

.contact-grid > div:first-child p:last-child {
  max-width: 550px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-details > a,
.contact-details > div {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-details > a > span,
.contact-details > div > span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  color: var(--muted);
}

.contact-details strong {
  color: var(--white);
}

.contact-button {
  white-space: nowrap;
}

/* STOPKA */

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: #01080e;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.site-footer .logo {
  transform: scale(0.78);
  transform-origin: left;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

/* TABLETY */

@media (max-width: 1180px) {
  .header-slogan {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav {
    justify-content: flex-end;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.7fr);
    gap: 30px;
  }

  .service-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-shortcut {
    border-bottom: 1px solid var(--border);
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .house-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .benefit-list {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* TELEFONY I MNIEJSZE TABLETY */

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 15px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .logo-text strong {
    font-size: 14px;
  }

  .logo-text small {
    font-size: 9px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    width: 46px;
    height: 46px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--cyan);
  }

  .mobile-menu nav {
    position: absolute;
    top: 57px;
    right: 0;
    width: min(290px, calc(100vw - 28px));
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #03131f;
    box-shadow: var(--shadow);
  }

  .mobile-menu nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 65px 0 15px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 62px);
  }

  .hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-benefits li:not(:last-child)::after {
    display: none;
  }

  .hero-contact {
    margin-bottom: 45px;
  }

  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section,
  .offer-section,
  .projects-section,
  .contact-section {
    padding: 65px 0;
  }

  .about-grid,
  .section-heading,
  .network-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .network-card {
    padding: 28px;
  }

  .network-card .secondary-button {
    justify-self: start;
  }

  .house-grid {
    grid-template-columns: 1fr;
  }

  .house-image {
    min-height: 240px;
  }

  .benefit-list {
    grid-column: auto;
    padding-inline: 0;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-button {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }

  .site-footer .logo {
    transform-origin: center;
  }

  .site-footer p,
  .site-footer p:last-child {
    text-align: center;
  }
}

/* MAŁE TELEFONY */

@media (max-width: 520px) {
  .hero h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .handwritten {
    font-size: 31px;
  }

  .hero-contact {
    padding: 25px 20px;
  }

  .service-strip-grid {
    grid-template-columns: 1fr;
  }

  .service-shortcut {
    min-height: 84px;
    border-left: 1px solid var(--border);
  }

  .card-image {
    min-height: 180px;
  }

  .card-content {
    padding: 25px 21px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-placeholder {
    min-height: 190px;
  }

  .button {
    width: 100%;
  }
}

/* OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 11, 20, 0.98) 0%,
      rgba(2, 11, 20, 0.82) 35%,
      rgba(2, 11, 20, 0.25) 68%,
      rgba(2, 11, 20, 0.88) 100%
    ),
    url("images/hero.webp");
  background-size: cover;
  background-position: center;
}

#fotowoltaika .card-image {
  background-image: url("images/fotowoltaika.webp");
}

#smart-home .card-image {
  background-image: url("images/smart-home.webp");
}

#rekuperacja .card-image {
  background-image: url("images/rekuperacja.webp");
}

#monitoring .card-image {
  background-image: url("images/monitoring.webp");
}

#klimatyzacja .card-image {
  background-image: url("images/klimatyzacja.webp");
}

#ladowarki .card-image {
  background-image: url("images/ladowarka-ev.webp");
}

.house-image {
  background-image: url("images/nowoczesny-dom.webp");
}

.offer-card .card-image,
.house-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.card-image span,
.house-image span {
  display: none;
}

@media (max-width: 820px) {
  .hero {
    background-position: 62% center;
  }
}

.hero-contact .contact-item {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.hero-contact .contact-item .contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  order: 1;
}

.hero-contact .contact-item p {
  min-width: 0;
  flex: 1 1 auto;
  order: 2;
  margin: 10px 0 10px 0;
  text-align: left;
}

@media (max-width: 820px) {
  .hero-contact .contact-item {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    align-items: center;
  }

  .hero-contact .contact-item .contact-icon {
    flex: 0 0 46px;
  }

  .hero-contact .contact-item p {
    flex: 1 1 auto;
  }
}