:root {
  --white: rgba(255, 255, 255, 0.96);
  --stroke: rgba(255, 255, 255, 0.9);
  --radius: 22px;
  --gap: 18px;
  --tile-h: clamp(140px, 18vw, 210px);
  --wa: #25d366;
  --fb: #1877f2;
  --accent: #ff6400;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.2)),
    url("https://sixsecondsproperties.com/media/images/news/o_1gtatl1ld1m131qmv4fat0lukl.png") center / cover no-repeat;
  transform: translateZ(0);
}

.home {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(18px, 3vw, 48px);
  padding-top: calc(clamp(18px, 3vw, 48px) + 44px);
}

.langbar {
  position: absolute;
  top: 12px;
  right: clamp(18px, 3vw, 48px);
  z-index: 50;
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.langbtn {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.langbtn .flag {
  font-size: 14px;
}

.langbtn .code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.langbtn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.langbtn.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(0px, 1.2vw, 22px);
}

.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(560px, 100%);
  height: calc(var(--tile-h) * 2 + var(--gap));
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: radial-gradient(900px 480px at 18% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
}

.brand > * {
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.brand-logo img {
  width: auto;
  max-height: 155px;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45))
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.brand-copy {
  text-align: center;
}

.brand h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.03;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.95);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.social a.icon-wa:hover {
  background: rgba(37, 211, 102, 0.28);
  color: var(--wa);
}

.social a.icon-fb:hover {
  background: rgba(24, 119, 242, 0.28);
  color: var(--fb);
}

.social a.icon-phone:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.social i {
  font-size: 20px;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-content: center;
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tile-h);
  overflow: hidden;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tile::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.65),
    rgba(255, 255, 255, 0) 75%
  );
}

.tile::after {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.55;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 45%);
}

.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.tile:hover::before {
  opacity: 0.4;
}

.tile-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.tile-icon {
  font-size: 34px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.tile:hover .tile-icon {
  color: var(--accent);
  transform: translateY(-1px);
}

.tile-title {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  letter-spacing: 0.2px;
}

@media (max-width: 820px) {
  :root {
    --gap: 14px;
  }

  .home {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .left {
    justify-content: center;
    padding-right: 0;
  }

  .brand {
    height: auto;
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    max-width: 520px;
    margin: 0 auto;
    gap: 14px;
  }

  .tile {
    width: 100%;
    min-height: unset;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }

  .tile-content {
    padding: 14px;
    gap: 8px;
  }

  .tile-icon {
    font-size: 30px;
  }

  .tile-title {
    font-size: 15px;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  :root {
    --gap: 12px;
  }

  .home {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: calc(clamp(18px, 3vw, 48px) + 40px);
  }

  .brand {
    height: auto;
    padding: 18px;
    border-radius: 24px;
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 12px;
  }

  .tile {
    min-height: unset;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }

  .tile-icon {
    font-size: 28px;
  }

  .tile-title {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .langbar {
    top: 10px;
    right: clamp(14px, 3vw, 18px);
    gap: 8px;
    padding: 7px 8px;
  }

  .langbtn {
    padding: 6px 9px;
  }

  .langbtn .code {
    font-size: 11px;
  }

  .brand-logo img {
    max-height: 140px;
  }
}