:root {
  --cream: #f5f1e8;
  --cream-light: #fbfaf7;
  --beige: #e8dfd0;
  --beige-dark: #d5c7b5;
  --gray-light: #ecebe8;
  --gray: #777875;
  --gray-dark: #4f514f;
  --turquoise: #24a9c0;
  --turquoise-dark: #16879d;
  --turquoise-soft: #c9edf1;
  --navy: #172d36;
  --navy-dark: #0d1b21;
  --white: #ffffff;
  --serif: "Playfair Display", serif;
  --sans: "DM Sans", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.container {
  width: min(1220px, 90%);
  margin: auto;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.35s ease;
}
.header.scrolled {
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.navbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  width: 155px;
  position: relative;
  z-index: 1002;
}
.brand img {
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: var(--navy);
  transition: 0.3s;
}
.nav a:hover {
  color: var(--turquoise);
}
.header-button {
  padding: 14px 20px;
  border: 1px solid var(--turquoise);
  color: var(--turquoise-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: 0.3s;
}
.header-button:hover {
  background: var(--turquoise);
  color: white;
}
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}
.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  margin: 6px;
}
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      var(--turquoise-soft),
      transparent 35%
    ),
    linear-gradient(135deg, var(--cream-light), var(--beige));
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.shape-one {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -200px;
  background: rgba(36, 169, 192, 0.08);
}
.shape-two {
  width: 700px;
  height: 700px;
  bottom: -400px;
  right: -250px;
  background: rgba(23, 45, 54, 0.04);
}
.shape-three {
  width: 2px;
  height: 180px;
  top: 100px;
  right: 8%;
  background: var(--turquoise);
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 120px;
}
.hero-logo-wrapper {
  width: min(720px, 90vw);
  margin: 0 auto 45px;
  position: relative;
  padding: 40px;
}
.logo-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 15%;
  top: 15%;
  background: rgba(36, 169, 192, 0.16);
  filter: blur(70px);
  border-radius: 50%;
}
.hero-logo {
  position: relative;
  z-index: 2;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(23, 45, 54, 0.12));
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.hero-line {
  width: 70px;
  height: 2px;
  background: var(--turquoise);
  margin: 0 auto 25px;
}
.hero h1 {
  margin-top: 25px;
  font-family: var(--serif);
  font-size: clamp(55px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero h1 em {
  display: block;
  color: var(--turquoise-dark);
  font-weight: 400;
}
.hero-description {
  max-width: 620px;
  margin: 32px auto 0;
  color: var(--gray-dark);
  line-height: 1.9;
  font-size: 16px;
}
.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.btn {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: 0.3s ease;
}
.btn-primary {
  background: var(--turquoise);
  color: white;
  box-shadow: 0 12px 30px rgba(36, 169, 192, 0.22);
}
.btn-primary:hover {
  transform: translateY(-4px);
  background: var(--turquoise-dark);
}
.btn-light {
  border: 1px solid rgba(23, 45, 54, 0.25);
}
.btn-light:hover {
  background: var(--navy);
  color: white;
}
.hero-bottom {
  position: absolute;
  width: 100%;
  bottom: 28px;
  left: 0;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--gray);
}
.hero-bottom .container {
  display: flex;
  justify-content: space-between;
}
.section-number {
  color: var(--turquoise);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.section-label {
  margin-top: 18px;
  color: var(--gray);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.intro {
  padding: 160px 0;
  background: var(--cream-light);
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}
.intro-right h2 {
  font-family: var(--serif);
  font-size: clamp(55px, 7vw, 100px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.intro-right h2 em {
  display: block;
  color: var(--turquoise-dark);
}
.intro-right p {
  max-width: 650px;
  margin-top: 30px;
  color: var(--gray-dark);
  line-height: 1.9;
  font-size: 16px;
}
.offer {
  padding: 150px 0;
  background: var(--beige);
}
.offer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.offer-intro {
  max-width: 420px;
  color: var(--gray-dark);
  line-height: 1.8;
}
.offer-card {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: auto;
  text-align: center;
  background: var(--navy);
  color: white;
  padding: clamp(60px, 8vw, 110px);
  box-shadow: 0 35px 90px rgba(23, 45, 54, 0.2);
}
.offer-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(36, 169, 192, 0.3);
  border-radius: 50%;
}
.offer-left-decoration {
  left: -180px;
  top: -150px;
}
.offer-right-decoration {
  right: -180px;
  bottom: -150px;
}
.offer-tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 9px 16px;
  background: var(--turquoise);
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.offer-card h2 {
  position: relative;
  z-index: 2;
  margin-top: 35px;
  font-family: var(--serif);
  font-size: clamp(90px, 14vw, 180px);
  font-weight: 400;
  line-height: 0.7;
}
.offer-card h2 span {
  color: var(--turquoise);
}
.offer-card h3 {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.12em;
}
.guarantee {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  color: var(--turquoise);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.offer-line {
  width: 80px;
  height: 1px;
  background: var(--turquoise);
  margin: 35px auto;
}
.offer-text {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}
.offer-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 15px;
  align-items: center;
  margin-top: 42px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--turquoise);
  color: var(--turquoise);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
} /* ================= CASES ================= */
.cases {
  padding: 160px 0;
  background: var(--cream-light);
}
.cases-heading {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  margin-bottom: 140px;
}
.cases-heading h2 {
  font-family: var(--serif);
  font-size: clamp(60px, 8vw, 115px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.cases-heading em {
  display: block;
  color: var(--turquoise-dark);
}
.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
  margin-bottom: 160px;
}
.case-row.reverse .case-text {
  order: 2;
}
.case-row.reverse .case-image {
  order: 1;
}
.case-number {
  color: var(--turquoise-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.case-text h3 {
  margin-top: 25px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.95;
}
.case-text p {
  max-width: 520px;
  margin-top: 25px;
  color: var(--gray-dark);
  line-height: 1.9;
}
.case-image {
  min-height: 580px;
  overflow: hidden;
  background: var(--gray-light);
}
.case-image img {
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  transition: 0.8s ease;
}
.case-row:hover .case-image img {
  transform: scale(1.05);
}
.visual-section {
  width: 100%;
  min-height: 700px;
  background: var(--gray-light);
  overflow: hidden;
}
.visual-section img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  transition: 1s ease;
}
.visual-section:hover img {
  transform: scale(1.02);
}
.services {
  padding: 160px 0;
  background: var(--cream);
}
.services-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 80px;
}
.services-heading h2 {
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.85;
}
.services-heading em {
  display: block;
  color: var(--turquoise-dark);
}
.services-intro {
  max-width: 750px;
  margin-bottom: 90px;
  color: var(--gray-dark);
  line-height: 1.9;
  font-size: 18px;
}
.service-list {
  border-top: 1px solid rgba(23, 45, 54, 0.15);
}
.service-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 50px;
  padding: 48px 20px;
  border-bottom: 1px solid rgba(23, 45, 54, 0.15);
  transition: 0.35s ease;
}
.service-item:hover {
  padding-left: 40px;
  background: rgba(255, 255, 255, 0.45);
}
.service-item > span {
  color: var(--turquoise-dark);
  font-size: 11px;
  font-weight: 700;
}
.service-item h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
}
.service-item p {
  max-width: 700px;
  margin-top: 16px;
  color: var(--gray-dark);
  line-height: 1.8;
}
.contact {
  position: relative;
  overflow: hidden;
  padding: 170px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  color: white;
}
.contact-decoration {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.contact-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: auto;
}
.contact .section-label {
  color: rgba(255, 255, 255, 0.8);
}
.contact h2 {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 400;
  line-height: 0.88;
}
.contact h2 em {
  display: block;
  color: var(--navy);
}
.contact-content > p {
  margin-top: 35px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}
.contact-buttons {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-dark {
  background: var(--navy);
  color: white;
}
.btn-dark:hover {
  transform: translateY(-4px);
  background: var(--navy-dark);
}
.btn-contact {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
}
.btn-contact:hover {
  background: white;
  color: var(--navy);
}
.footer {
  padding: 90px 0 30px;
  background: var(--navy-dark);
  color: white;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
}
.footer-brand img {
  width: 230px;
  max-height: 100px;
  object-fit: contain;
  object-position: left;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}
.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 90px;
}
.footer-links a,
.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
}
.footer-links a:hover,
.footer-social a:hover {
  color: var(--turquoise);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--cream-light);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: 0.4s ease;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav a {
    font-size: 20px;
  }
  .header-button {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .intro-grid,
  .cases-heading,
  .case-row {
    grid-template-columns: 1fr;
  }
  .case-row.reverse .case-text,
  .case-row.reverse .case-image {
    order: initial;
  }
  .intro-grid {
    gap: 50px;
  }
  .cases-heading {
    gap: 35px;
  }
  .offer-top,
  .services-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-heading h2 {
    text-align: left;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
@media (max-width: 600px) {
  .navbar {
    height: 75px;
  }
  .brand {
    width: 125px;
  }
  .hero-content {
    padding: 130px 0 100px;
  }
  .hero-logo-wrapper {
    padding: 15px;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }
  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .hero-bottom {
    display: none;
  }
  .intro,
  .offer,
  .cases,
  .services {
    padding: 100px 0;
  }
  .case-row {
    gap: 45px;
    margin-bottom: 100px;
  }
  .case-image,
  .case-image img {
    min-height: 420px;
  }
  .visual-section,
  .visual-section img {
    min-height: 500px;
  }
  .service-item {
    grid-template-columns: 45px 1fr;
    gap: 18px;
    padding: 35px 5px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }
}

/* Visual refinements */
:root {
  --sans: "Manrope", sans-serif;
}

@media (max-width: 900px) {
  .header-button {
    display: block;
    padding: 10px 8px;
    font-size: 8px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}

.hero {
  background:
    linear-gradient(90deg, rgba(13, 27, 33, 0.92), rgba(13, 27, 33, 0.5)),
    url("images/hero-teeth.webp") center / cover no-repeat;
  color: var(--white);
}

.hero h1,
.intro-right h2,
.cases-heading h2,
.case-text h3,
.service-item h3,
.contact h2,
.why-us-heading h2 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero h1 em,
.intro-right h2 em,
.cases-heading em,
.contact h2 em,
.why-us-heading h2 em {
  font-weight: 800;
}

.hero-small,
.hero-description,
.hero-bottom {
  color: rgba(255, 255, 255, 0.86);
}
.hero-line {
  background: var(--turquoise);
}
.hero-logo {
  max-height: 370px;
}
.case-image,
.case-image img {
  min-height: 640px;
}

.why-us {
  padding: 110px 0 100px;
  background: var(--navy);
  color: var(--white);
}

.why-us-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 58px;
}

.why-us-heading .section-label {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--turquoise);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
}
.why-us-heading h2 {
  max-width: 820px;
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: 1.02;
}
.why-us-heading h2 em {
  display: block;
  color: var(--turquoise);
  font-style: normal;
}
.why-word {
  display: inline-flex;
  position: relative;
  color: var(--turquoise);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.08em;
  transform: rotate(-5deg) translateY(0.04em);
}

.why-word::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.12em;
  bottom: -0.04em;
  height: 0.08em;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-3deg) scaleX(0.82);
  transform-origin: left center;
  animation: why-swish 2.8s ease-in-out infinite;
}

.why-word > span {
  display: inline-block;
  animation: why-bounce 2.8s ease-in-out infinite;
}

.why-word > span:nth-child(2) {
  animation-delay: 0.12s;
}
.why-word > span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes why-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  12% {
    transform: translateY(-0.12em) rotate(-4deg);
  }
  24% {
    transform: translateY(0) rotate(2deg);
  }
}

@keyframes why-swish {
  0%,
  100% {
    transform: rotate(-3deg) scaleX(0.82);
    opacity: 0.65;
  }
  18%,
  35% {
    transform: rotate(-3deg) scaleX(1);
    opacity: 1;
  }
}

.why-us-heading h2 small {
  display: block;
  margin-top: -0.14em;
  margin-left: 100px;
  text-align: right;
  font-size: 0.55em;
  line-height: 0.95;
  transform: translateX(-0.35em);
  margin-right: 245px;
}

@media (prefers-reduced-motion: reduce) {
  .why-word::after,
  .why-word > span {
    animation: none;
  }
}

.intro-right h2,
.cases-heading h2,
.contact h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(27px, 5.2vw, 74px);
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.cases-heading h2 {
  font-size: clamp(43px, 5.4vw, 86px);
}
.contact h2 {
  font-size: clamp(43px, 6.5vw, 96px);
}

.intro-right h2 em,
.cases-heading h2 em,
.contact h2 em {
   font-size: clamp(40px, 5.2vw, 74px);
  display: block;
  margin-top: 0.08em;
  letter-spacing: 0.015em;
}

.cases-heading h2 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: 0.005em;
}

.cases-heading h2 em {
  margin-top: 0.02em;
}

.intro-grid {
  grid-template-columns: 0.78fr 0.2fr 1.55fr;
  column-gap: 64px;
  align-items: center;
}

@media (min-width: 901px) {
  .intro-right h2 {
    white-space: nowrap;
    font-size: clamp(34px, 4.2vw, 60px);
  }
}

.intro-visual {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: min(100%, 430px);
  margin-left: -8%;
}

.intro-visual::before {
  display: none;
}

.intro-visual img {
  position: relative;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(1.12) contrast(1.04);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.why-us-item {
  min-height: 310px;
  padding: 40px 34px;
  background: var(--navy);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.why-us-item:hover {
  background: #1e3b46;
  transform: translateY(-8px);
}
.why-us-item > span {
  color: var(--turquoise);
  font-size: 14px;
  font-weight: 800;
}
.why-us-item h3 {
  margin-top: 55px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.1;
}
.why-us-item p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.8;
}

.why-us-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 48px;
  max-width: 1120px;
  margin: 0 auto;
}

.why-us-story p {
  margin: 0;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-align: justify;
  text-wrap: pretty;
}

.why-us-story p:first-child {
  column-span: all;
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
}

.why-us-story p:nth-child(3) {
  max-width: none;
}

.why-us-story p:nth-child(n + 2) {
  break-inside: avoid;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-icon {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(36, 169, 192, 0.35);
  border-radius: 50%;
  background: rgba(36, 169, 192, 0.08);
  color: var(--turquoise);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  transition: 0.3s ease;
}

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

.footer-social a:hover .social-icon {
  background: var(--turquoise);
  color: var(--navy-dark);
  border-color: var(--turquoise);
  transform: translateY(-2px);
}

.facebook-icon {
  font-size: 18px;
  font-family: Georgia, serif;
}

.linkedin-icon {
  font-size: 13px;
}

.digital-case-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.digital-case-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.digital-case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 22, 0.78);
  backdrop-filter: blur(8px);
}
.digital-case-modal-window {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  height: min(760px, 92vh);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
}
.digital-case-modal.is-open .digital-case-modal-window {
  transform: translateY(0) scale(1);
}
.digital-case-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.digital-case-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  background: rgba(18, 37, 45, 0.7);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transition: 0.25s ease;
}
.digital-case-modal-close:hover {
  color: var(--navy-dark);
  background: var(--turquoise);
  transform: rotate(90deg);
}
body.digital-case-modal-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .digital-case-modal {
    padding: 10px;
  }
  .digital-case-modal-window {
    height: min(760px, 94vh);
  }
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-visual {
    justify-self: center;
    width: min(100%, 360px);
    margin-left: 0;
  }

  .why-us-heading,
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .why-us-heading {
    gap: 35px;
  }
  .why-us-item {
    min-height: auto;
  }
  .why-us-story {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .why-us-story p:first-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .hero-logo {
    max-height: 300px;
  }
  .case-image,
  .case-image img {
    min-height: 470px;
  }
  .why-us {
    padding: 100px 0;
  }
  .why-us-heading h2 {
    font-size: clamp(46px, 13vw, 72px);
  }
  .why-us-item {
    padding: 32px 24px;
  }
  .why-us-item h3 {
    margin-top: 38px;
  }
  .why-us-item p {
    font-size: 16px;
  }
}

.header:not(.scrolled) .nav a {
  color: var(--white);
}
.header:not(.scrolled) .menu-button span {
  background: var(--white);
}
.header:not(.scrolled) .header-button {
  color: var(--white);
  border-color: var(--white);
}
.cases {
  padding-top: 220px;
}

@media (max-width: 600px) {
  .cases {
    padding-top: 145px;
  }
}

/* Larger case visuals with a clean editorial frame */
.case-row {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 78px;
}

.case-image {
  min-height: 0;
  aspect-ratio: 1.45 / 1;
  padding: 12px;
  border: 1px solid rgba(23, 45, 54, 0.16);
  background: var(--white);
  box-shadow: 0 24px 50px rgba(23, 45, 54, 0.12);
}

.case-image img {
  min-height: 0;
  height: 100%;
}

@media (max-width: 900px) {
  .case-row {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .case-image {
    aspect-ratio: 1.35 / 1;
  }
}

@media (max-width: 600px) {
  .case-image {
    aspect-ratio: 1.2 / 1;
    padding: 8px;
  }
}

.case-comparison {
  margin-bottom: 170px;
}

.case-comparison-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(23, 45, 54, 0.16);
  padding-bottom: 22px;
}

.case-comparison-heading h3 {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 800;
}

.case-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
}

.case-detail-label {
  display: block;
  margin-bottom: 16px;
  color: var(--turquoise-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.case-detail .case-image {
  aspect-ratio: 1.25 / 1;
  margin-bottom: 28px;
}

.case-detail p {
  max-width: none;
  margin-top: 18px;
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .case-comparison-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .case-comparison-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

.services-heading {
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateX(-80px);
}

.services-heading > div {
  text-align: center;
}

.services-heading h2 {
  color: var(--navy);
  text-align: center;
}

.services-heading h2 em {
  color: var(--turquoise-dark);
}

.hero {
  min-height: 100svh;
  height: 100svh;
}

.hero-content {
  width: min(100%, 980px);
  padding: 75px 0 70px;
}

.hero-logo-wrapper {
  width: min(560px, 76vw);
  padding: 20px;
  margin-bottom: 22px;
}

.hero-logo {
  max-height: 220px;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.94;
}

.hero-description {
  max-width: 560px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.65;
}

.hero-buttons {
  margin-top: 28px;
}

.hero-bottom {
  bottom: 16px;
}

@media (max-width: 600px) {
  .hero-content {
    padding: 92px 0 52px;
  }

  .hero-logo-wrapper {
    width: min(420px, 88vw);
    padding: 10px;
    margin-bottom: 14px;
  }

  .hero-logo {
    max-height: 150px;
  }

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

  .hero-description {
    margin-top: 16px;
    font-size: 13px;
  }

  .hero-buttons {
    margin-top: 22px;
  }
}

.services-intro {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 19px;
}

.service-item {
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 44px;
  padding: 42px 24px;
}

.service-list {
  display: block;
}

.service-items {
  min-width: 0;
}

.service-item h3 {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
}

.service-item p {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.85;
}

.service-techniques {
  max-width: 780px;
  margin-top: 20px;
  padding-left: 22px;
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.8;
}

.service-techniques li + li {
  margin-top: 12px;
}

.service-techniques strong {
  color: var(--turquoise-dark);
}

.services {
  padding-top: 45px;
  padding-bottom: 0;
}

.services > .cases {
  padding-top: 45px;
}

@media (max-width: 600px) {
  .services {
    padding-top: 35px;
  }

  .services-heading {
    transform: none;
  }

  .services > .cases {
    padding-top: 35px;
  }
}

/* Final responsive safeguards */
@media (max-width: 1100px) {
  .container {
    width: min(1160px, calc(100% - 48px));
  }

  .intro-visual {
    display: none;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    gap: 22px;
  }

  .intro-grid {
    column-gap: 40px;
  }

  .offer-card {
    max-width: 820px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(720px, calc(100% - 40px));
  }

  .nav {
    gap: 30px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    min-width: min(230px, 100%);
  }

  .offer {
    padding: 100px 0;
  }

  .offer-top {
    flex-wrap: wrap;
    gap: 28px;
  }

  .offer-intro {
    max-width: 520px;
  }

  .why-us-heading h2 {
    max-width: 100%;
  }

  .case-comparison,
  .case-row {
    margin-bottom: 100px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .navbar {
    height: 72px;
  }

  .brand {
    width: 125px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: 0;
  }

  .hero h1,
  .intro-right h2,
  .cases-heading h2,
  .contact h2,
  .why-us-heading h2 {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .why-us-heading h2 small {
    margin: -0 4.5em 5px 0;
    text-align: right;
    transform: translateX(-0.35em);
  }

  .why-us-heading h2 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .cases-heading h2 {
    font-size: clamp(34px, 9.5vw, 58px);
    line-height: 1.08;
  }

  .cases-heading h2 em {
    margin-top: 0.08em;
  }

  .why-us-story p,
  .why-us-story p:first-child {
    padding: 20px 18px;
    font-size: 15px;
    line-height: 1.7;
  }

  .offer-card {
    padding: 58px 16px 32px;
  }

  .offer-card::before {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .offer-benefit,
  .offer-benefit:nth-child(2) {
    min-height: 190px;
    padding: 30px 18px;
  }

  .offer-benefit strong {
    font-size: clamp(30px, 11vw, 46px);
  }

  .offer-benefit:nth-child(2) strong {
    font-size: clamp(18px, 7vw, 26px);
  }

  .service-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 28px 0;
  }

  .service-item h3 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .service-item p,
  .service-techniques {
    font-size: 14px;
    line-height: 1.7;
  }

  .case-comparison,
  .case-row {
    margin-bottom: 72px;
  }

  .cases {
    padding-top: 72px;
  }

  .cases-heading {
    margin-bottom: 44px;
  }
}

.case-offer-label {
  margin-top: 24px !important;
  color: var(--turquoise-dark) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.case-text .case-offer-discount {
  margin-top: 30px;
  color: var(--turquoise-dark);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
}

.case-offer-guarantee,
.case-offer-exclusive {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-text .case-offer-guarantee {
  margin-top: 12px;
  color: var(--navy);
}

.case-text .case-offer-exclusive {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 14px;
  background: var(--turquoise);
  color: var(--navy);
}

.offer-card .offer-title {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.offer-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 50px auto 0;
  border: 1px solid rgba(36, 169, 192, 0.7);
}

.offer-benefit {
  min-height: 250px;
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.offer-benefit-label {
  min-height: 42px;
  color: var(--turquoise);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.offer-card {
  max-width: 860px;
  padding: clamp(48px, 7vw, 82px) clamp(24px, 6vw, 72px) 48px;
  background:
    linear-gradient(145deg, rgba(36, 169, 192, 0.12), transparent 34%),
    linear-gradient(330deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--navy-dark);
  border: 1px solid rgba(36, 169, 192, 0.42);
  box-shadow:
    0 35px 90px rgba(23, 45, 54, 0.28),
    inset 0 0 0 10px rgba(255, 255, 255, 0.025);
}

.offer-card::before {
  content: "LIMITED OPPORTUNITY";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--turquoise);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.offer-benefit + .offer-benefit {
  border-top: 1px solid rgba(36, 169, 192, 0.7);
}

.offer-benefit {
  min-height: 270px;
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.offer-benefit:hover {
  background: rgba(36, 169, 192, 0.08);
}

.offer-benefit::before,
.offer-benefit::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(36, 169, 192, 0.42);
  transform: rotate(45deg);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease;
}

.offer-benefit::before {
  top: -43px;
  left: -43px;
}

.offer-benefit::after {
  right: -43px;
  bottom: -43px;
}

.offer-benefit:hover::before,
.offer-benefit:hover::after {
  border-color: var(--turquoise);
  transform: rotate(135deg) scale(1.12);
}

.offer-benefit strong {
  color: var(--white);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1;
}

.offer-benefit strong span {
  color: var(--turquoise);
}

.offer-benefit:first-child strong {
  position: relative;
  display: inline-block;
  letter-spacing: -0.08em;
  line-height: 0.86;
  transform: translateX(-0.05em);
}

.offer-benefit:first-child strong span {
  position: relative;
  display: inline-block;
  margin-left: -0.27em;
  transform: translateY(0.15em) rotate(-5deg);
  text-shadow: -0.04em 0 0 var(--navy-dark);
}

.offer-benefit:nth-child(2) strong {
  position: relative;
  display: inline-block;
  color: var(--beige-dark);
  letter-spacing: -0.08em;
  line-height: 0.82;
  transform: rotate(-2deg);
  font-size: clamp(20px, 2.2vw, 30px);
}

.offer-benefit:nth-child(2) strong span {
  color: #8ad7df;
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-left: -0.12em;
  transform: translateY(0.15em) rotate(3deg);
  text-shadow: -0.04em 0 0 var(--navy-dark);
}

.offer-benefit:nth-child(2) {
  min-height: 205px;
  padding: 28px 32px;
  background: rgba(101, 201, 212, 0.08);
}

.offer-benefit:nth-child(2) .offer-benefit-label {
  color: #8ad7df;
}

.offer-benefit > strong {
  width: 100%;
  text-align: center;
}

.offer-benefit:first-child strong,
.offer-benefit:nth-child(2) strong {
  transform: none;
}

.offer-benefit:first-child strong span,
.offer-benefit:nth-child(2) strong span {
  margin-left: 0;
  transform: none;
}

.offer-benefit p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.offer-benefit small {
  display: block;
  max-width: 300px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.offer-benefit:nth-child(2) p {
  max-width: 320px;
  text-transform: none;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .offer-benefit-label {
    min-height: auto;
  }

  .hero-buttons .btn {
    font-size: 12px;
  }
}
