/* ================================================================
   DLM Consulting – Rólunk oldal | styles.css
   Refaktorált, Flexbox-alapú CSS – pozicionálás nélkül
   ================================================================ */

/* ----------------------------------------------------------------
   GLOBÁLIS ALAPBEÁLLÍTÁSOK
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background: #ffffff;
  font-family: "Raleway-Medium", sans-serif;
  color: #1c232b;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ----------------------------------------------------------------
   TIPOGRÁFIAI SEGÉDOSZTÁLYOK
   ---------------------------------------------------------------- */
.section-label-red {
  color: #e40613;
  font-family: "Raleway-SemiBold", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-label-red-center {
  color: #e40613;
  font-family: "LibreBaskerville-Medium", georgia;
  font-size: 1.5625rem;
  line-height: 2.3125rem;
  font-weight: 500;
  text-align: left;
}

.section-title-dark {
  color: #1c232b;
  font-family: "LibreBaskerville-Bold", georgia;
  font-size: 1.5625rem;
  line-height: 2.3125rem;
  font-weight: 500;
}

.section-title-white {
  color: #ffffff;
  font-family: "LibreBaskerville-Bold", georgia;
  font-size: 1.5625rem;
  line-height: 2.3125rem;
  font-weight: 500;
}

.header__nav a.active {
    border-bottom: 2px solid #e40613;
}

.body-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5625rem;
  color: var(--color-dark);
  max-width: 37.5rem;
  text-align: justify;
}

.text-dark { color: #1c232b; }
.text-hidden { color: #ffffff; }
.center-text { text-align: center; }

/* ----------------------------------------------------------------
   HEADER / NAVIGÁCIÓ
   ---------------------------------------------------------------- */
.site-header {
  background: #ffffff;
  width: 100%;
  padding: 0 20rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.375rem;
  /* Gradient szeparátor alján */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(228, 228, 228, 1) 100%
  );
  background-size: 100% 3.125rem;
  background-position: bottom;
  background-repeat: no-repeat;
}

.logo {
  width: 10.05%;
  min-width: 120px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  color: #1c232b;
  font-family: "Raleway-SemiBold", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-lang-box {
  background: #e40613;
  border-radius: 0.3125rem;
  width: 2.5rem;
  height: 2.5rem;
}

.nav-lang {
  color: #ffffff;
  font-family: "Raleway-Bold", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-red-line {
  width: 0.1875rem;
  height: 2.625rem;
  background: #e40613;
  /* Ez az eredeti kódban egy vertikális vonal volt az üzletági menünél */
  display: none; /* vizuálisan nem szükséges a flexbox layout-ban */
}

/* ----------------------------------------------------------------
   INTRO SZEKCIÓ – CÉG BEMUTATÁSA
   ---------------------------------------------------------------- */
.intro-section {
  padding: 3rem 20rem 2rem;
}

.intro-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-columns {
  display: flex;
  gap: 4.5rem;
  margin-top: 0.5rem;
}

.intro-col {
  flex: 1;
}

/* ----------------------------------------------------------------
   HERO BANNER
   ---------------------------------------------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
    color: #ffffff;
    font-family: "LibreBaskerville-SemiBold", georgia;
    font-size: 1.5625rem;
    line-height: 2.8125rem;
    /* font-weight: 700; */
    text-align: left;
    width: 40.4375rem;
    max-width: 90%;
}

/* ----------------------------------------------------------------
   VEZETŐ SZEKCIÓ – PINTÉR MÓNIKA
   ---------------------------------------------------------------- */
.leader-section {
  padding: 2.5rem 20rem;
}

.leader-inner {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.leader-photo-col {
  flex: 0 0 auto;
}

.leader-photo {
  width: 10rem;
  height: auto;
  border-radius: 0.25rem;
}

.leader-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leader-red-line {
  width: 3.1875rem;
  height: 0.125rem;
  background: #e40613;
  border: none;
}

.leader-name {
  color: #1c232b;
  font-family: "LibreBaskerville-Bold", georgia;
  font-size: 1.5625rem;
  line-height: 2.3125rem;
  font-weight: 700;
}

.leader-title {
  color: #1c232b;
  font-family: "Raleway-Medium", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5625rem;
  font-weight: 500;
}

.leader-ellipses {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0.5rem 0;
}

.ellipse-dot {
  display: block;
  background: #e40613;
  border-radius: 50%;
  width: 0.5625rem;
  height: 0.5625rem;
}

.leader-contact {
  color: #1c232b;
  font-family: "Raleway-Bold", sans-serif;
  font-size: 1.25rem;
  line-height: 2.1875rem;
  font-weight: 700;
}

.leader-competencies-col {
  flex: 1;
}

.competencies-text {
  color: #1c232b;
  font-family: "Raleway-Medium", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6875rem;
  font-weight: 400;
  text-align: justify;
}

.competencies-bold {
  font-family: "Raleway-Bold", sans-serif;
  font-weight: 700;
}

.competencies-regular {
  font-family: "Raleway-Medium", sans-serif;
  font-weight: 500;
}

/* ----------------------------------------------------------------
   PROFIL SZEKCIÓ
   ---------------------------------------------------------------- */
.profile-section {
  background: #f2f2f2;
  padding: 2.5rem 20rem;
}

.profile-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-columns {
  display: flex;
  gap: 4.5rem;
}

.profile-col {
  flex: 1;
}

.profile-col .body-text {
  line-height: 1.6875rem;
}

/* ----------------------------------------------------------------
   STB ELVÁLASZTÓ
   ---------------------------------------------------------------- */
.stb-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0 2rem;
    flex-direction: column;
}

.stb-text {
  color: rgba(28, 35, 43, 0.2);
  font-family: "LibreBaskerville-Bold", georgia;
  font-size: 4.1875rem;
  line-height: 2.3125rem;
  font-weight: 700;
}
.stb-subtext{
    margin-top: 20px;
}

/* ----------------------------------------------------------------
   CSAPAT SZEKCIÓ
   ---------------------------------------------------------------- */
.team-section {
  padding: 2rem 20rem 3rem;
}

.team-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.team-row {
  display: flex;
  gap: 3rem;
}

.team-row--single {
  justify-content: flex-start;
}

.team-member {
  flex: 0 0 calc(50% - 1.5rem);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.team-row--single .team-member {
  flex: 0 0 calc(50% - 1.5rem);
}

.team-photo {
  width: 8rem;
  height: auto;
  flex-shrink: 0;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-red-line {
  width: 3.1875rem;
  height: 0.125rem;
  background: #e40613;
  border: none;
  margin-top: 0.125rem;
}

.member-name {
  color: #1c232b;
  font-family: "LibreBaskerville-Bold", georgia;
  font-size: 1.5625rem;
  line-height: 2.3125rem;
  font-weight: 700;
}

.member-title {
  color: #1c232b;
  font-family: "Raleway-Medium", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5625rem;
  font-weight: 500;
}

/* ----------------------------------------------------------------
   CSAPAT ELVÁLASZTÓ VONAL
   ---------------------------------------------------------------- */
.team-divider {
  width: 80rem;
  max-width: calc(100% - 40rem);
  height: 0.0625rem;
  background: #1c232b;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   TUDÁS ÉS TAPASZTALAT SZEKCIÓ
   ---------------------------------------------------------------- */
.expertise-section {
  padding: 3rem 20rem;
}

.expertise-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.expertise-subtitle {
  color: #e40613;
  font-family: "Raleway-SemiBold", sans-serif;
  font-size: 1.375rem;
  line-height: 1.9375rem;
  text-align: center;
  max-width: 48rem;
}

.chart-image {
  width: 100%;
  max-width: 50rem;
  height: auto;
}

/* ----------------------------------------------------------------
   PROJEKT PORTFÓLIÓ SZEKCIÓ
   ---------------------------------------------------------------- */
.portfolio-section {
  background: #f2f2f2;
  padding: 3rem 20rem;
}

.portfolio-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-subtitle {
  color: #e40613;
  font-family: "Raleway-SemiBold", sans-serif;
  font-size: 1.375rem;
  line-height: 1.9375rem;
  text-align: center;
  max-width: 47.75rem;
  margin: 0 auto;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 1.5rem;
}

.portfolio-item {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 18rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-title {
  color: #1c232b;
  font-family: "LibreBaskerville-Regular", georgia;
  font-size: 1.4375rem;
  line-height: 1.875rem;
  font-weight: 400;
}

.portfolio-red-line {
  width: 23.0625rem;
  max-width: 100%;
  height: 0.125rem;
  background: #e40613;
}

.portfolio-text {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.5625rem;
    color: var(--color-dark);
    max-width: 37.5rem;
    margin-left: 20px;
/*  color: #1c232b;
  font-family: "Raleway-Medium", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6875rem;
  font-weight: 500;*/
}

/* ----------------------------------------------------------------
   TÉRKÉP SZEKCIÓ
   ---------------------------------------------------------------- */
.map-section {
  padding: 3rem 20rem;
}

.map-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.map-subtitle {
  color: #e40613;
  font-family: "Raleway-SemiBold", sans-serif;
  font-size: 1.375rem;
  line-height: 1.9375rem;
  text-align: center;
  max-width: 33.5rem;
}

.map-image {
  width: 75.4375rem;
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------------------
   RÓLUNK MONDTÁK SZEKCIÓ
   ---------------------------------------------------------------- */
.testimonials-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-bg {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 3rem 0;
}

.testimonials-inner {
  width: 100%;
  padding: 0 20rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 41.1875rem;
}

.testimonials-intro {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 2.125rem;
}

.testimonials-grid {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.testimonials-grid-section {
    padding: 3rem 20rem;
}

.testimonial-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.client-logo1 {
  width: 200px;
  height: 112px;
  object-fit: cover;
}
.client-logo2 {
  width: 130px;
  height: 130px;
  object-fit: cover;
}
.client-logo3 {
  width: 186.77px;
  height: 43.16px;
  object-fit: cover;
  margin-bottom: 16px;
}
.client-logo4 {
  width: 164px;
  height: 87px;
  object-fit: cover;
}

.client-divider {
  width: 17.75rem;
  height: 0.125rem;
  background: #1c232b;
}

.testimonial-text {
  color: #1c232b;
  font-size: 1.0625rem;
  line-height: 1.6875rem;
  font-weight: 400;
  margin-bottom: 50px;
}

.testimonial-body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.5625rem;
    color: var(--color-dark);
    max-width: 37.5rem;
/*  font-family: "Raleway-Medium", sans-serif;
  font-weight: 500;*/
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-role {
  font-weight: 500;
}

.testimonials-dividers {
  display: flex;
  gap: 1.75rem;
}

.t-divider-line {
  flex: 1;
  height: 0.125rem;
  background: #1c232b;
}

/* ============================================================
   KAPCSOLAT SZEKCIÓ
============================================================ */
.contact-section {
  padding: 3.5rem 0 3rem;
  background: var(--color-white);
}

.contact-title {
  font-family: var(--font-serif);
  font-size: 1.5625rem;
  font-weight: 700;
  line-height: 2.75rem;
  color: var(--color-dark);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

/* Fehér kártya az űrlapnak */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  padding: 2.5rem;
  max-width: 69.5rem;
  margin-inline: auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.form-field--grow {
  flex: 1;
}

.form-label {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 2.1875rem;
  color: var(--color-dark);
}

.form-input,
.form-textarea {
  background: var(--color-gray-light);
  border: 0.0625rem solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input {
  height: 3.75rem;
}

.form-textarea {
  resize: none;
  height: 8.125rem;
  flex: 1;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-red);
}

/* Küldés gomb */
.form-submit-btn {
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: 0.375rem;
  height: 3.75rem;
  padding: 0 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.form-submit-btn:hover {
  background: #c30511;
}

.submit-arrow {
  width: 1.874375rem;
  height: 0.75125rem;
  object-fit: contain;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: #1c232b;
  width: 100%;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding: 3rem 20rem 2rem;
}

.footer-contact-col {
  flex: 0 0 20.75rem;
}

.footer-address {
  color: #ffffff;
  font-family: "Raleway-Medium", sans-serif;
  font-size: 1.0625rem;
  line-height: 2.5625rem;
  font-weight: 400;
}

.footer-company-name {
  font-family: "Raleway-Bold", sans-serif;
  font-weight: 700;
}

.footer-address-text {
  font-family: "Raleway-Medium", sans-serif;
  font-weight: 500;
}

.footer-map-col {
  flex: 1;
}

.footer-map {
  width: 47.0625rem;
  max-width: 100%;
  height: auto;
}

.footer-bottom {
  background: #191e24;
  width: 100%;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copyright {
  color: #ffffff;
  font-family: "Raleway-Bold", sans-serif;
  font-size: 1.0625rem;
  line-height: 2.5625rem;
  font-weight: 700;
  text-align: center;
}

.leader-competencies-col li::marker {
  color: red;
  font-size: 25px;
}

.client-logo-holder {
    display: flex; justify-content: flex-begin; align-items: flex-end; height: 135px;
}

.showprofil {
    display: block;
}
.hideprofil {
    display: none;
}
.cursor-pointer {
    cursor: pointer;
}

/* ================================================================
   RESZPONZÍV TÖRÉSPONTOK
================================================================ */

/* Laptop / nagy tablet */
@media (max-width: 1500px) {
  .site-header,
  .intro-section,
  .leader-section,
  .profile-section,
  .team-section,
  .expertise-section,
  .portfolio-section,
  .map-section,
  .testimonials-grid-section,
  .footer-inner { padding-left: 2rem; padding-right: 2rem; }

  .testimonials-inner { padding-left: 2rem; padding-right: 2rem; }

  .team-divider { max-width: calc(100% - 4rem); }
}

/* Tablet */
@media (max-width: 1024px) {
  .intro-columns,
  .profile-columns { flex-direction: column; gap: 1.5rem; }

  .leader-inner { flex-wrap: wrap; }

  .testimonials-grid { flex-direction: column; }

  .portfolio-item { flex: 1 1 calc(50% - 1rem); }
}

/* Mobil */
@media (max-width: 768px) {
  .intro-section,
  .leader-section,
  .profile-section,
  .team-section,
  .expertise-section,
  .portfolio-section,
  .map-section,
  .testimonials-grid-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-overlay { height: auto; min-height: 100%; }
  .hero-text { font-size: 1.125rem; line-height: 1.75rem; width: 100%; padding: 0 1rem; }

  .leader-inner { flex-direction: column; gap: 1.5rem; }
  .leader-photo { width: 7rem; }
  .leader-name { font-size: 1.25rem; }

  .stb-text { font-size: 3.5rem; }

  .team-row { flex-direction: column; gap: 1.5rem; }
  .team-member { flex: none; width: 100%; }

  .testimonials-inner { padding-left: 1rem; padding-right: 1rem; }
  .testimonials-overlay { padding: 1.5rem 0; }

  .portfolio-item { flex: 1 1 100%; }

  .team-divider { max-width: calc(100% - 2rem); }

  .footer-inner { padding: 2rem 1rem; flex-direction: column; gap: 2rem; }
}

/* Kis mobil */
@media (max-width: 480px) {
  .hero-text { font-size: 1rem; line-height: 1.625rem; }
  .stb-text { font-size: 2.5rem; }
  .leader-name,
  .member-name { font-size: 1.125rem; }
  .section-title-dark { font-size: 1.25rem; }
}