*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: var(--font1);
  font-weight: 300;
  font-size: clamp(70px, 4vw, 61px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--base4);
}

.hero h1 .accent,
.accent {
  color: var(--base3);
}

h2 {
  font-size: clamp(24px, 4vw, 52px);
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 300;
}

h3 {
  font-size: clamp(30px, 4vw, 25px);
  color: var(--base4);
  margin-bottom: 10px;
}

h4 {
  font-size: clamp(12px, 4vw, 14px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

:root {
  --base1: #dde2e3;
  --base2: #9aacb8;
  --base3: #b37c57;
  --base4: #3c455c;
  --base5: #60412b;
  --radius: 16px;
  --radius-25: 25px;
  --font1: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: url(img/robotean-marble-whhite.jpg) !important;
  /* background: var(--base1); */
  font-family: var(--font1);
  color: var(--base4);
  font-size: 18px;
  line-height: 1.6;
  background-size: cover;
  background-repeat: no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── SECTIONS ─── */
/* section {
  padding-top: 100px;
} */

.section-eyebrow {
  text-align: center;
}
.section-intro-headline {
  text-align: center;
  margin-bottom: 40px;
}

.container {
  max-width: 70%;
  margin: 0 auto;
}

.section-inner {
  max-width: 70%;
  margin: 0 auto;
}

.brown {
  color: var(--base3);
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0 15px;
  border-radius: 0 0 16px 16px;
  transition:
    background 0.3s ease,
    height 0.3s ease,
    box-shadow 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 0 15px;
  border-radius: 0 0 16px 16px;
  box-shadow: rgba(0, 0, 0, 0.7) 0px 7px 29px 0px;
  height: 80px; /* se micșorează puțin */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--base3);
  transition: all 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 52px;
  border-radius: var(--radius-25);
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 0%;
  top: 0;
  left: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn:hover::before {
  width: 100%;
}

/* ── Green ── */
.btn-green {
  background: var(--base2);
  color: var(--base4);
  padding: 10px 50px;
}

.btn-green::before {
  background: var(--base3);
}

.btn-green:hover {
  color: var(--base1);
}

.btn-send {
  background: rgba(179, 124, 87, 1);
  color: var(--base1);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: none;
  font-family: var(--font1);
  display: inline;
}

.btn-send::before {
  background: var(--base4);
}

.btn-send:hover {
  color: var(--base1);
}

/* .btn-green:active::before {
  background: var(--base3);
  transition: background 20s;
} */

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--base4);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ── Outline ── */
.btn-outline {
  background: var(--base1);
  color: var(--base4);
  padding: 10px 50px;
}

.btn-outline::before {
  background: var(--base3);
}

.btn-outline:hover {
  color: var(--base1);
}

/* .btn-outline:active::before {
  background: var(--base3);
  transition: background 0s;
} */

/*--- HERO FORM ---*/
.contact-form-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form-hero input::placeholder,
.contact-form-hero textarea::placeholder {
  color: var(--base4);
}

.contact-form-hero input,
.contact-form-hero textarea {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 18px;
  border: none;
  font-family: var(--font1);
}

textarea {
  resize: none;
}
.contact-form-hero .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 15px;
  font-weight: 500;
  min-height: 1.4em;
}
.form-status.ok {
  color: #1f6b3a;
}
.form-status.error {
  color: #a12a2a;
}
.contact-form-hero .terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.contact-form-hero .terms input {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  padding: 0;
  margin-top: 1px;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  accent-color: var(--base3);
}
.contact-form-hero .terms a {
  color: var(--base3);
  text-decoration: underline;
}
/* reCAPTCHA: card rotunjit, se micșorează singur ca să încapă (vezi form.js) */
.grecaptcha-badge {
  visibility: hidden;
}

.captcha-note {
    margin-top:-20px !important;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.8;
  text-align:center;
}
.captcha-note a {
  text-decoration: underline;
}
/* .contact-form-hero button {
  padding: 10px 50px;
  transition: all 0.3s ease;
  display: inline;
}
.contact-form-hero button:hover {
} */
/* ─── HERO ─── */

.hero {
  margin-top: -100px;
  background: url("/img/robotean-hero-sky.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1; /* textul deasupra canvas-ului */
  min-height: 100vh; /* să umple și el același spațiu */
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}
.hero-content-left {
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 28px;
  min-height: 450px;
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-sub {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  max-width: 80%;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── TRUST BAR ─── */

.trust-bar-wrapper {
  overflow: hidden;
  width: 100%;
}

.trust-bar-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: scroll-banner 20s linear infinite;
  background-color: var(--base4);
  height: 150px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 35px;
  font-weight: 200;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--base1);
  font-family: var(--font1);
}

.trust-icon {
  width: 40px;
  height: 40px;
  color: var(--base3);
  flex-shrink: 0;
}

@keyframes scroll-banner {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── NICHES ─── */
/* .niches .section-inner {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 60px 25px 60px 25px;
} */

#servicii {
  padding-top: 100px;
  background-position: center;
  background-size: cover;
}

.niche-card {
  background: var(--base2);

  border-radius: var(--radius);
  padding: 28px 28px 28px 28px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: 300px !important;
  position: relative;
  overflow: hidden;
}

/* .niche-card::before,
.feature-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 0%;

  transition:
    width 0.5s ease,
    height 0.5s ease;
  border-top-right-radius: 15px;
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: float 1s ease-in-out infinite;
  z-index: 0;
  transition: all 1s ease-in-out;
}

.niche-card::before {
  width: 150px;
  height: 150px;
  background: rgba(88, 158, 50, 0.5);
  top: -40px;
  left: -40px;
  animation-delay: 0s;
}
.niche-card::after {
  width: 120px;
  height: 120px;
  background: rgba(29, 243, 65, 0.3);
  bottom: -30px;
  right: -30px;
  animation-delay: -3s; /* pornește din mijlocul animației 
}*/

.niche-card > * {
  position: relative;
  z-index: 1;
}

/* @keyframes float {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(15px, -15px) scale(1.1);
  }
  66% {
    transform: translate(-10px, 10px) scale(0.95);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
} */

/* .niche-card:hover::before,
.feature-item:hover::before {
  width: 90%;
  height: 90%;
}

.niche-card:hover::before,
.niche-card:hover::after {
  opacity: 0.8;
  animation-duration: 3s;  
}

.niche-card:hover,
.feature-item:hover {
  border: none;
} */

.niche-icon {
  font-size: 50px;
}

.niche-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.niche-card h3 {
  margin-bottom: 10px;
  font-weight: 300;
}

.niche-card p {
  width: 80%;
  line-height: 1.6;
  text-align: center;
  font-weight: 300;
}

.niches-cta {
  text-align: center;
  font-weight: 300;
  font-size: 30px;
}

/* ─── OFFER FEATURES ─── */
.offer-features {
  padding-top: 100px;
  padding-bottom: 100px;
}

.offer-features h2 {
  color: var(--base3);
}

.offer-features-item .text-right {
  text-align: right;
}

.offer-features-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* ← schimbă din center în flex-start */
  gap: 100px;
  justify-content: space-between;
  margin-bottom: -30px;
}

.offer-text-div {
  width: 45%;
  /* background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */
  border-radius: var(--radius-25);
  padding: 60px 25px 60px 25px;
  align-self: center; /* ← înălțimea egală cu imaginea */
}

.offer-text-div h3 {
  font-weight: 300;
}

.offer-image-div {
  width: 50%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* fără background aici */
}

.offer-image-div::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0;
  transition: opacity 4s ease;
  z-index: 0;
}

.offer-image-div.visible::before {
  opacity: 1;
}

/* background diferit pe fiecare */
.offer-features-item:nth-child(1) .offer-image-div::before {
  background-image: url("/img/robotean-background1.png");
}

.offer-features-item:nth-child(2) .offer-image-div::before {
  background-image: url("/img/robotean-background2.png");
}

.offer-features-item:nth-child(3) .offer-image-div::before {
  background-image: url("/img/robotean-background3.png");
}

.offer-image-div img {
  position: relative;
  z-index: 1;
  width: 80%; /* ← poza mai mică față de container */
  max-width: 500px; /* ← limită maximă */
  height: auto;
  display: block;
}

/* ─── ABOUT ME ─── */

.about-me {
  padding-top: 100px;
  padding-bottom: 60px;
}

.about-me .about-me-container {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-me .about-me-div {
  width: 45%;
}

.about-me .about-me-image {
  width: 40%;
}
.about-me-image img {
  width: 100%;
  border-radius: var(--radius);
}

.about-me h3 {
  font-weight: 300;
}

/* ─── FEATURES ─── */

.features-slider {
  padding: 0 50px;
  position: relative;
}
.features-slider .slick-dots {
  /* position: relative;   
  bottom: auto;
  margin-top:0px;
  background: red; */
  display: none;
}

.features-slider .slick-slide {
  margin: 0 12px;
}

/* Dots */
.features-slider .slick-dots li button:before {
  color: var(--green);
  font-size: 10px;
  opacity: 0.4;
}

.features-slider .slick-dots li.slick-active button:before {
  color: var(--green);
  opacity: 1;
}

/* Săgeți */
.features-slider .slick-prev,
.features-slider .slick-next {
  width: 40px;
  height: 40px;

  border-radius: 50%;
  z-index: 2;
  transition: border-color 0.2s;
}

.features-slider .slick-prev {
  left: -10px;
}
.features-slider .slick-next {
  right: -10px;
}

.features-slider .slick-prev:hover,
.features-slider .slick-next:hover {
  background: rgba(29, 243, 65, 0.15);
  border-color: var(--green);
}

.features-slider .slick-prev:before,
.features-slider .slick-next:before {
  color: var(--green);
  font-size: 20px;
}

/* ─── PROJECTS ─── */

.projects {
  /* background:url(/img/robotean-marble-light.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: 100px;
}

.projects-grid {
  display: flex;

  gap: 20px;
  margin-bottom: 32px;
  justify-content: center;
  align-items: center;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-25);
  transition:
    transform 0.2s,
    border-color 0.2s;
  position: relative; /* necesar pentru overlay */
  width: 40%;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

/* overlay-ul */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(179, 124, 87, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.overlay-top p {
  color: var(--base4);
  font-size: 60px;
}

.overlay-bottom p {
  color: var(--base1);
  font-size: 25px;
  line-height: 1.5;

  position: absolute;
  bottom: 120px;
}

/* .project-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--base2);
} */

.project-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/10;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.project-thumb-placeholder img {
  width: 100%;
}

.project-info {
  font-size: 32px;
  text-align: center;
  font-weight: 400;
}

.project-type {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.link-arrow {
  font-size: 24px;
  color: var(--base1);
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 50px;
}

.link-arrow:hover {
  text-decoration: underline;
}

.projects-more {
  text-align: center;
}

/* ─── PROCESS ─── */

.process-steps .slick-slide {
  display: flex !important; /* Slick pune inline style, ai nevoie de !important aici */
  justify-content: center;
  border-radius: 50px;
}

.step {
  padding: 10px 10px 10px 10px;
}

.step-num {
  font-size: 178px;
  padding-right: 20px;
  width: 30%;
}

.step-info {
  flex-direction: column;
  display: flex;
  text-align: left;
  width: 60%;
}

.step-info h3 {
  min-height: 70px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: var(--base3);
  font-weight: 300;
}

.process-steps .step {
  display: flex;

  align-items: center;

  text-align: center;
}

.process .section-intro-headline {
  margin-bottom: -20px;
}

/* ─── PRICING ─── */

.pricing .section-inner {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pricing-details {
  width: 30%;
}

.pricing-list {
  width: 60%;
}

.price-row {
  background-color: var(--base2);
  padding: 20px;
  transition: all 0.6s ease;

  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%; /* ca toate cardurile să aibă aceeași înălțime în rândul flex */
  border-radius: var(--radius-25);
}
.pricing-slider .slick-slide:not(.slick-center) {
  opacity: 0.5;
  filter: blur(2px);
  scale: 0.87;
}

.pricing-slider .slick-center {
  opacity: 1;
  filter: blur(0);
}

.pricing .small-business {
  background-color: var(--base3);
  color: var(--base1);
}

.pricing .small-business .italic {
  color: var(--base1);
}

.pricing .small-business a:hover::before {
  background: var(--base4);
  color: var(--base3);
}

.price-row-info {
  flex: 1; /* ocupă tot spațiul disponibil, împinge butonul jos */
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.price-row-list {
  flex: 1; /* lista se extinde, dar nu mai e nevoie dacă ai deja flex pe info */
}

.price-row a {
  align-self: flex-start; /* sau center, după cum vrei lățimea butonului */
}
.price-row h3 {
  margin-bottom: 15px;

  font-weight: 400;
}
.italic {
  font-style: italic;
  color: var(--base3);
  font-weight: var(--font1);

  font-size: 30px;
}

.italic-small {
  font-style: italic;
  color: var(--base4);
  font-size: 18px;
}

.price-icon img {
  height: 100px;
  background-color: var(--green);

  padding: 20px;
}

.price-row-details {
  margin-top: 10px;
  margin-bottom: 10px;
}

.price-row-amount {
  font-size: 30px;
  font-weight: 600;

  font-style: italic;
}
.price-row-amount .italic {
  font-size: 40px;
}

ul {
  list-style-type: none;
}

.price-row-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--text);
}

.price-row-list li:last-child {
  border-bottom: none;
}

.price-row-list li::after {
  content: "✓";
  color: #000;
  font-weight: 700;
  font-size: 11px;
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── ABOUT ─── */

/* ─── TESTIMONIALS ─── */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.quote-mark {
  font-size: 60px;
  color: var(--green);
  opacity: 0.25;
  position: absolute;
  top: 12px;
  left: 22px;

  line-height: 1;
}

.testi-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-top: 16px;
}

.testi-stars {
  color: #f5c518;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.testi-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.testi-city {
  font-size: 12px;
  color: var(--muted);
}

/* ─── CTA STRIP ─── */
.cta-strip {
  padding: 60px 40px;
  text-align: center;
}

.cta-strip .contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-strip .contact-row h2,
.cta-strip .contact-row a {
  color: var(--base3);
}
.cta-strip .contact-row h2 {
  color: var(--base1);
}

.cta-strip .contact-row a:hover {
  color: var(--base1);
}

.cta-strip .contact-row h2:hover {
  color: var(--base3);
}

.cta-strip .contact-row a,
.cta-strip .contact-row h2 {
  transition: color 0.2s ease;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.contact-row h2 {
  font-size: 35px;
  color: var(--base3);
  margin-top: 10px;
}

/* ─── FOOTER ─── */
footer {
  background: url(img/robotean-marble-dark.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}

.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: var(--base1);
}
.footer-brand {
  text-align: center;
  font-size: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 42px;
  margin: 0 70px;
  text-align: right;
}

.footer-brand p,
.footer-col h4 {
  color: var(--base1);
}

footer .logo {
  color: white;
  margin-top: -30px;
  margin-bottom: -10px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a,
.footer-contact a {
  color: var(--base1);
  transition: color 0.2s;
}

.footer-col ul a:hover,
.footer-contact a:hover {
  color: var(--base3);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.info-firma {
  font-size: 14px;
  color: var(--base1);
  line-height: 1.5;
}

.social-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;

  background: var(--base3);
  border-color: var(-- ase3);
  color: var(--base1);

  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.social-btn:hover {
  background: var(--base4);
  border-color: var(-- ase3);
  color: var(--base1);
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;

  margin-top: 20px;
}

/* WHATSAPP FLOAT */
/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}

/* ─── PAGINI LEGALE ─── */
.legal-nav {
  position: relative;
}

.legal-page {
  max-width: 860px;
  margin: 10px auto 60px;
  padding: 0 15px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 40px;
}

.legal-card h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 8px;
}

.legal-card .legal-updated {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 30px;
}

.legal-card h2 {
  font-size: clamp(20px, 3vw, 26px);
  color: var(--base3);
  margin: 32px 0 10px;
  font-weight: 400;
}

.legal-card p,
.legal-card li {
  font-size: 16px;
  line-height: 1.7;
}

.legal-card p {
  margin-bottom: 12px;
}

.legal-card ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-card a {
  color: var(--base3);
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-card th,
.legal-card td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(60, 69, 92, 0.2);
  vertical-align: top;
}

.legal-card th {
  background: rgba(60, 69, 92, 0.08);
}

.legal-footer {
  padding-top: 30px;
}
.legal-footer a:hover {
  color: var(--base3);
}


/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 40px;
  }
  .niches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  section {
    padding: 0px 20px;
  }
  .process .niches-cta {
    margin-bottom: 40px;
  }

  .process {
    margin-bottom: 60px;
  }

  .trust-bar {
    gap: 24px;
    padding: 16px 20px;
  }
  .cta-strip {
    padding: 48px 20px;
  }
  footer {
    padding: 40px 20px 20px;
  }
}

@media (max-width: 600px) {
  .niches-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── RESPONSIVE ─── */

/* ============ LAPTOP ≤ 1320px ============ */
@media (max-width: 1550px) {
  .container,
  .section-inner {
    max-width: 85%;
  }
  nav.container {
    max-width: 84%;
  }
  .logo a,
  .nav-links a,
  nav .btn {
    white-space: nowrap;
  }
  .nav-links {
    gap: 24px;
    font-size: 16px;
  }
  nav .btn {
    padding: 8px 24px;
    font-size: 14px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-content {
    gap: 40px;
  }
  .hero-sub {
    max-width: 100%;
  }

  .niches-cta {
    font-size: 26px;
  }

  .offer-features-item {
    gap: 50px;
  }
  .offer-image-div {
    min-height: 550px;
  }

  .project-info {
    font-size: 26px;
  }
  .overlay-top p {
    font-size: 48px;
  }
  .overlay-bottom p {
    font-size: 20px;
    bottom: 100px;
  }

  .step-num {
    font-size: 130px;
  }

  .pricing .section-inner {
    gap: 30px;
  }
  .pricing-details {
    width: 35%;
  }
  .pricing-list {
    width: 60%;
  }

  .footer-col {
    margin: 0 40px;
  }
  .contact-row h2 {
    font-size: 28px;
  }
}
/* ============ NAV → BURGER ≤ 1050px ============ */
@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }
  nav .btn {
    margin-left: auto;
    margin-right: 8px;
  }
  .nav-links.open {
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 20px 0px;
  }
  .nav-links.open a {
    display: block;
    padding: 14px 0px;
    border-bottom: 1px solid rgba(60, 69, 92, 0.15);
  }
  .nav-links.open li:last-child a {
    border-bottom: none;
  }
}
/* slick dezactivează centerMode sub 1200px (vezi main.js),
   deci nu mai există .slick-center și toate cardurile ar rămâne blurate */
@media (max-width: 1200px) {
  .pricing-slider .slick-slide:not(.slick-center) {
    opacity: 1;
    filter: none;
    scale: 1;
  }
}

/* ============ TABLETĂ ≤ 900px ============ */
@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .container,
  .section-inner {
    max-width: 90%;
  }

  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 36px !important;
  }

  h3 {
    font-size: 26px;
  }

  nav {
    height: 80px;
  }
  .nav-links {
    gap: 20px;
    font-size: 16px;
  }
  .btn {
    padding: 10px 30px;
    font-size: 14px;
  }
  .btn-green,
  .btn-outline {
    padding: 10px 30px;
  }

  /* hero */
  .hero {
    margin-top: -80px;
    padding: 120px 0 50px;
    min-height: auto;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 0;
  }
  .hero-content-left {
    min-height: auto;
  }

  /* trust bar */
  .trust-bar-track {
    height: 110px;
    gap: 28px;
  }
  .trust-item {
    font-size: 26px;
  }
  .trust-icon {
    width: 30px;
    height: 30px;
  }

  #servicii,
  .offer-features,
  .about-me {
    padding-top: 60px;
  }
  .niches-cta {
    font-size: 22px;
  }
  .section-intro-headline {
    margin-bottom: 30px;
  }
  .niche-card {
    min-height: 260px !important;
  }
  .niche-card p {
    width: 100%;
  }

  /* offer features: coloană, imagine deasupra textului */
  .offer-features {
    padding-bottom: 30px;
  }
  .offer-features-item {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
  }
  .offer-image-div {
    order: -1;
    width: 100%;
    min-height: 420px;
  }
  .offer-text-div {
    width: 100%;
    padding: 20px 0;
  }
  .offer-features-item .text-right {
    text-align: left;
  }

  /* proiecte */
  .projects {
    padding-bottom: 60px;
  }
  .project-card {
    width: 48%;
  }
  .project-info {
    font-size: 18px;
  }
  .overlay-top p {
    font-size: 34px;
  }
  .overlay-bottom p {
    font-size: 16px;
    bottom: 80px;
  }
  .link-arrow {
    font-size: 18px;
  }

  /* proces */
  .step-num {
    font-size: 100px;
    padding-right: 10px;
  }

  /* prețuri */
  .pricing .section-inner {
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }
  .pricing-details,
  .pricing-list {
    width: 100%;
  }

  /* despre */
  .about-me .about-me-container {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
  .about-me .about-me-div {
    width: 100%;
  }
  .about-me .about-me-image {
    width: 60%;
  }

  /* footer */
  .cta-strip {
    padding: 40px 20px;
  }
  .footer-brand {
    font-size: 32px;
  }
  .footer-top {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
  }
  .footer-col {
    margin: 0 20px;
    gap: 24px;
  }
}

/* ============ TELEFON ≤ 700px ============ */
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container,
  .section-inner {
    max-width: 92%;
  }

  h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  
   .legal-card {
    padding: 24px 18px;
  }
  .legal-card p,
  .legal-card li {
    font-size: 15px;
  }

  /* nav: fără burger momentan, ascundem linkurile */

  nav.container {
    height: 70px;
    max-width: 100%;
    padding: 0 15px;
  }
  .burger {
    display: flex;
  }
  nav .btn {
    margin-left: auto;
    margin-right: 8px;
  }
  .logo a {
    font-size: 15px;
    white-space: nowrap;
  }
  nav .btn {
    padding: 8px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  /* hero */
  .hero {
    margin-top: -70px;
    padding: 100px 0 40px;
  }
  .hero-content-left {
    padding: 20px;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    justify-content: center;
    width: 100%;
  }
  .contact-form-hero input,
  .contact-form-hero textarea {
    padding: 14px;
  }
  .btn-send {
    justify-content: center;
    width: 100%;
  }

  /* trust bar */
  .trust-bar-track {
    height: 80px;
    gap: 22px;
  }
  .trust-item {
    font-size: 18px;
  }
  .trust-icon {
    width: 22px;
    height: 22px;
  }

  #servicii,
  .offer-features,
  .about-me {
    padding-top: 40px;
    margin-bottom: 0px;
  }
  .niches-cta {
    font-size: 17px;
  }
  .niches-cta br,
  .offer-features .niches-cta br,
  .projects .niches-cta br,
  .process .niches-cta br {
    display: none;
  }

  /* slider-e */
  .features-slider {
    padding: 0 30px;
  }
  .features-slider .slick-slide {
    margin: 0 6px;
  }
  .features-slider .slick-prev {
    left: -8px;
  }
  .features-slider .slick-next {
    right: -8px;
  }

  /* offer features */
  .offer-image-div {
    min-height: 300px;
  }
  .offer-image-div img {
    width: 90%;
  }

  /* proiecte */

  .projects {
    margin-bottom: -20px;
  }
  .projects-grid {
    flex-direction: column;
    gap: 30px;
  }
  .project-card {
    width: 100%;
  }
  .overlay-top p {
    font-size: 28px;
  }
  .overlay-bottom p {
    font-size: 15px;
    bottom: 70px;
  }
  .project-info {
    font-size: 20px;
    text-align: left;
    padding: 20px 20px 0px 20px;
  }

  .project-overlay {
    display: none;
  }

  /* proces */
  .step-num {
    padding-right: 8px;
  }
  .step-info {
    width: 100% !important;
  }
  .step-info h3 {
    min-height: 50px;
    font-size: 28px;
  }

  /* prețuri */

  .pricing-details h2 {
    display: none;
  }
  .price-row {
    padding: 16px;
  }
  .italic {
    font-size: 24px;
  }
  .price-row-amount .italic {
    font-size: 30px;
  }
  .price-icon img {
    height: 70px;
    padding: 14px;
  }

  .pricing .slick-slide {
    height: 680px !important;
    margin-left: 10px;
    margin-right: 10px;
    align-content: flex-end;
    padding-bottom: 30px;
  }

  /* despre */
  .about-me {
    padding-bottom: 40px;
  }
  .about-me .about-me-image {
    width: 100%;
  }

  /* footer */
  .cta-strip {
    padding: 30px 15px;
  }
  .cta-strip .contact-row {
    gap: 0px;
  }
  .contact-row {
    display: flex;
    flex-direction: column;
  }

  .contact-row h2 {
    font-size: 20px !important;
  }
  .footer-brand,
  .contact-item a {
    font-size: 25px;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer-col {
    margin: 0;
    text-align: center;
    align-items: center;
  }
  .footer-col ul {
    align-items: center;
  }
  .social-row {
    justify-content: center;
  }
  .footer-bottom span {
    display: block;
  }
  footer {
    padding: 0;
    padding-top: 20px;
  }

  .footer-section {
    padding: 0px;
    padding-top: 30px;
  }
}

@media (max-width: 380px) {
  nav .btn {
    display: none;
  }
  .burger {
    margin-left: auto;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}
