/* cmsms stylesheet: a_responsive1.0-addons modified: Tuesday, September 30, 2025 11:53:37 AM */
@charset "utf-8";
/* ==================================================
  Main CSS Document - AdSolutions Responsive
  Version 1.0
  
  www.adsolutions.ro
================================================== */



/* === ULTRA WIDE v2.0 =========================== */
@media (min-width: 1200px) { .container { max-width: 1240px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (min-width: 1600px) { .container { max-width: 1440px; } }
@media (min-width: 1800px) { .container { max-width: 1560px; } }
@media (min-width: 2000px) { .container { max-width: 1680px; } }
/* opțional ultrawide:
@media (min-width: 2400px) { .container { max-width: 1760px; } } */

/* Utilitar pentru texte lungi: în WYSIWYG <div class="measure">…</div> */
.measure { max-width: 72ch; }

h5 {
    font-weight: 500;
}
.main-title {
  /*  background-color: #e5e5e5; */
}
.main-title h1 {
    font-weight: 500;
}
.sf-menu a {
  padding: 7px 15px;
  font-weight: 500;
}
.slider .slider-caption h2 {
  font-weight: 500;
}
.home-heading h1 {
  font-weight: 500;
  margin: 0px 0 -3px 0;
}
.home-parallax h3 {
    font-weight: 400;
}

/* Back to Practice Areas */
.back-to-practices { margin-top: 20px; text-align: left; }

.back-to-practices .btn-slider {
  display: inline-block;      /* override: în main.css e display:none */
  padding: 9px 16px;          /* compact ca în hero ajustat */
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  border-radius: 6px;
}
.back-to-practices .btn-slider i { margin-right: 6px; }

/* === FOOTER MEDIA QUERY MOBIL ========================= */

@media (max-width: 767.98px) {
  /* 1) Centrează TOATE textele în zona footer.dark */
  footer.dark,
  footer.dark .container,
  footer.dark .footer-big,
  footer.dark .footer-small,
  footer.dark *:not(td):not(th) {
    text-align: center !important;
  }

  /* 2) Centrează imagini / logo / iframe + elimină flotările */
  footer.dark img,
  footer.dark .logo,
  footer.dark .logo img,
  footer.dark iframe {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

  footer.dark img {
    max-width: 280px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

  /* 3) Butoane icon/social — pe centru */
  footer.dark .social-icons {
    justify-content: center !important;
  }

  /* 4) Coloanare Bootstrap (dacă există) — forțează centrare în coloană */
  footer.dark .row > [class*="col-"] {
    text-align: center !important;
  }

  /* 5) Liste din WYSIWYG — opțional: scoate indentarea dacă vrei aliniere perfectă
     (decomentează dacă îți trebuie)
  footer.dark ul,
  footer.dark ol {
    padding-left: 0 !important;
  } */
}

/* Main title (pagina interioară) — centrare pe mobil */
@media (max-width: 767.98px) {
  .main-title,
  .main-title .container {
    text-align: center !important;
  }
  .main-title .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .main-title h1,
  .main-title .main-subtitle {
    text-align: center !important;
  }

  /* Breadcrumbs: fără offset negativ, centrate, pe mai multe rânduri dacă e cazul */
  .main-title .breadcrumbs {
    margin: 8px 0 0 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    width: 100%;
  }
  .main-title .breadcrumb {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    margin: 0 4px 4px 4px;
  }
  .main-title .breadcrumb-text {
    margin-left: 6px;
  }
}
/* Footer (mobil foarte mic): spațiu înainte de coloana "OUR OFFICES" */
@media (max-width: 575.98px) {
  /* țintim strict coloana dreaptă din footer-big (ultima din rândul principal) */
  .footer-big .container > .row > div:last-child {
    margin-top: 30px; /* ajustează 24–36px după gust */
  }
  /* opțional: aliniem și titlul, dacă vrei să fie pe centru pe mobil mic */
  .footer-big .container > .row > div:last-child h5 {
    text-align: center;
  }
}

/* === Footer: Practice Areas în 2 coloane pe desktop =================== */
/* bază: o coloană (mobil/tabletă) */
.footer-practices .footerNav {
  column-count: 1;
  column-gap: 0;
  padding-left: 0;     /* sigur fără indent */
  margin: 0;
  list-style: none;
}

/* elementele nu se rup între coloane */
.footer-practices .footerNav li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 6px 0;
  line-height: 1.4;
  overflow-wrap: anywhere;   /* nume foarte lungi */
  hyphens: auto;
}

/* pe desktop: 2 coloane aerisite */
@media (min-width: 992px) {
  .footer-practices .footerNav {
    column-count: 2;
    column-gap: 28px; /* spațiu între coloane */
  }
}




/* === SLIDER HOMEPAGE =========================== */

/* 1) Coloana: mai îngustă și împinsă mai mult spre dreapta */
.slider .swiper-slide .container {
  display: flex;
  justify-content: flex-end;   /* ținem caption-ul în dreapta */
  align-items: center;
  height: 100%;
}
.slider .slider-caption {
  text-align: left;
  max-width: 520px;            /* mai îngust (de la ~720px) */
  width: 100%;
  margin-left: auto;           /* împinge blocul spre dreapta */
  margin-right: 5vw;           /* mai aproape de marginea dreaptă */
  padding: 0;
  background: transparent;
  border: 0;
}

/* 2) Tipografie mai mică */
.slider .slider-caption h2 {
  font-size: 32px;             /* mai mic decât 40px */
  line-height: 1.25;
  margin: 0 0 8px 0;
}
.slider .slider-caption p {
  font-size: 16px;             /* mai mic decât 18px */
  line-height: 1.55;
  margin: 0 0 14px 0;
}

/* 3) Buton mai mic + aliniat la stânga (inclusiv pe mobil) */
.slider .btn-slider {
  display: inline-block;       /* rămâne „legat” la stânga textului */
  font-weight: 700;
  letter-spacing: .3px;
  border-radius: 6px;
  padding: 9px 16px;           /* mai mic */
  font-size: 13px;             /* mai mic */
  opacity: 1;
}
.slider .btn-slider:hover { opacity: .9; }

/* 4) Responsive */
@media (max-width: 991.98px) {
  .slider .slider-caption {
    max-width: 440px;          /* și mai îngust pe tabletă */
    margin-right: 4vw;
  }
  .slider .slider-caption h2 { font-size: 28px; }
  .slider .slider-caption p  { font-size: 15.5px; }
  .slider .btn-slider        { padding: 8px 14px; font-size: 12.5px; }
}

@media (max-width: 767.98px) {
  .slider .swiper-slide .container {
    justify-content: flex-start;  /* pe mobil blocul pornește din stânga */
  }
  .slider .slider-caption {
    max-width: none;
    width: calc(100% - 24px);
    margin: 0 12px;
  }
  .slider .slider-caption h2 { font-size: 24px; }
  .slider .slider-caption p  { font-size: 15px; }
  .slider .btn-slider        { padding: 8px 14px; font-size: 12.5px; }
}

/* 5) O singură imagine în slider: ascundem săgețile */
.swiper-wrapper:has(> .swiper-slide:only-child) ~ .swiper-next,
.swiper-wrapper:has(> .swiper-slide:only-child) ~ .swiper-prev {
  display: none !important;
}
/* === HERO (buddyslider) — ecrane foarte late (4K) ==================== */
@media (min-width: 1600px) {
  .slider .slider-caption {
    margin-right: 3vw;   /* mută blocul mai mult în dreapta */
    max-width: 700px;     /* poți regla și lățimea */
  }
}
/* === Team Grid Navigator ========================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)); /* mobil */
  gap: 24px;
}

@media (min-width: 576px) {  /* sm */
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {  /* md */
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {  /* lg – desktop */
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* cardul ocupă frumos celula și nu „întinde” layout-ul */
.team-card { width: 100%; height: 100%; }

/* fallback dacă, dintr-un motiv, grid-ul nu e aplicat */
@supports not (display: grid) {
  .team-grid { display:flex; flex-wrap:wrap; margin:-12px; }
  .team-card { width: calc(25% - 24px); margin:12px; }
  @media (max-width: 991.98px) { .team-card { width: calc(33.333% - 24px); } }
  @media (max-width: 767.98px) { .team-card { width: calc(50% - 24px); } }
  @media (max-width: 479.98px) { .team-card { width: 100%; margin:12px 0; } }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow .25s ease, transform .2s ease, border-color .25s ease;
}

.team-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.08);      /* hover discret */
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.12);
}

.team-card__media {
  width: 100%;
  aspect-ratio: 3 / 4;            /* 3:4 portret; arată bine pentru headshot */
  border-radius: 10px;
  overflow: hidden;
  background: #f2f3f5;            /* placeholder plăcut dacă nu e încărcată poza */
  margin-bottom: 12px;
}
.team-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-card__body {
  width: 100%;
}

.team-card__name {
  display: block;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  margin: 2px 0 4px 0;
}

.team-card__role {
  display: inline-block;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 14px;
  opacity: .7;
}

/* Spacing și tipografie pe ecrane mai mari */
@media (min-width: 768px) {
  .team-grid { gap: 28px; }
  .team-card { padding: 18px; }
}
@media (min-width: 992px) {
  .team-grid { gap: 32px; }
  .team-card { padding: 20px; border-radius: 14px; }
  .team-card__name { font-size: 19px; }
}
@media (min-width: 1400px) {
  .team-grid { gap: 36px; }
}
/* Form Styles 
==================================================  */ 
/* Custom Overrides */
.form-custom .form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-custom .form-control {
  background-color: #f4f4f4;
  color:#c3a970;
  border: 1px solid #444;
  padding: 15px 12px;
  height: 50px;
  border-radius: 8px;
  font-size: 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-custom .form-control::placeholder {
  color: #666; /* Placeholder color */
}

.form-custom .form-control:focus,
.form-custom .form-control:hover {
  background-color: #ffffff;
  border-color: #888;
}

/* Autofill Styles 
.form-custom .form-control:-webkit-autofill {
  background-color: #030408 !important;
  color: #ddd !important;
  -webkit-text-fill-color: #ddd !important;
  box-shadow: 0 0 0px 1000px #030408 inset;
}

.form-custom .form-control:-webkit-autofill:focus,
.form-custom .form-control:-webkit-autofill:hover {
  background-color: #111116 !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0px 1000px #111116 inset;
} */

/* Specific Styles for Textarea */
.form-custom textarea.form-control {
  height: auto;
  min-height: 90px; /* Echivalent cu aproximativ 3 linii */
  resize: vertical; /* Permite utilizatorului să ajusteze înălțimea */
}

/* Stil buton submit */
.form-custom .btn-custom-submit {
  background-color: #c3a970; 
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.form-custom .btn-custom-submit:hover {
  background-color: #c3a970; /* Negru la hover */
  color: white;
}

/* Stil buton reset (gri) */
.form-custom .btn-custom-reset {
  background-color: #6c757d; /* Gri */
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.form-custom .btn-custom-reset:hover {
  background-color: #5a6268; /* Gri mai închis la hover */
}

/* Error Styles */
.form-custom .error {
  list-style: none;
  padding: 0;
  color: #f00;
  margin-bottom: 10px;
}

.form-custom .error li {
  font-size: 14px;
}
/* ===== Mobile header tweaks (final) ===== */
@media (max-width: 991.98px) {

  /* 0) valori pe care le poți regla rapid */
  :root {
    --logo-max-mob: 55px;   /* SUS (homepage top) */
    --logo-sm-mob: 40px;    /* DUPĂ SCROLL (header-smaller) */
    --logo-sm-top: 6px;     /* offset de sus după scroll */
    --tap: 60px;            /* înălțime header & aria de tap pentru iconuri */
    --tap-w: 60px;          /* lățimea zonelor search / burger */
  }

  /* 1) scoatem separatoarele verticale */
  .logo { border-right: none !important; }
  .search-trigger { border-left: none !important; }
  .mobile-nav-trigger { border-left: none !important; }

  /* 2) ascundem search când ești SUS (revine după scroll) */
  header:not(.header-smaller) .search-wrapper {
    display: none !important;
  }

  /* 3) dimensiuni consistente de header & hit-area pentru iconuri */
  header,
  .search-trigger,
  .mobile-nav-trigger {
    height: var(--tap);
  }
  .search-trigger,
  .mobile-nav-trigger {
    width: var(--tap-w);
  }

  /* 4) logo: mare SUS, mai compact DUPĂ SCROLL + offset reglabil */
  .logo a img {
    display: block;                 /* elimină spațiul de baseline */
    width: auto;
    height: auto !important;
    max-height: var(--logo-max-mob);
  }
  header.header-smaller .logo a img {
    max-height: var(--logo-sm-mob);
    margin-top: var(--logo-sm-top); /* ⇦ ajustezi distanța față de top după scroll */
  }

  /* 5) aliniere verticală iconuri (search == burger) */
  .search-trigger i {
    top: 50% !important;
    transform: translateY(-50%);
  }
  /* burger-ul e desenat cu 3 linii (0,6,12px) — centrăm blocul lor */
  .mobile-nav-trigger span:before {
    top: 50% !important;
    margin-top: -9px !important; /* 3 linii * 3px / 2 ≈ 9px */
  }
}
@media (max-width: 991.98px) {
  /* centrează burger-ul în containerul de 60px lățime */
  .mobile-nav-trigger span:before {
    left: 20px !important;   /* era 24px pentru container de 70px */
    top: 50% !important;
    margin-top: 9px !important;
  }
}
