:root {
  --brand: #3188A3;
  --muted: #6C6E6D;
  --light: #58B2B4;
  --dark: #111827;
  --radius: 1.25rem;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  color: var(--dark);
}

h1,
h2,
h3,
.brand-serif {
  font-family: inherit;
  letter-spacing: 0.1px;
  color: var(--light);
  font-weight: 500;
}

/* Navbar */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-110%);
  transition: transform 0.35s ease, box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(120%) blur(6px);
  z-index: 1040;
}

#mainNav.nav-visible {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

#mainNav .navbar-nav {
  margin: 0 auto;
}

#mainNav .nav-link {
  opacity: 0.8;
}

#mainNav .nav-link.active {
  font-weight: 500;
  color: var(--brand) !important;
  opacity: 1;
}

.navbar .nav-link,
.btn,
.section-heading {
  font-weight: 600;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #111827 0%, #1a2333 100%);
}

.hero .content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}

.hero .lead {
  max-width: 48rem;
  margin: 1rem auto 0;
  opacity: 0.95;
}

.hero h1 {
  max-width: 900px;
  width: 100%;
  margin: 1rem auto 0;
  text-wrap: normal;
  hyphens: none;
  line-height: 1.15;
  font-size: clamp(2.2rem, 2rem + 2vw, 3.8rem);
  color: var(--light);
  font-weight: 300;
}

/* Sections */
section {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.section-heading {
  margin-bottom: 2.5rem;
}

/* Cards */
.menu-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
}

.menu-card .price {
  color: var(--brand);
  font-weight: 700;
}

/* Utilities */
.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.btn-brand:hover {
  background: var(--light);
  border-color: var(--light);
  color: #fff;
}

.text-brand {
  color: var(--brand);
}

.bg-soft {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.break-line {
  display: block;
}

.text-left {
  text-align: left !important;
}

/* Footer */
footer {
  background: var(--dark);
  color: #adb5bd;
}

footer a {
  color: #dee2e6;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.footer--brand {
  background: #3188A3;
  color: #fff;
  padding: 40px 0;
}

.footer-title {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-muted {
  opacity: 0.7;
}

.footer-item {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer a:hover {
  opacity: 0.7;
}

.footer-item i {
  margin-right: 8px;
  opacity: 0.8;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.social-icon:hover {
  background: #111827;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-social {
    justify-content: center;
  }
}

/* Small niceties */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Typography weights */
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 500;
}

/* Language buttons */
.language-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.lang-btn {
  display: inline-block;
  min-width: 140px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 400;
  transition: all 0.25s ease;
  background: transparent;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.lang-btn:focus,
.lang-btn:active {
  color: #fff;
}

/* Flags + back to top */
.nav-flag,
.nav-backtotop {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-flag .flag-ro {
  position: relative;
  top: 0;
}

.flag {
  display: inline-flex;
  width: 30px;
  height: 20px;
  border-radius: 15%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-flag:hover .flag {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(49, 136, 163, 0.25);
}

/* Arrow */
.arrow-up {
  width: 8px;
  height: 8px;
  border-left: 2px solid #6C6E6D;
  border-top: 2px solid #6C6E6D;
  transform: rotate(45deg);
  transition: all 0.25s ease;
  position: relative;
  top: 2px;
}

.nav-backtotop:hover .arrow-up {
  transform: rotate(45deg) translateY(-2px);
  border-color: var(--brand);
}

.nav-backtotop {
  text-decoration: none;
  border: none;
}

.nav-backtotop::before,
.nav-backtotop::after {
  content: none !important;
  display: none !important;
}

.nav-backtotop:focus,
.nav-backtotop:active {
  outline: none;
  box-shadow: none;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  text-decoration: none;
  color: #fff;
  animation: floatScroll 2.2s ease-in-out infinite;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-indicator:hover {
  color: #fff;
  opacity: 0.9;
}

.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  margin-top: 7px;
  animation: wheelScroll 1.6s ease-in-out infinite;
}

.scroll-text {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.2px;
}

@keyframes wheelScroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes floatScroll {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Vision */
.pillars-row:nth-child(1) .pillars-label {
  background: linear-gradient(90deg, #1f5566 0%, #3188a3 100%);
}

.pillars-row:nth-child(1) .pillars-body {
  background: linear-gradient(90deg, #3188a3 0%, #3188a3 70%, #1f5566 100%);
}

.pillars-row:nth-child(2) .pillars-label {
  background: linear-gradient(90deg, #326566 0%, #58B2B4 100%);
}

.pillars-row:nth-child(2) .pillars-body {
  background: linear-gradient(90deg, #58b2b4 0%, #58b2b4 70%, #326566 100%);
}

.pillars-row:nth-child(3) .pillars-label {
  background: linear-gradient(90deg, #1f5566 0%, #3188a3 100%);
}

.pillars-row:nth-child(3) .pillars-body {
  background: linear-gradient(90deg, #3188a3 0%, #3188a3 70%, #1f5566 100%);
}

.pillars-label {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  color: #ffffff;
}

.pillars-kicker {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  font-weight: 400;
  opacity: 0.88;
  margin-bottom: 0.7rem;
}

.pillars-title {
  margin: 0;
  font-size: clamp(2rem, 1.6rem + 1vw, 2.9rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.pillars-line {
  width: 72px;
  height: 2px;
  margin-top: 1.3rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.pillars-body {
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #ffffff;
}

.pillars-copy {
  max-width: 60ch;
  text-align: center;
}

.pillars-copy p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.18rem;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 0;
}

.philosophy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.philosophy-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  backdrop-filter: blur(3px);
}

.vision-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14);
}

@media (max-width: 991.98px) {
  .pillars-label,
  .pillars-body {
    min-height: 240px;
    padding: 2.5rem 2rem;
  }

  .pillars-copy p {
    font-size: 1.05rem;
    line-height: 1.8;
  }
}

@media (max-width: 767.98px) {
  .vision-card {
    min-height: auto;
  }

  .pillars-label,
  .pillars-body {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .pillars-title {
    font-size: 2rem;
  }

  .pillars-copy {
    max-width: 100%;
  }

  .pillars-copy p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .philosophy-pills {
    gap: 10px;
  }

  .philosophy-pill {
    width: 100%;
  }
}

/* Services */
.services-photo {
  height: 100%;
  margin: 0;
}

.services-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.services-premium {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fbfc 0%, #f4f7f8 100%);
}

.services-premium-top {
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fa 100%);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  padding: 56px 38px 46px;
}

.services-premium-bottom {
  background: linear-gradient(135deg, #111827 0%, #172033 55%, #1c2940 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
  padding: 46px 38px;
}

.services-premium-head {
  max-width: 900px;
  margin: 0 auto 34px;
}

.services-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2aa6a4;
}

.services-premium-head h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  color: #58b2b4;
  margin-bottom: 14px;
  font-weight: 300;
}

.services-premium-line {
  width: 84px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2aa6a4 0%, #58b2b4 100%);
}

.services-premium-head p {
  max-width: 720px;
  margin: 0 auto;
  color: #667085;
  font-size: 1.02rem;
  line-height: 1.8;
}

.services-premium-grid {
  margin-top: 6px;
}

.premium-service-card {
  height: 100%;
  padding: 26px 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.premium-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
  border-color: rgba(42, 166, 164, 0.18);
}

.premium-service-card-light {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-service-card-light:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  border-color: rgba(88, 178, 180, 0.28);
}

.premium-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #58b2b4 0%, #2aa6a4 55%, #237f81 100%);
  box-shadow:
    0 12px 30px rgba(42, 166, 164, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.premium-icon-light {
  background: radial-gradient(circle at 30% 30%, rgba(88, 178, 180, 0.25) 0%, rgba(42, 166, 164, 0.14) 60%, rgba(42, 166, 164, 0.08) 100%);
  border: 1px solid rgba(88, 178, 180, 0.24);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.premium-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 10px;
}

.premium-service-card p {
  margin: 0;
  color: #667085;
  font-size: 0.98rem;
  line-height: 1.75;
}

.premium-service-card-light h3 {
  color: #ffffff;
}

.premium-service-card-light p {
  color: rgba(255, 255, 255, 0.78);
}

.services-premium-banner {
  position: relative;
  min-height: 380px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}

.services-premium-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.services-premium-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(17, 24, 39, 0.74) 0%, rgba(17, 24, 39, 0.42) 45%, rgba(17, 24, 39, 0.52) 100%),
    linear-gradient(to top, rgba(17, 24, 39, 0.36), rgba(17, 24, 39, 0.12));
}

.services-premium-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-align: center;
}

.services-banner-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(5px);
}

.services-premium-banner-content h3 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.1vw, 3.3rem);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .services-premium {
    padding: 80px 0;
  }

  .services-premium-top,
  .services-premium-bottom {
    padding: 40px 24px;
  }

  .services-premium-banner,
  .services-premium-banner img {
    min-height: 320px;
    height: 320px;
  }

  .services-premium-banner-content h3 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .services-premium {
    padding: 68px 0;
  }

  .services-premium-top,
  .services-premium-bottom {
    padding: 28px 18px;
  }

  .services-premium-head {
    margin-bottom: 24px;
  }

  .premium-service-card {
    padding: 22px 16px 16px;
  }

  .premium-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
  }

  .premium-icon svg {
    width: 34px;
    height: 34px;
  }

  .services-premium-banner,
  .services-premium-banner img {
    min-height: 260px;
    height: 260px;
  }

  .services-banner-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .services-premium-banner-content h3 {
    font-size: 1.45rem;
    line-height: 1.25;
  }
}

/* About */
.about-hero-card {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fbfc 0%, #f2f6f8 100%);
}

.about-hero-shell {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
}

.about-hero-visual {
  position: relative;
  min-height: 620px;
  height: 100%;
}

.about-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  display: block;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.28) 0%, rgba(17, 24, 39, 0.18) 30%, rgba(17, 24, 39, 0.62) 100%),
    linear-gradient(to right, rgba(17, 24, 39, 0.34) 0%, rgba(17, 24, 39, 0.1) 55%, rgba(17, 24, 39, 0.14) 100%);
}

.about-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 40px;
}

.about-hero-top {
  max-width: 420px;
}

.about-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fe3df;
}

.about-hero-top h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  color: #ffffff;
}

.about-hero-bottom {
  max-width: 500px;
}

.about-hero-bottom p,
.about-hero-intro {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.about-hero-bottom p {
  margin: 0;
  line-height: 1.8;
}

.about-hero-intro {
  margin-top: 14px;
  max-width: 460px;
}

.about-side-card {
  height: 100%;
  min-height: 620px;
  background: #ffffff;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-side-card::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  width: 4px;
  height: calc(100% - 72px);
  border-radius: 0 999px 999px 0;
  background: linear-gradient(to bottom, #2aa6a4, #58b2b4);
}

.about-side-card h3 {
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  color: #58b2b4;
  margin-bottom: 14px;
}

.about-side-intro {
  color: #667085;
  line-height: 1.75;
  margin-bottom: 26px;
}

.about-card-item {
  padding: 16px 0;
}

.about-card-item:not(:last-of-type) {
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.about-card-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #3188a3;
  margin-bottom: 6px;
}

.about-card-item p {
  margin: 0;
  color: #6C6E6D;
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-approach-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #6C6E6D;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.about-approach-link:hover {
  color: #111827;
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  .about-hero-card {
    padding: 80px 0;
  }

  .about-hero-visual,
  .about-hero-visual img,
  .about-side-card {
    min-height: 520px;
  }

  .about-side-card::before {
    top: 28px;
    height: calc(100% - 56px);
  }
}

@media (max-width: 767.98px) {
  .about-hero-card {
    padding: 64px 0;
  }

  .about-hero-visual,
  .about-hero-visual img {
    min-height: 420px;
  }

  .about-hero-content {
    padding: 28px 22px;
  }

  .about-side-card {
    min-height: auto;
    padding: 30px 22px;
  }

  .about-side-card::before {
    top: 22px;
    height: calc(100% - 44px);
  }

  .about-hero-bottom p {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}

/* Gallery */
.gallery-section {
  width: 100%;
  background: #eef7f8;
  padding: 90px 0;
  overflow: visible;
}

.gallery-fluid {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.gallery-heading {
  max-width: 900px;
  margin: 0 auto 38px;
  padding: 0 20px;
}

.gallery-heading h2 {
  margin-bottom: 14px !important;
}

.gallery-intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.8;
  color: #6C6E6D;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  overflow: visible;
}

.gallery-viewport::before,
.gallery-viewport::after {
  display: none !important;
}

.gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 18px 0 28px !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card,
.gallery-item {
  flex: 0 0 calc(25% - 18px);
  min-width: 320px;
  box-sizing: border-box;
}

.gallery-item {
  padding: 0 0 18px;
}

.gallery-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.14);
}

.gallery-card-image {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #dfeff1;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-card-image::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
  background: rgba(49, 136, 163, 0.55);
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card-image::after {
  opacity: 1;
}

.gallery-card.is-portrait .gallery-card-image img,
.gallery-card.is-portrait-narrow .gallery-card-image img {
  object-fit: contain;
  object-position: center center;
  background: #dfeff1;
}

.gallery-track > .gallery-card:first-child,
.gallery-track > .gallery-item:first-child {
  margin-left: 24px;
}

.gallery-track > .gallery-card:last-child,
.gallery-track > .gallery-item:last-child {
  margin-right: 24px;
}

.gallery-card-body {
  padding: 18px 18px 20px;
  background: #fff;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.gallery-card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3188A3;
}

.gallery-card-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #111827;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.gallery-ctrl:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.gallery-prev {
  left: -8px;
}

.gallery-next {
  right: -8px;
}

@media (max-width: 1400px) {
  .gallery-card,
  .gallery-item {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (max-width: 1100px) {
  .gallery-fluid {
    padding: 0 28px;
  }

  .gallery-card,
  .gallery-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 767px) {
  .gallery-section {
    padding: 70px 0;
  }

  .gallery-fluid {
    padding: 0 16px;
  }

  .gallery-track {
    gap: 18px;
    padding-bottom: 10px !important;
  }

  .gallery-card,
  .gallery-item {
    flex: 0 0 88%;
    min-width: 88%;
  }

  .gallery-item {
    padding: 0 0 14px;
  }

  .gallery-card-image {
    height: 300px;
  }

  .gallery-card-body {
    min-height: 110px;
  }

  .gallery-ctrl {
    display: none;
  }

  .gallery-intro {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

/* Clients */
.clients-hero-section {
  padding: 95px 0;
  background: #eef3f4;
}

.clients-layout {
  position: relative;
  min-height: 560px;
  border-radius: 38px;
  overflow: hidden;
  background-image: url("../img/clients.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
}

.clients-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 58%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 0) 90%
    );
  z-index: 1;
}

.clients-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  width: 220px;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 72%);
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}

.clients-content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  padding: 58px 48px 56px;
  max-width: 750px;
}

.clients-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #58B2B4;
}

.clients-heading {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  line-height: 1.22;
  font-weight: 500;
  color: #111827;
  font-style: italic;
  letter-spacing: -0.01em;
}

.clients-text {
  max-width: 900px;
}

.clients-text p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(17, 24, 39, 0.68);
}

.clients-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .clients-layout {
    min-height: 520px;
  }

  .clients-content {
    width: min(100%, 580px);
    padding: 52px 40px;
  }

  .clients-heading {
    font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  }
}

@media (max-width: 991.98px) {
  .clients-layout {
    min-height: auto;
    background-position: center center;
  }

  .clients-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.95) 28%,
        rgba(255, 255, 255, 0.75) 75%,
        rgba(255, 255, 255, 0.60) 100%
      );
  }

  .clients-layout::before {
    display: none;
  }

  .clients-content {
    width: 100%;
    max-width: 100%;
    padding: 42px 32px 44px;
  }

  .clients-heading,
  .clients-text {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .clients-hero-section {
    padding: 72px 0;
  }

  .clients-layout {
    border-radius: 24px;
  }

  .clients-content {
    padding: 28px 22px 30px;
  }

  .clients-heading {
    font-size: 1.9rem;
    line-height: 1.24;
    margin-bottom: 20px;
  }

  .clients-text p {
    font-size: 0.97rem;
    line-height: 1.75;
  }
}

/* Blog list */
.blog-row {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.blog-row-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-img {
  height: 100%;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.blog-excerpt {
  color: #4b5563;
  line-height: 1.6;
  font-size: 15px;
}
