/*
Theme Name: Masterfield QA Solutions
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css');

@import url('assets/css/style.css');
@import url('assets/css/animations.css');
@import url('assets/css/responsive.css');

:root {
  --teal: rgb(0, 196, 204);
  --teal-200: rgb(153, 217, 217);
  --teal-600: rgb(0, 170, 177);
  --teal-700: rgb(0, 140, 146);
  --ink: #111418;
  --ink-2: #2a2f36;
  --muted: #5b6470;
  --line: #e4e8ec;
  --bg: #ffffff;
  --bg-soft: #f3f5f7;
  --bg-softer: #f7f9fa;
  --black: #0a0a0a;
  --logo-bg: rgb(216, 230, 237);
  --grad-1: rgb(0, 196, 204);
  --grad-2: #0d2a4a;
  --font-color-navy: rgb(10, 26, 68);
  --content-w: 1200px;
  --pad: 24px;
  --radius-card: 8px;
  --radius-btn: 15px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 2px 10px rgba(16, 24, 40, .08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: #edf0f2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: 16px;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .4em;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.accent {
  color: var(--teal);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 18px;
  /* letter-spacing: 0.12em; */
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.btn--outline {
  color: var(--teal);
  border-color: var(--teal);
  background: transparent;
}

.btn--outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn--solid {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn--solid:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 196, 204, .3);
}

.btn-navy-inverted,
.wpb-pcf-btn-default.btn-navy-inverted {
  color: var(--font-color-navy) !important;
  background: #fff !important;
  border-color: var(--teal) !important;
}

.btn-navy-inverted:hover,
.wpb-pcf-btn-default.btn-navy-inverted:hover {
  background: var(--teal-600) !important;
  border-color: var(--teal-600) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 196, 204, .3);
}

/* Header / Logo */
.site-header {
  padding: 22px 0;
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 24px;
  /* letter-spacing: 0.02em; */
}

.logo-text {
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

.logo-text strong {
  font-weight: 700;
}

.logo--light .logo-text {
  color: #fff;
}

.logo--light {
  color: #fff;
}

/* Section heading split layout */
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
  align-items: start;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 5px;
}

.section-head .accent {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 500;
  margin: 0;
  line-height: 1;
}

.section-head__body {
  position: relative;
  padding-left: 24px;
}

.section-head--split .section-head__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 7px;
  background: rgb(64, 207, 212);
  border-radius: 999px;
}

.section-head__body p {
  color: var(--ink-2);
  font-size: 21px;
  line-height: 1.2;
  max-width: 48ch;
}

h1 .line,
h2 .line {
  display: block;
}

.bg-gradient-dark-vertical {
  background: linear-gradient(to bottom, var(--grad-1), #040c18);
}

.bg-gradient-navy-horizontal {
  background: linear-gradient(120deg, var(--grad-1) 0%, var(--grad-2) 100%);
  ;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  padding: 24px 0 6px;
}

.hero .hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}

.hero .lead {
  font-size: 26px;
  color: var(--ink-2);
  margin-bottom: 12px;
  max-width: 52ch;
  letter-spacing: -0.035em;
}

.hero__body {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 58ch;
}

.hero__media {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a1420;
  box-shadow: var(--shadow-md);
  border-left: 7px solid var(--teal);
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-hero h1.bigger {
  font-size: 5rem;
}

/* ============================================================
   2. SZOLGÁLTATÁSOK (6 kártya grid)
   ============================================================ */
.services {
  padding: 72px 0 96px;
}

.services .wp-block-group__inner-container {
  position: relative;
  height: 100%;
}


.services.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a1420;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card figure {
  margin: 0;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__title {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #00c1c9, #040c18);
  color: #fff;
  padding: 8px 12px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: var(--radius-card);
}

.service-tag .wp-element-button {
  background: linear-gradient(to right, #00c1c9, #040c18);
  color: #fff;
  padding: 8px 12px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: var(--radius-card);
}

/* ============================================================
   3. AUTOMATIZÁLÁS (fekete full-bleed)
   ============================================================ */
.automation {
  background: var(--black);
  color: #fff;
  padding: 0;
}

.automation__grid {
  display: grid;
  grid-template-columns: 1.35fr 1.2fr;
  gap: 24px;
  /* align-items: center; */
  max-height: 690px;
}

.automation__media {
  /* border-radius: 6px; */
  overflow: hidden;
  /* aspect-ratio: 4 / 5; */
  /* background: #000; */

}

.automation__media .wp-block-group__inner-container,
.automation__media figure {
  height: 100%;
}

.automation__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.automation__text h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  margin: 30px 0 24px;
  text-align: center;
}

.automation__text p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 14px;
  max-width: 58ch;
}

.automation__text p strong {
  color: var(--teal);
  font-weight: 500;
}

.automation__text .btn {
  display: block;
  width: fit-content;
  margin: 24px auto;
}

/* ============================================================
   4. FOLYAMAT (6 számozott kártya)
   ============================================================ */
.process {
  background: var(--bg-soft);
  padding: 96px 0;
  font-family: 'Oswald', var(--font);
  overflow-x: hidden;
}

.process__title {
  text-align: center;
  font-size: clamp(30px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  color: var(--ink);
  line-height: 1.1;
}

.process__grid {
  --edge: calc((100% - 945px) / 6);
  --between: calc((100% - 945px) / 3);
  padding-left: var(--edge);
  padding-right: var(--edge);
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--between);
  row-gap: 32px;
}

.process-card {
  flex: 0 0 315px;
  background: transparent;
  border: 1px solid #000;
  border-radius: 0;
  padding: 20px 22px;
  position: relative;
  aspect-ratio: 315 / 238;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  text-align: center;
  align-self: center;
  container-type: normal !important;

}

.process-card p {
  align-self: end;
}

.process-card .process-card__num {
  align-self: start;
}

.process-card__num {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--teal);
  color: #000;
  font-weight: 500;
  font-size: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.process-card h3 {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}

.process-card p {
  color: #000;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  font-family: var(--font);
}

/* ============================================================
   5. SZAKÉRTŐK
   ============================================================ */
.experts {
  padding: 96px 0;
}

.experts .experts__grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 5rem;
  margin-top: 40px;
}

.expert {
  margin: 0;
  text-align: center;
  max-width: 200px;
  margin: 0 auto !important;
}

.expert__portrait {
  margin: 0 auto 18px;
  text-align: center;
}

.expert__portrait img {
  height: 320px;
  width: auto;
  display: inline-block;
}

.expert h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.expert p {
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

/* ============================================================
   6. ÜGYFÉL LOGÓK
   ============================================================ */
.clients {
  background: var(--logo-bg);
  padding: 64px 0;
  text-align: center;
}

.clients__title {
  font-family: 'Oswald', var(--font);
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
  color: var(--ink);
}

.clients__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.clients__logos img {
  max-height: 110px;
  max-width: 210px;
  width: auto;
  object-fit: contain;
}

.clients__note {
  font-size: 24px;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   7. MIÉRT MINKET?
   ============================================================ */
.why-us {
  padding: 96px 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us__text h2 {
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 400;
  margin-bottom: 22px;
  line-height: 0.9;
}

.why-us__text p {
  font-size: 22px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 50ch;
}

.why-us__pull strong {
  color: var(--ink);
  font-weight: 700;
}

.why-us__media {
  position: relative;
  width: 500px;
  max-width: 100%;
  aspect-ratio: 500 / 452;
  margin: 0 auto;
}

.why-us__pic img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: url(#whyUsShape);
}

.why-us__pic {
  position: relative;
}

.why-us__pic::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/pic-corner.svg');
  background-position: bottom right;
  background-repeat: no-repeat;
}

.why-us__corner {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 208px;
  height: auto;
  z-index: 2;
  transform: translate(30px, 30px);
}

.dots {
  display: none;
}

.dots--tl {
  display: none;
}

.dots--br {
  bottom: 0;
  right: 0;
}

/* ============================================================
   8. KAPCSOLAT CTA (gradient)
   ============================================================ */
.contact {
  background: linear-gradient(120deg, var(--grad-1) 0%, var(--grad-2) 100%);
  color: #fff;
  padding: 26px 0 0;
  position: relative;
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.contact .logo-text {
  font-weight: 900;
  line-height: 24px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact__text .logo {
  margin-bottom: 28px;
}

.contact__text h2 {
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.1;
  max-width: 18ch;
}

.contact__text p {
  font-size: 26px;
  color: rgba(255, 255, 255, .88);
  max-width: 50ch;
  margin-bottom: 28px;
  line-height: 1.15;
}

.contact__text .btn--solid {
  background: #fff;
  color: #000;
  border-color: #fff;
  margin: 26px 0 36px;
}

.contact__text .btn--solid:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: none;
  box-shadow: none;
}

.contact__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.contact__details li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  color: #fff;
}

.contact__details a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.contact__details a:hover {
  text-decoration: none;
}

.contact__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Phone frame around video-3 */
.contact__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact__media figure {
  position: relative;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 256 / 506.54;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.contact__media figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/phone.svg');
}

.phone-frame__video video {
  position: relative;
  left: 7.08%;
  top: 3.01%;
  width: 85.89%;
  height: 94.07%;
  object-fit: cover;
  background: #000;
  border-radius: 15px;
}

.phone-frame__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.contact__powered {
  text-align: center;
  font-size: 23px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  padding: 20px 0 22px;
  margin: 0;
  /* border-top: 1px solid rgba(255,255,255,.12); */
  text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    padding: 16px 0 56px;
  }

  /* Stack all two-column grids */
  .hero .hero__grid,
  .services .section-head--split,
  .automation__grid,
  .contact__grid,
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-height: none;
  }

  .automation__media {
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .automation {
    padding: 48px 0;
  }

  .automation__text h2 {
    margin-top: 0;
  }

  /* Split section heads → single column */
  .section-head--split {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .section-head--split .section-head__body::before {
    top: 0;
    bottom: 0;
  }

  /* Services: 2 cols */
  .services {
    padding: 56px 0;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Process: 2 cols, smaller cards, contain within container */
  .process {
    padding: 56px 0;
  }

  .process__title {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 36px;
  }

  .process__grid {
    --edge: 0px;
    --between: 0px;
    justify-content: center;
    gap: 20px;
  }

  .process-card {
    flex: 0 0 calc(50% - 10px);
    aspect-ratio: auto;
    min-height: 220px;
  }

  /* Experts: 3 → stays, slightly smaller */
  .experts {
    padding: 56px 0;
  }

  .experts__grid {
    gap: 20px;
  }

  .expert__portrait img {
    height: 260px;
  }

  /* Clients: 5 logos — wrap to 3+2 */
  .clients {
    padding: 48px 0;
  }

  .clients__logos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
    gap: 28px;
  }

  .clients__logos img {
    max-height: 72px;
    max-width: 150px;
  }

  .clients__title {
    font-size: clamp(32px, 5vw, 44px);
  }

  /* Why-us: responsive media */
  .why-us {
    padding: 56px 0;
  }

  .why-us__media {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 500 / 452;
  }

  .why-us__pic {
    width: 100%;
    height: 100%;
  }

  .why-us__corner {
    width: 36%;
  }

  /* Contact: stack, smaller phone */
  .contact {
    padding: 56px 0 0;
  }

  .contact__grid {
    padding-bottom: 48px;
  }

  .contact__media {
    justify-content: center;
  }


  .phone-frame {
    width: 240px;
  }

  /* Headings lighter padding */
  .hero__title {
    font-size: clamp(30px, 5vw, 46px);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 720px)
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --pad: 16px;
  }

  body {
    font-size: 15px;
  }

  /* Header: smaller logo */
  .site-header {
    padding: 16px 0;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo svg {
    width: 20px;
    height: 38px;
  }

  /* Hero */
  .hero {
    padding: 8px 0 40px;
  }

  .hero__title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero .lead {
    font-size: 18px;
  }

  .hero__body {
    font-size: 15px;
  }

  .hero__media {
    border-radius: 18px;
    border-left-width: 5px;
  }

  /* Sections: tighter padding */
  .services {
    padding: 40px 0;
  }

  .automation {
    padding: 0;
  }

  .automation__grid {
    gap: 0;
  }

  .automation__text {
    padding-top: 24px;
    padding-bottom: 8px;
  }

  .process {
    padding: 48px 0;
  }

  .experts {
    padding: 48px 0;
  }

  .clients {
    padding: 36px 0;
  }

  .why-us {
    padding: 48px 0;
  }

  .contact {
    padding-top: 48px;
  }

  /* Services: 1 col */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    aspect-ratio: 16 / 10;
  }

  .service-card__title {
    font-size: 15px;
    padding: 10px 12px;
  }

  /* Automation video: full viewport width on mobile */
  .automation__media {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* width: 100vw; */
    max-width: none;
  }

  /* Process: 1 col */
  .process__grid {
    flex-direction: column;
    align-items: center;
    padding: 0;
    row-gap: 16px;
  }

  .process-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 315 / 238;
    min-height: 0;
    margin: 0 auto !important;
  }

  .process__title {
    font-size: clamp(20px, 6vw, 28px);
    letter-spacing: 0.02em;
    margin-bottom: 28px;
  }

  /* Experts: 1 col */
  .experts__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .expert__portrait img {
    height: 280px;
  }

  .expert h3 {
    font-size: 20px;
  }

  .expert p {
    font-size: 16px;
  }

  /* Clients */
  .clients__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
    max-width: 420px;
  }

  .clients__logos img {
    max-height: 60px;
    max-width: 127px;
  }

  .clients__logos>img:nth-child(odd):last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .clients__note {
    font-size: 16px;
  }

  /* Why-us — full width on mobile */
  .why-us__text h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .why-us__text p {
    font-size: 16px;
  }

  .why-us__media {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .why-us__corner {
    width: 36%;
    transform: translate(0, 0);
    right: -4%;
    bottom: -4%;
  }

  /* Contact */
  .contact__text h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .contact__text p {
    font-size: 16px;
  }

  .contact__text .btn--solid {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .phone-frame {
    width: 220px;
  }

  .contact__details {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .contact__details li {
    font-size: 18px;
    gap: 12px;
  }

  .contact__details a {
    justify-content: center;
  }

  /* Hero button centered on mobile */
  .hero__text .btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .contact__icon {
    width: 24px;
    height: 24px;
  }

  .contact__powered {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  /* Buttons */
  .btn {
    padding: 12px 22px;
    font-size: 15px;
  }

  /* Footer */
  .site-footer__inner {
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 26px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .section-head .accent {
    font-size: 20px;
  }

  .section-head__body p {
    font-size: 17px;
  }

  .process-card {
    max-width: 280px;
  }

  .process-card h3 {
    font-size: 18px;
  }

  .process-card p {
    font-size: 15px;
  }

  .expert__portrait img {
    height: 240px;
  }

  .why-us__corner {
    width: 42%;
  }

  .phone-frame {
    width: 200px;
  }
}


.wp-block-button.btn-back {
  display: inline-block;
  position: relative;
  padding-left: 20px;
}

.wp-block-button.btn-back .wp-block-button__link {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #00c4cc;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  padding: 13px 56px 13px 72px;
  box-shadow: 4px 5px 12px rgba(0, 0, 0, 0.28);
  border: none;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.wp-block-button.btn-back .wp-block-button__link:hover {
  filter: brightness(1.08);
  color: #ffffff;
  text-decoration: none;
}

/* az ikon a gomb bal széle elé kerül, enyhén átfedve a pill alakot */
.wp-block-button.btn-back .wp-block-button__link::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-image: url('assets/images/back.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* az ikon árnyéka a back.png-ben már benne van */
}


.uppercase-title {
  font-family: 'Oswald', var(--font);
  text-transform: uppercase;
  font-weight: 500;
}

.text-teal {
  color: var(--teal);
}

.text-navy {
  color: var(--font-color-navy);
}

.dark-stroke {
  text-stroke: 1px var(--font-color-navy);
  -webkit-text-stroke: 1px var(--font-color-navy);
}

.roi-cards {}

.card,
.problem-card,
.roi-card {
  font-size: 1.5rem;
  font-weight: normal;
  font-family: 'Oswald', var(--font);
  padding: 2rem;
  border: 1px solid var(--teal-200);
  text-align: center;
  color: var(--font-color-navy);
}

.roi-card h3 {
  width: auto;
  min-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  background-color: var(--teal-200);
  text-transform: uppercase;
  font-weight: 500;
  color: black;
}

.card h4,
.problem-card h4,
.roi-card h4 {
  text-transform: uppercase;
  margin: 2rem auto;
  font-size: 2rem;
  font-weight: 200;
}


html :where(.wp-block) {
  margin-bottom: 28px;
  margin-top: 28px;
  max-width: 1100px;
}

/* ============================================================
   CONTACT FORM 7 — közös alap
   ============================================================ */
.wpcf7-form fieldset.hidden-fields-container {
  display: none;
}

.wpcf7 form>p span.wpcf7-list-item-label {
  display: inline-block !important;
}

/* 2-column grid layout */
.wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.swal2-html-container .wpcf7-form {
  grid-template-columns: unset;
}

.wpcf7-form>p {
  margin: 0;
}

.wpcf7-form>p:first-of-type,
.wpcf7-form>p:has(textarea),
.wpcf7-form>p:has(input[type="submit"]),
.wpcf7-form>.wpcf7-response-output {
  grid-column: 1 / -1;
}

.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border-radius: var(--radius-card);
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 16px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  outline: none;
  box-sizing: border-box;
  border-width: 1.5px;
  border-style: solid;
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 196, 204, .2);
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  border-width: 2px;
  border-style: solid;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 196, 204, .35);
}

button.wpb-pcf-btn {
  padding: 14px 36px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-color: var(--teal);
  border-radius: var(--radius-btn);
  border-width: 2px;
  border-style: solid;
  cursor: pointer;
}

.wpcf7-response-output {
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: var(--radius-card);
  font-size: 15px;
  font-weight: 500;
  border: none !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .wpcf7-form {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CF7 — SÖTÉT verzió (.cf7--dark)
   Használat: add a "dark" class-t a form elemhez
   ============================================================ */
.wpcf7-form.dark>p:first-of-type {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.wpcf7-form.dark label {
  color: rgba(255, 255, 255, .65);
}

.wpcf7-form.dark input[type="text"],
.wpcf7-form.dark input[type="email"],
.wpcf7-form.dark input[type="tel"],
.wpcf7-form.dark textarea {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}

.wpcf7-form.dark input[type="text"]::placeholder,
.wpcf7-form.dark input[type="email"]::placeholder,
.wpcf7-form.dark input[type="tel"]::placeholder,
.wpcf7-form.dark textarea::placeholder {
  color: rgba(255, 255, 255, .3);
}

.wpcf7-form.dark input[type="text"]:focus,
.wpcf7-form.dark input[type="email"]:focus,
.wpcf7-form.dark input[type="tel"]:focus,
.wpcf7-form.dark textarea:focus {
  background: rgba(0, 196, 204, .1);
}

.wpcf7-form.dark input.wpcf7-not-valid,
.wpcf7-form.dark textarea.wpcf7-not-valid {
  border-color: #f87171;
  background: rgba(248, 113, 113, .08);
}

.wpcf7-form.dark .wpcf7-not-valid-tip {
  color: #fca5a5;
}

.wpcf7-form.dark input[type="submit"] {
  background: #fff;
  border-color: #fff;
  color: var(--font-color-navy);
}

.wpcf7-form.dark input[type="submit"]:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.wpcf7-form.dark.sent .wpcf7-response-output {
  background: rgba(0, 196, 204, .15);
  color: var(--teal);
}

.wpcf7-form.dark.failed .wpcf7-response-output,
.wpcf7-form.dark.invalid .wpcf7-response-output {
  background: rgba(248, 113, 113, .12);
  color: #fca5a5;
}

/* ============================================================
   CF7 — VILÁGOS verzió (.cf7--light)
   Használat: add a "light" class-t a form elemhez
   ============================================================ */
.wpcf7-form.light>p:first-of-type {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.wpcf7-form.light label {
  color: var(--muted);
}

.wpcf7-form.light input[type="text"],
.wpcf7-form.light input[type="email"],
.wpcf7-form.light input[type="tel"],
.wpcf7-form.light textarea {
  background: var(--bg-softer);
  border-color: var(--line);
  color: var(--ink);
}

.wpcf7-form.light input[type="text"]::placeholder,
.wpcf7-form.light input[type="email"]::placeholder,
.wpcf7-form.light input[type="tel"]::placeholder,
.wpcf7-form.light textarea::placeholder {
  color: #b0b8c2;
}

.wpcf7-form.light input[type="text"]:focus,
.wpcf7-form.light input[type="email"]:focus,
.wpcf7-form.light input[type="tel"]:focus,
.wpcf7-form.light textarea:focus {
  background: #fff;
  border-color: var(--teal);
}

.wpcf7-form.light input.wpcf7-not-valid,
.wpcf7-form.light textarea.wpcf7-not-valid {
  border-color: #ef4444;
  background: #fef2f2;
}

.wpcf7-form.light .wpcf7-not-valid-tip {
  color: #ef4444;
}

.wpcf7-form.light input[type="submit"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.wpcf7-form.light input[type="submit"]:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
}

.wpcf7-form.light.sent .wpcf7-response-output {
  background: rgba(0, 196, 204, .1);
  color: var(--teal-700);
}

.wpcf7-form.light.failed .wpcf7-response-output,
.wpcf7-form.light.invalid .wpcf7-response-output {
  background: #fef2f2;
  color: #ef4444;
}

#swal2-html-container {
  overflow: visible;
}