:root {
  --cream: #f7f2e9;
  --mint: #a8cdb2;
  --navy: #102a43;
  --ink: #282519;
  --card: rgba(247, 242, 233, 0.88);
  --shadow: 0 18px 46px rgba(16, 42, 67, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  background:
    linear-gradient(rgba(247, 242, 233, 0.05), rgba(247, 242, 233, 0.05)),
    url("assets/background.jpg") center center / cover no-repeat;
}

a {
  color: inherit;
}

.page {
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding:
    clamp(58px, 8vh, 104px)
    clamp(28px, 3.8vw, 64px)
    clamp(34px, 4.5vh, 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(30px, 5.5vh, 72px);
}

.brand__logo {
  display: block;
  width: clamp(230px, 25vw, 430px);
  height: auto;
}

.hero {
  width: min(100%, 1320px);
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 5.35rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.043em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 1040px;
  margin: clamp(20px, 2.1vw, 30px) auto 0;
  font-size: clamp(1rem, 1.45vw, 1.42rem);
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}

.hero__services {
  max-width: 940px;
  margin: clamp(15px, 1.7vw, 24px) auto 0;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(0.84rem, 1.02vw, 1.04rem);
  font-weight: 700;
  line-height: 1.65;
  text-wrap: balance;
}

.hero__services span {
  display: inline-block;
  margin-inline: 0.22em;
}

.contact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 860px);
  margin-top: clamp(38px, 6vh, 76px);
  padding: clamp(22px, 2.2vw, 30px) clamp(26px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.3vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  outline: 0;
  border-radius: 30px;

  /* Beige transparent: the background remains visible through the card. */
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(247, 242, 233, 0.18) 42%,
      rgba(247, 242, 233, 0.10) 70%,
      rgba(168, 205, 178, 0.08) 100%
    );

  /* Liquid-glass depth: fine highlight + floating shadow. */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 24px rgba(255, 255, 255, 0.10),
    0 10px 26px rgba(16, 42, 67, 0.08),
    0 28px 72px rgba(16, 42, 67, 0.12);

  -webkit-backdrop-filter: blur(30px) saturate(165%) brightness(1.06);
  backdrop-filter: blur(30px) saturate(165%) brightness(1.06);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;

  /* Strong glass reflection from the upper-left corner. */
  background:
    radial-gradient(
      90% 125% at 7% -12%,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.28) 30%,
      rgba(255, 255, 255, 0.07) 52%,
      rgba(255, 255, 255, 0) 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.03) 44%,
      rgba(168, 205, 178, 0.05) 100%
    );
  pointer-events: none;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: calc(30px - 1px);

  /* Thin internal glass rim and a subtle lower tint. */
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.02) 44%,
      rgba(247, 242, 233, 0.02) 70%,
      rgba(168, 205, 178, 0.06) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.20);
  pointer-events: none;
}

.contact-card__content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.contact-card__status,
.contact-card__lead {
  margin: 0;
}

.contact-card__status {
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
}

.contact-card__lead {
  margin-top: 5px;
  font-size: clamp(0.92rem, 1.05vw, 1.03rem);
  line-height: 1.5;
}

.contact-card__links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.contact-card__links a {
  color: var(--navy);
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-card__links a:hover,
.contact-card__links a:focus-visible {
  color: #235d4b;
}

.qr {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 10px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.72);
  outline: 0;
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(247, 242, 233, 0.64)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 24px rgba(16, 42, 67, 0.10);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.qr:hover,
.qr:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 42, 67, 0.14);
}

.qr img {
  display: block;
  width: clamp(92px, 8.5vw, 122px);
  height: auto;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .page {
    padding-inline: clamp(28px, 4vw, 46px);
  }

  .brand {
    margin-bottom: clamp(28px, 4.5vh, 52px);
  }

  .brand__logo {
    width: clamp(220px, 28vw, 360px);
  }

  h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  }

  .contact-card {
    margin-top: clamp(34px, 5vh, 58px);
  }
}

@media (max-width: 760px) {
  body {
    background-position: 49% center;
  }

  .page {
    min-height: 100svh;
    align-items: stretch;
    justify-content: flex-start;
    padding: 22px 20px 28px;
  }

  .brand {
    justify-content: flex-start;
    margin-bottom: 42px;
  }

  .brand__logo {
    width: min(66vw, 280px);
  }

  .hero {
    width: 100%;
    text-align: left;
  }

  h1 {
    max-width: 9.25ch;
    font-size: clamp(2.25rem, 11.2vw, 3.75rem);
    line-height: 0.98;
  }

  .hero__subtitle,
  .hero__services {
    margin-left: 0;
    margin-right: 0;
    text-wrap: pretty;
  }

  .hero__subtitle {
    max-width: 31rem;
    margin-top: 22px;
    line-height: 1.43;
  }

  .hero__services {
    max-width: 28rem;
    margin-top: 18px;
    font-size: clamp(0.82rem, 3.9vw, 0.98rem);
  }

  .contact-card {
    width: 100%;
    margin-top: 46px;
    padding: 22px;
    justify-content: space-between;
    gap: 18px;
    border-radius: 25px;
  }

  .contact-card::before {
    inset: 0;
    border-radius: inherit;
    filter: none;
  }

  .contact-card::after {
    border-radius: calc(25px - 1px);
  }

  .contact-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: calc(30px - 1px);

  /* Thin internal glass rim and a subtle lower tint. */
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.02) 44%,
      rgba(247, 242, 233, 0.02) 70%,
      rgba(168, 205, 178, 0.06) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.20);
  pointer-events: none;
}

.contact-card__content {
    min-width: 0;
  }

  .contact-card__links {
    display: grid;
    gap: 8px;
  }

  .contact-card__links a {
    width: fit-content;
  }

  .qr {
    padding: 8px;
    border-radius: 16px;
  }

  .qr img {
    width: 86px;
  }
}

@media (max-width: 430px) {
  .page {
    padding-inline: 16px;
  }

  .brand {
    margin-bottom: 36px;
  }

  .brand__logo {
    width: min(70vw, 260px);
  }

  h1 {
    font-size: clamp(2.15rem, 10.8vw, 3.35rem);
  }

  .hero__subtitle {
    font-size: 0.98rem;
  }

  .contact-card {
    padding: 20px 18px;
    gap: 14px;
  }

  .contact-card__status {
    font-size: 0.96rem;
  }

  .contact-card__lead {
    font-size: 0.92rem;
  }

  .contact-card__links a {
    font-size: 0.94rem;
  }

  .qr img {
    width: 78px;
  }
}

@media (max-width: 350px) {
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .qr {
    align-self: center;
  }
}

@media (max-height: 790px) and (min-width: 761px) {
  .page {
    justify-content: flex-start;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .brand {
    margin-bottom: 24px;
  }

  .brand__logo {
    width: min(23vw, 360px);
  }

  h1 {
    font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  }

  .hero__subtitle {
    margin-top: 15px;
  }

  .hero__services {
    margin-top: 11px;
  }

  .contact-card {
    margin-top: 28px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .qr img {
    width: 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .contact-card {
    background: rgba(247, 242, 233, 0.84);
  }
}
