/*------------------------------------------------------------------------- Global -------------------------------------------------------------------------*/

:root {
  /* Base Colors */
  --white: #ffffff;
  --light-gray: #f7f7f7;
  --gray-light: #e6e6e6;
  --gray-medium: #bdbdbd;
  --gray-dark: #444444;

  /* Blues */
  --blue-dark: #1c3a5b;
  --blue-navy: #162447;
  --blue-steel: #2c5364;
  --blue-muted: #3a506b;

  /* Accent */
  --gold: #dbb563;

  /* Overall scale size */
  --scale-width: 420px;
  --scale-aspect: 1978 / 1759;

  /* Position on page */
  --scale-top: 50%;
  --scale-left: 75%;

  /* ===== BEAM ===== */
  --beam-top: 15%;            /* vertical position of beam */
  --beam-pivot-x: 50%;       /* pivot inside SVG */
  --beam-pivot-y: 35%;

  /* ===== PANS ===== */
  --pan-top: 27%;
  --pan-left-x: 17%;
  --pan-right-x: 83%;
  --pan-width: 25%;

  /* ===== MOTION ===== */
  --max-tilt-deg: 18;
  --pan-vertical-travel: 46px;
}

.prettygradient {
  background: linear-gradient(-45deg, #0d1b2a, #19334C, #61afd3, #d3bd8e);
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  overflow: hidden;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* ---------------------- RESET & BASE ---------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: var(--light-gray);
  color: var(--blue-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Frank Ruhl Libre", serif;
  font-weight: 600;
  font-optical-sizing: auto;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------- UTILITY CLASSES ---------------------- */
.section {
  padding: 2rem 10%;
}

.centered {
  text-align: center;
}

.button {
  display: inline-block;
  background-color: var(--blue-dark);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.button:hover {
  background-color: var(--gold);
  color: var(--blue-dark);
}

/*------------------------------------------------------------------------- Navbar -------------------------------------------------------------------------*/
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 90;
}

.navbar {
  background: linear-gradient(to right, var(--blue-dark), var(--blue-steel));
  color: var(--white);
  padding: 0.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  /* position: relative; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 85vw;
  margin: 0 auto;
}

/* ---------------------- LOGO ---------------------- */
.nav-logo p {
  letter-spacing: 2px;
  padding: 0;
  fill: var(--white);
}

.nav-logo p::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

/* ---------------------- NAV LINKS ---------------------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center; 
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links .active {
  color: var(--gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ---------------------- MOBILE NAV ---------------------- */
.nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-close {
  display: none;
  font-size: 1.6rem;       /* same as nav-toggle */
  cursor: pointer;
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
}

@media (max-width: 850px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -260px;              /* hidden off-screen */
    height: 100vh;
    width: 260px;
    background-color: var(--blue-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 4rem 2rem;
    transition: left .3s ease;
    z-index: 100;
  }

  .nav-links.active {
    left: 0;                   /* slides in from left */
  }

  .nav-links a {
    padding: 0.3rem 0;
    font-size: 1.25rem;
  }

  .nav-toggle, .nav-close {
    display: block;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/*------------------------------------------------------------------------- Footer -------------------------------------------------------------------------*/

footer {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  color: #d6d9dd;
  text-align: center;
  padding: 24px 10px;
}

.footer {
  color: #f1f1f1;
  padding: 3rem 1.5rem 1rem 1.5rem;
  font-family: "Montserrat", sans-serif;
  border-top: 1px solid rgba(219, 181, 99, 0.35);
}

.footer h3 i {
  margin-right: 0.5rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  margin-bottom: 0.6rem;
  color: #d9b26f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.footer p {
  line-height: 1.6;
}

.footer a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer a:hover {
  color: #d9b26f;
  padding-left: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  color: #bdbdbd;
}

.footer-bottom p, .footer-bottom a {
  font-size: smaller;
  color: #b1b1b1;
}

@media (max-width: 600px) {
  .footer {
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
  }
}

/* Reusable spacing and layout */
.section {
  padding: 2rem 10%;
}

.centered {
  text-align: center;
}

.button {
  display: inline-block;
  background-color: var(--albastru-inchis);
  color: var(--alb);
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.button:hover {
  background-color: var(--auriu);
  color: var(--albastru-inchis);
}
/*------------------------------------------------------------------------- Home Page -------------------------------------------------------------------------*/

/* ---------------------- HERO SECTION ---------------------- */
.home-hero {
  position: relative;
  height: 97vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("/img/home-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-content h1 {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content svg {
  fill: var(--white);
  height: clamp(100px, 20vh, 300px);
  width: auto;
}

.line-1 {
  width: 18rem;
  height: 3px;
  background-color: var(--gold);
  margin: 0.25rem auto;
}

.slogan {
  font-style: italic;
  margin-top: 1.5rem;
}

.contact-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  margin-top: 1.5rem;
  color: var(--white);
  background-image: linear-gradient(to right, var(--gold) 10%, #dbc79a 51%, var(--gold) 100%);
  background-size: 200% auto;
  transition: 0.5s;
}

.contact-button:hover {
  background-position: right center;
}

@media (max-width: 700px) {
  .home-hero {
    min-height: 100svh;
    height: auto;
    padding: 2.5rem 0.75rem 3.25rem;
    overflow: visible;
  }

  .hero-content {
    width: min(100%, 560px);
    padding: 0;
  }

  .hero-content svg {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: none;
    margin: 0 auto 0.75rem;
    overflow: visible;
  }

  .slogan {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* ---------------------- INTRO SECTION ---------------------- */
.home-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  padding: 80px 10%;
  background-color: var(--light-gray);
}

.intro-text {
  flex: 1 1 400px;
}

.line-2 {
  width: 90px;
  height: 4px;
  background-color: var(--gold);
  margin: 1rem 0;
}

.intro-img {
  flex: 1 1 400px;
  position: relative;
}

.intro-img img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.decoration-square {
  position: absolute;
  width: 80px;
  height: 60px;
  opacity: 0.4;
}

.upper-right {
  border: 2px solid var(--blue-dark);
  top: -10px;
  right: -10px;
}

.lower-left {
  background-color: var(--blue-dark);
  bottom: -15px;
  left: -15px;
}

/* ---------------------- STATS ---------------------- */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.stats {
  flex: 1 1 120px;
  text-align: center;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 20px 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.stats .number {
  font-size: 2rem;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 5px;
}

/* ---------------------- CTA SECTION ---------------------- */
.home-cta {
  position: relative;
  background: linear-gradient(-45deg, var(--blue-dark), var(--blue-steel), #0e7ea7, var(--blue-muted));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: var(--white);
  text-align: center;
  padding: 80px 10%;
  overflow: hidden;
}

.home-cta i {
  display: block;
  color: var(--gold);
  font-size: 1.9rem;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 10px rgba(219, 181, 99, 0.5));
}

.home-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.home-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------------------- PRACTICE AREAS ---------------------- */
.practice-areas {
  background-color: var(--white);
  padding: 80px 10%;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.area {
  background-color: var(--white);
  border: 1px solid rgba(28, 58, 91, 0.08);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.area:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(219, 181, 99, 0.4);
}

.area i {
  display: inline-block;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.area:hover i {
  transform: scale(1.12) rotate(-4deg);
}

.area h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

/* ---------------------- LAW SECTION ---------------------- */
.law-section {
  padding: 7rem 4rem;
  display: flex;
  justify-content: center;
}

.law-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  gap: 1rem;
}

.law-text {
  flex: 1 1 350px;
  min-width: 300px;
}

.law-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.law-text p {
  max-width: 500px;
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.law-button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border: 2px solid var(--blue-dark);
  border-radius: 50px;
  color: var(--blue-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.law-button:hover {
  background-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 58, 91, 0.25);
}

.law-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;
}

.law-images img {
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.law-images img:nth-child(1) {
  width: auto;
  height: 300px;
  transform: translateY(0);
}

.law-images img:nth-child(2) {
  width: auto;
  height: 320px;
  transform: translateY(20px);
}

.law-images img:nth-child(3) {
  width: auto;
  height: 270px;
  transform: translateY(-25px);
}

.law-images img:nth-child(4) {
  width: auto;
  height: 300px;
  transform: translateY(0);
}

.law-images img:hover {
  transform: scale(1.03);
}

/* ---------------------- FAQ SECTION ---------------------- */
.faq {
  background-color: var(--white);
  padding: 3.5rem 10% 4.5rem;
}

.faq-LIST {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-LIST details {
  background: var(--white);
  border: 1px solid rgba(28, 58, 91, 0.08);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 3px rgba(28, 58, 91, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-LIST details[open] {
  box-shadow: 0 8px 20px rgba(28, 58, 91, 0.1);
  border-color: rgba(219, 181, 99, 0.4);
}

.faq-LIST summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--blue-dark);
  transition: color 0.3s;
  list-style: none;
}

.faq-LIST summary::-webkit-details-marker {
  display: none;
}

.faq-LIST summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-LIST details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-LIST summary:hover {
  color: var(--gold);
}

.faq-LIST p {
  margin-top: 0.5rem;
  color: var(--gray-dark);
}

.faq-LIST a {
  color: var(--gold);
}

.faq-LIST ul {
  padding-left: 20px;
}

/* ---------------------- RESPONSIVE (HOME) ---------------------- */
@media (max-width: 900px) {
  .mob-no {
    display: none;
  }

  .law-images img:nth-child(1){
    width: 80vw;
    height: 200px;   /* or whatever height you want */
    object-fit: cover;
    object-position: center; /* optional */
    border-radius: 10px; /* optional */
  }

  .home-intro,
  .home-cta,
  .practice-areas,
  .faq {
    padding: 60px 6%;
  }

  .faq {
    padding: 3rem 6% 3.5rem;
  }

  .faq-LIST {
    margin-top: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

/*------------------------------------------------------------------------- Despre noi -------------------------------------------------------------------------*/
.hero {
  background: linear-gradient(135deg, rgb(74, 147, 170), var(--blue-steel), var(--blue-dark), rgb(42, 146, 177));
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 10rem 2rem 7rem;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}

.hero h1 {
  font-size: 3.3rem;
  font-family: "Frank Ruhl Libre", serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-divider {
  width: 60px;
  height: 3px;
  margin: 1.1rem auto 1.4rem;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold), #f3d690, var(--gold));
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
}


/* ==========================================================
   ---------------------- ABOUT SECTION ----------------------
   ========================================================== */

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 7rem 10%;
  background: var(--light-gray);
  position: relative;
}

.about-text {
  flex: 1 1 420px;
  animation: fadeUp 0.8s ease both;
}

.about-text h2 {
  position: relative;
  font-size: 2.5rem;
  font-family: "Frank Ruhl Libre", serif;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  color: var(--blue-dark);
}

.about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold), #f3d690);
}

.about-text p {
  color: var(--gray-dark);
  /* margin-bottom: 1.1rem; */
}

.inline-link {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.inline-link:hover {
  color: var(--blue-dark);
  border-bottom-color: var(--gold);
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transform: translateZ(0);
  animation: fadeUp 1s ease both;
  box-shadow: 0 14px 34px rgba(28,58,91,0.18);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s ease;
}

.about-image:hover img {
  transform: scale(1);
}

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
}
@media (min-width: 900px) {
  .about-section {
   gap: 3.5rem;
  }
  
  .about-image {
    flex: 1 1 420px;
  }
}


/* ------------------------ STATS ----------------------------*/

.stats-section {
  padding: 0;
  background: white;
}

.stats-bg {
  background: linear-gradient(135deg, rgb(74, 147, 170), var(--blue-steel), var(--blue-dark), rgb(42, 146, 177));
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  overflow: hidden;  
  /* background: linear-gradient(to right, var(--blue-dark), var(--blue-muted), var(--blue-steel), var(--blue-navy), var(--blue-dark), var(--blue-steel)); */
  padding: 6rem 10%;
  text-align: center;
  color: var(--white);
}

.stats-bg h2 {
  font-size: 2.6rem;
  margin-bottom: 3rem;
  font-family: "Frank Ruhl Libre", serif;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 3rem;
  color: var(--auriu);
}

.stat p {
  color: rgba(255,255,255,0.9);
}

@media(max-width: 900px){
  .stats {
    gap: 2rem;
  }
}

/* ================== STORY SECTION ================== */
.scale-story {
  position: relative;
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.8rem) clamp(1rem, 6vw, 10%);
  min-height: clamp(26rem, 58vh, 42rem);
  overflow: hidden;
}

@media (max-width: 1100px) {
  .scale-story {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 2.4rem;
    padding-bottom: 2.5rem;
  }

  .story-text {
    max-width: none;
    width: 100%;
  }

  .scale-wrapper {
    position: absolute;
    right: clamp(0.75rem, 3vw, 1.25rem);
    top: 1.4rem;
    left: auto;
    transform: none;
    width: clamp(160px, 24vw, 240px);
    opacity: 0.14;
  }
}

@media (max-width: 700px) {
  .scale-story {
    display: block;
    padding: 3rem 1.15rem 2.2rem;
    min-height: auto;
    overflow: hidden;
  }

  .story-text {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
  }

  .story-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .story-block {
    margin-bottom: 0.9rem;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.95);
    border-left-color: rgba(28,58,91,0.2);
  }

  .scale-wrapper {
    position: absolute;
    left: auto;
    right: 5.4rem;
    top: 1.1rem;
    transform: none;
    width: min(38vw, 190px);
    opacity: 0.12;
    filter: grayscale(1);
    z-index: 0;
  }

  .scale-wrapper.is-sticky {
    position: fixed;
    top: 50vh;
    right: 1rem;
    left: auto;
    transform: translateY(-50%);
  }

  .scale-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ================== TEXT COLUMN ================== */
.story-text {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 650px;
}

.story-kicker,
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.kicker.centered {
  display: block;
  text-align: center;
}

.story-text h2 {
  position: relative;
  font-size: 2rem;
  margin-top: 0.2rem;
  margin-bottom: 1.7rem;
  padding-bottom: 0.9rem;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
  font-weight: 700;
}

.story-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold), #f3d690);
}

.story-block {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(28,58,91,0.08);
  border-left: 2px solid rgba(28,58,91,0.25);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(28,58,91,0.04);
  animation: fadeUp 0.7s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.story-block:nth-of-type(1) { animation-delay: 0.05s; }
.story-block:nth-of-type(2) { animation-delay: 0.12s; }
.story-block:nth-of-type(3) { animation-delay: 0.19s; }
.story-block:nth-of-type(4) { animation-delay: 0.26s; }
.story-block:nth-of-type(5) { animation-delay: 0.33s; }
.story-block:nth-of-type(6) { animation-delay: 0.4s; }

.story-block:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(28,58,91,0.14);
  border-left-color: var(--gold);
}

.story-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--gold);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  box-shadow: 0 2px 6px rgba(28,58,91,0.25);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.story-block:hover .story-icon {
  background: linear-gradient(135deg, var(--gold), #f3d690);
  color: var(--blue-dark);
  transform: scale(1.08) rotate(-6deg);
}

.story-content {
  min-width: 0;
}

.story-block h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
  color: var(--blue-dark);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.story-block p {
  margin-bottom: 0;
  color: rgba(28,58,91,0.9);
}

.scale-wrapper {
  position: absolute;
  left: var(--scale-left);
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0.16;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.scale-wrapper.is-active {
  opacity: 0.16;
}

@media (max-width: 700px) {
  .scale-wrapper {
    opacity: 0;
  }

  .scale-wrapper.is-active {
    opacity: 0.16;
  }
}

.scale-wrapper.is-sticky {
  position: sticky;
  top: 50vh;
  transform: translate(-50%, -50%);
}

.scale-container {
  position: relative;
  width: var(--scale-width);
  aspect-ratio: var(--scale-aspect);
}

/* ===== BASE (STATIC) ===== */
.scale-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ===== BEAM (ROTATES PERFECTLY – SVG) ===== */
.beam-wrap {
  position: absolute;
  top: var(--beam-top);
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

.scale-beam {
  width: 100%;
  height: auto;
  transform-origin: var(--beam-pivot-x) var(--beam-pivot-y);
  transition: transform 0.08s linear;
  will-change: transform;
}

/* ===== PANS ===== */
.pan-wrap {
  position: absolute;
  top: var(--pan-top);
  width: var(--pan-width);
  transform: translateX(-50%);
}

.pan-wrap.left  { left: var(--pan-left-x); }
.pan-wrap.right { left: var(--pan-right-x); }

.scale-pan {
  width: 100%;
  height: auto;
  transition: transform 0.08s linear;
  will-change: transform;
}

/*------------------------------------------------------------------------- new parts -------------------------------------------------------------------------*/
.values-section {
  position: relative;
  isolation: isolate;
  z-index: 3;
  padding: 2rem 10%;
  background: transparent;
  text-align: center;
}

.values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  z-index: -1;
}

.values-section > * {
  position: relative;
  z-index: 1;
}

.values-section h2 {
  margin: 2rem;
  color: var(--blue-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.value-card {
  background: var(--light-gray);
  padding: 2.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.8s ease both;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.1);
}

.value-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.6rem;
  color: var(--blue-dark);
}

.value-card p {
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ---------------------- TESTIMONIALS ---------------------- */
.testimonials-carousel {
  text-align: center;
  padding: 3.5rem 10% 2rem 10%;
  position: relative;
  overflow: hidden;
  background-color: white;
}

.testimonials-carousel h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.testimonial-slide {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.7s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-slide.exit-left {
  transform: translateX(-100px);
  opacity: 0;
}

.testimonial-slide.exit-right {
  transform: translateX(100px);
  opacity: 0;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.8rem;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
}

/* Navigation buttons */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.testimonial-controls button {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.2rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.testimonial-controls button:hover {
  background: var(--gold);
  color: var(--blue-dark);
  transform: translateY(-3px);
}

/* ---------------------- TRUST SECTION ---------------------- */
.trust-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  color: var(--white);
  padding: 2rem 10%;
}

.trust-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust-list {
  list-style: none;
  padding: 0;
}

.trust-list li {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.trust-list i {
  color: var(--gold);
}

/*------------------------------------------------------------------------- Servicii -------------------------------------------------------------------------*/
/* ---------------------- HERO SECTION ---------------------- */
.hero-services {
  background: linear-gradient(135deg, var(--blue-navy), rgb(130, 166, 184), var(--blue-steel), var(--gold));
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  overflow: hidden;
  color: var(--white);
  padding: 8rem 1.5rem 10rem;
  text-align: center;
  position: relative;
}

.hero-services-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-services p {
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.hero-services .btn-cta {
  border: 2px solid var(--white);
}

.btn-cta {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: transparent;
  color: var(--white);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--gold);
  border-color: transparent;
  color: var(--blue-dark);
}

/* ---------------------- VALUES SECTION ---------------------- */
.values-box {
  background: var(--white);
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  text-align: center;
  top: 3rem;
}

.values {
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 5;
  margin-top: -150px;
}

.values-content {
  max-width: 1200px;
  margin: 0 auto;
}

.values-content h2 {
  color: var(--blue-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.value-item {
  background: var(--light-gray);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.value-item i {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--gray-dark);
  line-height: 1.5;
}

/* ---------------------- SERVICES GRID ---------------------- */
.services {
  padding: 0 1.5rem 6rem;
  background: var(--light-gray);
  text-align: center;
}

.services .latin {
  font-size: 0.9rem;
  color: var(--blue-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.services h2 {
  color: var(--blue-dark);
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
}

/* ---------------------- TRUST SECTION ---------------------- */
.trust {
  background: var(--blue-dark);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

.trust-content {
  max-width: 800px;
  margin: 0 auto;
}

.trust h2 {
  margin-bottom: 1.5rem;
}

/* ---------------------- FINAL CTA ---------------------- */
.final-cta {
  background: var(--gray-light);
  padding: 5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-card {
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 80vw;
  background: linear-gradient(-45deg, var(--blue-dark), var(--blue-steel), #0e7ea7, var(--blue-muted));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cta-card p {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-card h3 {
  color: var(--white);
}

.cta-card .btn-cta {
  background-image: linear-gradient(to right, var(--blue-dark) 0%, var(--blue-steel) 51%, var(--blue-dark) 100%);
  color: var(--white);
  width: 250px;
  max-width: 100%;
  background-size: 200% auto;
  border: 1px solid var(--white);
  transition: 0.5s;
}

.cta-card .btn-cta:hover {
  background-position: right center;
}

/*------------------------------------------------------------------------- Onorarii -------------------------------------------------------------------------*/

/* ---------------------- HERO SECTION ---------------------- */
.hero-fees {
  position: relative;
  text-align: center;
  padding: 9rem 1.5rem 10rem;
  color: var(--white);
  background: radial-gradient(circle at 30% 20%, var(--blue-navy) 0%, transparent 70%),
              linear-gradient(135deg, var(--blue-dark), var(--blue-steel), var(--blue-navy), var(--blue-dark), var(--blue-steel), var(--blue-navy), var(--blue-dark));
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  overflow: hidden;
}

/* Subtle animated texture */
.hero-fees::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
  background-size: 200px 200px;
  opacity: 0.05;
  animation: heroPattern 30s linear infinite;
  z-index: 1;
}

@keyframes heroPattern {
  0% { background-position: 0 0; }
  100% { background-position: 400px 400px; }
}

.hero-fees-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-fees-content h1 {
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.hero-fees-content p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-fees-content .cta-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--white);
  background: transparent;
  transition: all 0.4s ease;
}

.hero-fees-content .cta-btn:hover {
  background: var(--gold);
  color: var(--blue-dark);
  box-shadow: 0 0 20px rgba(219,181,99,0.5);
}

/* ---------------------- PRINCIPLES SECTION ---------------------- */
.principles {
  color: var(--blue-dark);
  padding: 7rem 10% 3rem 10%;
  text-align: center;
  position: relative;
}

.principles h2 {
  font-size: 2.4rem;
  margin-bottom: 5rem;
  position: relative;
}

.principles h2::after {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: 5%;
  right: 5%;
  max-width: 1200px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  z-index: 1;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.principle-column {
  background: var(--alb);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  transition: all 0.35s ease;
  border-top: 4px solid transparent;
  position: relative;
  z-index: 2;
}

.principle-column:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.principle-column::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 50%;
  width: 3px;
  height: 2.5rem;
  background: var(--gold);
  border-radius: 2px;
  z-index: 1;
}

.principle-column i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  background: var(--alb);
  position: relative;
  z-index: 3;
}

.principle-column h3 {
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
}

.principle-column p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

@media (max-width: 1070px) {
  .principles h2::after {
    width: 3px;
    height: 80%;
    left: 50%;
    top: 5rem;
    bottom: auto;
    transform: translateX(-50%);
  }

  .principles-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
  }

  .principle-column::before {
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3rem;
  }
}

@media (max-width: 700px) {
  .principles h2::after {
    display: none;
  }
}

/* ---------------------- EXTRA COSTS ---------------------- */
.extra-costs {
  color: var(--blue-dark);
  padding: 2rem 10%;
  text-align: center;
}

.extra-costs h2 {
  font-size: 2.3rem;
  margin-bottom: 3rem;
  position: relative;
}

.costs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cost-card {
  background: var(--alb);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  border-top: 4px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.cost-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--blue-muted);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.cost-card i {
  font-size: 2rem;
  color: var(--blue-steel);
  margin-bottom: 0.8rem;
}

.cost-card p {
  color: var(--gray-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------------------- PAYMENT METHODS ---------------------- */
.payments {
  padding: 6rem 10%;
  text-align: center;
  background-color: var(--light-gray);
  /* background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d6d6d6' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
  
}

.payments h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.payment-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin: 0 auto;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.payment-item i {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.payment-item p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-dark);
  line-height: 1.6;
  max-width: 90%;
}

.payment-item:hover i {
  transform: scale(1.15);
  color: var(--blue-dark);
}

@media (max-width: 700px) {
  .payment-list {
    gap: 2.5rem;
  }

  .payment-item p {
    font-size: 1rem;
  }
}

/* ---------------------- FEE TYPES ---------------------- */
.payment-note-1 {
  position: absolute;
  top: 0;
  width: 100%;
  color: var(--gray-dark);
  padding: 7.5rem 12% 8rem;
  text-align: center;
}

.payment-note-1 p {
  line-height: 1.65;
  max-width: 850px;
  margin: 0 auto;
}

.payment-note-2 {
  position: absolute;
  bottom: -20rem;
  color: var(--gray-dark);
  padding: 6.5rem 12% 8rem;
  text-align: center;
}

.payment-note-2 p {
  line-height: 1.65;
  max-width: 850px;
  margin: 0 auto;
}

.fee-types {
  text-align: center;
  padding: 25rem 0 20rem 0;
  background-image: linear-gradient(135deg, rgba(186, 186, 186, 0.03) 0%, rgba(186, 186, 186, 0.03) 10%,rgba(133, 133, 133, 0.03) 10%, rgba(133, 133, 133, 0.03) 14%,rgba(38, 38, 38, 0.03) 14%, rgba(38, 38, 38, 0.03) 17%,rgba(93, 93, 93, 0.03) 17%, rgba(93, 93, 93, 0.03) 25%,rgba(80, 80, 80, 0.03) 25%, rgba(80, 80, 80, 0.03) 45%,rgba(239, 239, 239, 0.03) 45%, rgba(239, 239, 239, 0.03) 100%),linear-gradient(135deg, rgba(236, 236, 236, 0.03) 0%, rgba(236, 236, 236, 0.03) 47%,rgba(182, 182, 182, 0.03) 47%, rgba(182, 182, 182, 0.03) 63%,rgba(223, 223, 223, 0.03) 63%, rgba(223, 223, 223, 0.03) 81%,rgba(86, 86, 86, 0.03) 81%, rgba(86, 86, 86, 0.03) 89%,rgba(23, 23, 23, 0.03) 89%, rgba(23, 23, 23, 0.03) 90%,rgba(226, 226, 226, 0.03) 90%, rgba(226, 226, 226, 0.03) 100%),linear-gradient(45deg, rgba(52, 52, 52, 0.03) 0%, rgba(52, 52, 52, 0.03) 31%,rgba(246, 246, 246, 0.03) 31%, rgba(246, 246, 246, 0.03) 63%,rgba(188, 188, 188, 0.03) 63%, rgba(188, 188, 188, 0.03) 71%,rgba(15, 15, 15, 0.03) 71%, rgba(15, 15, 15, 0.03) 87%,rgba(127, 127, 127, 0.03) 87%, rgba(127, 127, 127, 0.03) 93%,rgba(234, 234, 234, 0.03) 93%, rgba(234, 234, 234, 0.03) 100%),linear-gradient(90deg, #ffffff,#ffffff);
  position: relative;
  overflow: hidden;
}

.fee-grid {
  position: relative;
  width: 50rem;
  height: 50rem;
  margin: 0 auto;
}

.fee-card {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  padding: 1.2rem;
  text-align: center;
  cursor: default;
}

.fee-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.fee-card i {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

/* --- Circular Positioning --- */
.fee-card:nth-child(1) {
  top: -10%;
  left: 30%;
  background: 
  linear-gradient(to bottom, var(--blue-steel) 0%, transparent 60%),
  linear-gradient(to bottom right, var(--blue-muted) 0%, var(--blue-dark) 100%);
}

.fee-card:nth-child(2) {
  top: 15%;
  left: -10%;
  background: 
  linear-gradient(135deg, var(--blue-steel) 20%, transparent 60%),
  linear-gradient(to bottom right, var(--blue-muted) 0%, var(--blue-dark) 100%);
}

.fee-card:nth-child(3) {
  top: 60%;
  left: 5%;
  background: 
  linear-gradient(45deg, var(--blue-steel) 20%, transparent 60%),
  linear-gradient(to bottom right, var(--blue-muted) 0%, var(--blue-dark) 100%);
}

.fee-card:nth-child(4) {
  top: 60%;
  left: 55%;
  background: 
  linear-gradient(135deg, transparent 40%, var(--blue-steel) 80%),
  linear-gradient(to bottom right, var(--blue-muted) 0%, var(--blue-dark) 100%);
}

.fee-card:nth-child(5) {
  top: 16.5%;
  left: 69%;
  background: 
  linear-gradient(45deg, transparent 40%, var(--blue-steel) 80%),
  linear-gradient(to bottom right, var(--blue-muted) 0%, var(--blue-dark) 100%);
}

@media (min-width: 1000px) {
  .fee-types h2 {
    font-size: 2.7rem;
    line-height: 2.3rem;
    color: rgb(173, 173, 173);
    font-weight: 600;
    margin-top: 3rem;
  }

  .fee-card h3{
    color: var(--gold);
  }

  .fees-title {
    position: absolute;
    top: 46%;
    left: 42.5%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
  }
}

/* --- Mobile Version --- */
@media (max-width: 1000px) {
  .desktop-only {
    display: none;
  }

  .fee-types h2 {
    margin-bottom: 2rem;
  }

  .fee-grid {
    position: relative;
    width: 22rem;
    height: 22rem;
    margin: 0 auto;
  }

  .fee-card {
    position: absolute;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #1c3a5b, #234c73);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.45s cubic-bezier(.2, .9, .2, 1);
    cursor: pointer;
    overflow: hidden;
    z-index: 2;
  }

  .fee-card i {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    color: var(--auriu);
  }

  .fee-card h3 {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 0;
    padding: 0 0.4rem;
  }

  .fee-card p {
    display: none;
    font-size: 0.9rem;
    color: #f1f1f1;
    margin-top: 0.6rem;
    padding: 0 1rem;
  }

  /* circular ring positions (small circles) */
  .fee-card:nth-child(1) {
    top: 0%;
    left: calc(50% - 3.5rem);
  }

  .fee-card:nth-child(2) {
    top: calc(40% - 3.5rem);
    left: 0;
  }

  .fee-card:nth-child(3) {
    top: calc(80% - 3.5rem);
    left: calc(30% - 3.5rem);
  }

  .fee-card:nth-child(4) {
    top: calc(80% - 3.5rem);
    left: calc(70% - 3.5rem);
  }

  .fee-card:nth-child(5) {
    top: calc(40% - 3.5rem);
    left: calc(85% - 3.5rem);
  }

  /* ACTIVE: expand into a large circle (still circular) and center it */
  .fee-card.active {
    width: min(87vw, 320px);
    /* large circular size, responsive */
    height: min(87vw, 320px);
    /* keep width == height to remain a circle */
    left: 50% !important;
    /* center inside .fee-grid */
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50%;
    padding: 1.25rem;
    z-index: 50;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    background: linear-gradient(145deg, #16324a, #1e4a6a);
  }

  /* show content inside expanded circle */
  .fee-card.active h3 {
    font-size: 1.05rem;
    color: var(--auriu);
    margin-bottom: 0.25rem;
  }

  .fee-card.active i {
    font-size: 2rem;
    color: var(--auriu);
  }

  .fee-card.active p {
    display: block;
    opacity: 1;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
  }

  /* Slightly push peripheral cards outward when one is active */
  .fee-card.active~.fee-card,
  .fee-card.active~.fee-card~.fee-card,
  .fee-card.active~.fee-card~.fee-card~.fee-card {
    /* no generic sibling selector reliable for absolute positions; handled via JS class if needed */
  }
}
/* ---------------------- APPRECIATION SECTION ---------------------- */
.appreciation {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  color: var(--white);
  text-align: center;
  padding: 6rem 10%;
  position: relative;
}

.appreciation h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
}

.appreciation h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.reason {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  max-width: 300px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.reason:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.reason h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.reason p {
  color: var(--white);
  opacity: 0.9;
}

/* ---------------------- CTA SECTION ---------------------- */
.cta-section {
  background: var(--white);
  text-align: center;
  padding: 5rem 10%;
}

.cta-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  color: var(--white);
  padding: 3rem 3.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-width: 950px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-card p {
  margin-bottom: 2rem;
  color: var(--gray-light);
}

.cta-card .cta-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  background: linear-gradient(to right, var(--gold), #f3d690, var(--gold));
  color: var(--blue-dark);
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(219,181,99,0.5);
}

.cta-card .cta-btn:hover {
  background-position: right center;
  box-shadow: 0 0 30px rgba(219,181,99,0.8);
  transform: translateY(-3px);
}

/*------------------------------------------------------------------------- Contact -------------------------------------------------------------------------*/

/* ---------------------- HERO ---------------------- */
.hero-contact,
.hero-page {
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 60%),
              linear-gradient(135deg, var(--blue-dark), var(--blue-steel), var(--blue-navy), var(--blue-dark), var(--blue-steel), var(--blue-navy));
  color: var(--white);
  text-align: center;
  padding: 8rem 1.5rem 9rem;
  position: relative;
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  overflow: hidden;
}

.hero-contact-content,
.hero-page-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-contact h1,
.hero-page h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-contact p,
.hero-page p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* ---------------------- CONTACT LAWYER SECTIONS ---------------------- */
.contact-lawyer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 10%;
  position: relative;
  background-image: linear-gradient(16deg, rgba(116, 116, 116,0.02) 0%, rgba(116, 116, 116,0.02) 25%,transparent 25%, transparent 96%,rgba(177, 177, 177,0.02) 96%, rgba(177, 177, 177,0.02) 100%),linear-gradient(236deg, rgba(148, 148, 148,0.02) 0%, rgba(148, 148, 148,0.02) 53%,transparent 53%, transparent 59%,rgba(56, 56, 56,0.02) 59%, rgba(56, 56, 56,0.02) 100%),linear-gradient(284deg, rgba(16, 16, 16,0.02) 0%, rgba(16, 16, 16,0.02) 46%,transparent 46%, transparent 71%,rgba(181, 181, 181,0.02) 71%, rgba(181, 181, 181,0.02) 100%),linear-gradient(316deg, rgba(197, 197, 197,0.02) 0%, rgba(197, 197, 197,0.02) 26%,transparent 26%, transparent 49%,rgba(58, 58, 58,0.02) 49%, rgba(58, 58, 58,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
}

.contact-lawyer.reverse {
  background-image: linear-gradient(45deg, rgba(14, 14, 14,0.03) 0%, rgba(14, 14, 14,0.03) 38%,rgba(250, 250, 250,0.03) 38%, rgba(250, 250, 250,0.03) 45%,rgba(113, 113, 113,0.03) 45%, rgba(113, 113, 113,0.03) 100%),linear-gradient(135deg, rgba(148, 148, 148,0.03) 0%, rgba(148, 148, 148,0.03) 36%,rgba(219, 219, 219,0.03) 36%, rgba(219, 219, 219,0.03) 63%,rgba(62, 62, 62,0.03) 63%, rgba(62, 62, 62,0.03) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gray-medium), transparent);
  margin: 2rem auto;
  width: 80%;
}

.lawyer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
}

.lawyer-photo {
  flex: 1 1 30%;
  border-radius: 14px;
  overflow: hidden;
}

.lawyer-photo img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(28,58,91,0.18);
  transition: transform 0.5s ease;
}

.lawyer-photo:hover img {
  transform: scale(1.04);
}

.lawyer-details {
  flex: 1 1 55%;
  color: var(--blue-dark);
}

.lawyer-details h2 {
  font-size: 2rem;
  font-family: "Frank Ruhl Libre", serif;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.lawyer-details p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 0.8rem;
}

.lawyer-details i {
  color: var(--gold);
  margin-right: 0.4rem;
}

.lawyer-details a {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 500;
}

.lawyer-details a:hover {
  color: var(--gold);
}

/* --- Alternate Layout for Reverse Section --- */
.contact-lawyer.reverse .lawyer-container {
  flex-direction: row-reverse;
}

/* ---------------------- GENERAL INFO ---------------------- */
.contact-general {
  background: 
  linear-gradient(to bottom, var(--blue-steel) 0%, transparent 60%),
  linear-gradient(to bottom right, var(--blue-muted) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 10%;
}

.general-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-general h2 {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-general p {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.7rem;
  color: rgba(255,255,255,0.9);
}

.contact-general i {
  color: var(--gold);
  margin-right: 0.5rem;
}

.contact-general a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.contact-general a:hover {
  color: var(--gold);
}

/* --- Schedule --- */
.schedule {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
}

.schedule h4 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.schedule p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .lawyer-container {
    flex-direction: column !important;
  }

  .lawyer-photo img {
    max-height: 350px;
  }

  .lawyer-details {
    text-align: center;
  }

  .lawyer-details h2 {
    font-size: 1.8rem;
  }
}

/* ---------------------- MAP & NOTE ---------------------- */
.contact-map {
  padding: 6rem 10% 7rem;
  text-align: center;
  position: relative;
}

.map-container {
  max-width: 1000px;
  height: 420px;
  margin: 0 auto 3rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 432px;
  display: block;
  border: none;
}

/* --- Legal Note (Highlight) --- */
.contact-note {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(28,58,91,0.12);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(28,58,91,0.08);
  font-size: 1rem;
  color: var(--blue-dark);
  line-height: 1.8;
  text-align: left;
  position: relative;
  transition: all 0.4s ease;
}

.contact-note::before {
  content: "i";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  color: var(--gold);
  font-family: "Frank Ruhl Libre", serif;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(28,58,91,0.35);
}

.contact-note:hover {
  box-shadow: 0 10px 30px rgba(28,58,91,0.15);
  transform: translateY(-4px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .contact-info {
    padding: 4rem 6%;
  }
  .contact-card {
    padding: 2rem 1.3rem;
  }
  .contact-note {
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

/* ---------------------- MAP & WAZE BUTTONS ---------------------- */
.map-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-map, .btn-waze {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-map:hover, .btn-waze:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #e7cc8a 100%);
  color: var(--blue-dark) !important;
  transform: translateY(-3px);
}

/*------------------------------------------------------------------------- Cazuri Mediatizate -------------------------------------------------------------------------*/

.cases-wrapper {
  max-width: 1100px;
  margin: -3.5rem auto 0;
  padding: 0 6% 6rem;
  position: relative;
  z-index: 3;
}

/* ---------------------- TABS ---------------------- */
.tabs-scroll-wrapper {
  position: relative;
  margin-bottom: 2.5rem;
}

.tabs-header {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28,58,91,0.1);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.tabs-header::-webkit-scrollbar {
  display: none;
}

.tabs-header.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.tab-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(28,58,91,0.12);
  border-radius: 50px;
  background: var(--white);
  color: var(--blue-dark);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  border-color: rgba(219,181,99,0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(28,58,91,0.12);
}

.tab-button.active {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-steel));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(28,58,91,0.28);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 50%;
  background: rgba(28,58,91,0.08);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tab-button.active .tab-count {
  background: var(--gold);
  color: var(--blue-dark);
}

.tabs-fader {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 16px;
}

.tabs-fader.left {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.tabs-fader.right {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.tabs-fader.show {
  opacity: 1;
}

/* ---------------------- TAB CONTENT ---------------------- */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeUp 0.5s ease both;
}

.section-box {
  background: var(--white);
  border-radius: 18px;
  padding: 2.6rem clamp(1.4rem, 4vw, 3rem);
  box-shadow: 0 10px 34px rgba(28,58,91,0.08);
  border: 1px solid rgba(28,58,91,0.06);
}

.section-box h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.7rem;
  color: var(--blue-dark);
  margin-bottom: 0.9rem;
  padding-bottom: 1.1rem;
}

.section-box h2 i {
  color: var(--gold);
  font-size: 1.4rem;
}

.section-box h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold), #f3d690);
}

/* ---------------------- CASE ITEMS ---------------------- */
.case-item {
  padding: 1.3rem 1.5rem;
  margin-top: 1.3rem;
  background: var(--light-gray);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.case-item:hover {
  transform: translateX(5px);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(28,58,91,0.1);
}

.case-item h3 {
  font-size: 1.08rem;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.case-item p {
  color: var(--gray-dark);
  line-height: 1.65;
  margin-bottom: 0;
}

.case-item a {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  margin-right: 0.6rem;
  padding: 0.35rem 0.9rem;
  background: rgba(28,58,91,0.06);
  color: var(--blue-dark);
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.case-item a:hover {
  background: var(--gold);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(219,181,99,0.4);
}

/* ---------------------- LEGAL NOTE ---------------------- */
.case-legal-note {
  margin-top: 2.5rem;
  padding: 1.6rem 2rem;
  background: linear-gradient(135deg, rgba(28,58,91,0.04), rgba(219,181,99,0.06));
  border: 1px solid rgba(28,58,91,0.1);
  border-radius: 14px;
  color: var(--gray-dark);
  font-size: 0.92rem;
  line-height: 1.7;
}

.case-legal-note strong {
  color: var(--blue-dark);
}

@media (max-width: 700px) {
  .cases-wrapper {
    margin-top: -2rem;
    padding: 0 5% 4rem;
  }

  .section-box {
    padding: 2rem 1.3rem;
  }

  .section-box h2 {
    font-size: 1.4rem;
  }

  .case-item {
    padding: 1.1rem 1.2rem;
  }
}

/*------------------------------------------------------------------------- Resurse -------------------------------------------------------------------------*/

.resources {
  padding: 6rem 6% 7rem;
  background: var(--light-gray);
}

.resources .container {
  max-width: 950px;
  margin: 0 auto;
}

.resources h2 {
  position: relative;
  font-family: "Frank Ruhl Libre", serif;
  font-size: 2.1rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.resources h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold), #f3d690);
}

.resources .intro {
  color: var(--gray-dark);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 3rem;
}

.resource-category {
  background: var(--white);
  border-radius: 14px;
  padding: 1.8rem clamp(1.3rem, 3vw, 2.2rem);
  margin-bottom: 1.4rem;
  box-shadow: 0 3px 12px rgba(28,58,91,0.05);
}

.resource-category h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 0.9rem;
}

.resource-category h3 i {
  color: var(--gold);
  font-size: 1rem;
}

.resource-category ul {
  list-style: none;
}

.resource-category li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.3rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

.resource-category li:not(:last-child) {
  border-bottom: 1px solid rgba(28,58,91,0.06);
}

.resource-category li::before {
  content: "\203A";
  position: absolute;
  left: 0.2rem;
  top: 0.65rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.resource-category li a {
  color: var(--blue-dark);
  font-weight: 500;
  transition: color 0.25s ease;
}

.resource-category li a:hover {
  color: var(--gold);
}

@media (max-width: 700px) {
  .resources {
    padding: 4.5rem 5% 4.5rem;
  }

  .resources h2 {
    font-size: 1.6rem;
  }

  .resource-category {
    padding: 1.6rem 1.3rem;
  }

  .resource-category h3 {
    font-size: 1.08rem;
  }
}
