/* === 2Maker Widgets Base Styles === */
/* Structural layout only â colors/typography applied inline by Elementor controls */

/* ----------------------------------------------------------------
   CSS Custom Properties (defaults, overridden by Elementor controls)
   ---------------------------------------------------------------- */
:root {
  --twom-orange: #e55c1d;
  --twom-navy: #122147;
  --twom-dark: #132030;
  --twom-text: #191919;
  --twom-muted: #777;
  --twom-white: #ffffff;
  --twom-site-max: 1280px;
  --twom-page-pad: max(24px, calc((100vw - var(--twom-site-max)) / 2));
  --twom-section-y: clamp(50px, 6vw, 50px);
}

/* Anchor offset for sticky header — global fix */
html {
  scroll-padding-top: 120px;
}

/* ----------------------------------------------------------------
   Shared Components
   ---------------------------------------------------------------- */

/* Button base */
.twom-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 0;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.twom-btn:hover {
  /* transform: translateY(-1px); */
  background-color: #84310b !important;
  transition: 1s;
}

/* Secondary â outlined */
/* Brand - solid blue */
.twom-btn-brand {
  background-color: var(--twom-navy) !important;
  color: #fff !important;
}

.twom-btn.twom-btn-brand:hover {
  background-color: #0e1a38 !important;
  color: #fff !important;
}

.twom-btn-secondary {
  background: transparent;
  border: 1px solid currentColor;
  background: #fff;
}


.twom-btn.twom-btn-secondary:hover {
  background-color: #e55c1d !important;
  color: #fff !important;
}

/* Small variant */
.twom-btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

/* Arrow icon container */
.twom-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.twom-arrow svg {
  width: 11px;
  height: 12px;
}

/* Inline link with arrow */
.twom-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: #fafafa;
}

.twom-link-arrow .twom-arrow {
  width: 14px;
  height: 20px;
  color: var(--twom-orange);
}

/* ----------------------------------------------------------------
   Hero Slider
   ---------------------------------------------------------------- */
.twom-hero {
  position: relative;
  --twom-hero-arrows-height: 340px;
  --twom-hero-content-top-space: clamp(108px, 12vh, 148px);
  --twom-hero-content-bottom-space: clamp(220px, 24vh, 280px);
  width: 100%;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.twom-hero-slides {
  position: absolute;
  inset: 0;
}

.twom-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease, visibility 0s linear 700ms;
}

.twom-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 700ms ease, visibility 0s linear 0s;
}

.twom-hero-slide.is-entering,
.twom-hero-slide.is-leaving {
  visibility: visible;
  transition: opacity 700ms ease, visibility 0s linear 0s;
}

.twom-hero-slide img,
.twom-hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlays */
.twom-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 35%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, transparent 50%);
  pointer-events: none;
}

/* Content block */
.twom-hero-content {
  position: relative;
  box-sizing: border-box;
  width: min(700px, calc(100% - (var(--twom-page-pad) * 2)));
  max-width: 700px;
  min-height: 100%;
  margin-left: var(--twom-page-pad);
  /* padding-bottom: 75px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  color: var(--twom-white);
  z-index: 2;
}

.twom-hero-content h1 {
  margin-bottom: 0;
}

.twom-hero-content p {
  font-size: 16px;
  max-width: 581px;
  margin: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Text transition state */
.twom-hero-content>* {
  transition: opacity 0.35s, transform 0.35s;
}

.twom-hero:not(.is-intro-visible) .twom-hero-content>* {
  opacity: 0;
  transform: translateY(24px);
}

.twom-hero.is-intro-visible .twom-hero-content>* {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 0.7s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.twom-hero.is-intro-visible .twom-hero-content>*:nth-child(2) {
  transition-delay: 0.08s;
}

.twom-hero.is-intro-visible .twom-hero-content>*:nth-child(3) {
  transition-delay: 0.16s;
}

.twom-hero-content.is-changing>* {
  opacity: 0;
  transform: translateX(-20px);
}

@media (prefers-reduced-motion: reduce) {
  .twom-hero:not(.is-intro-visible) .twom-hero-content>* {
    opacity: 1;
    transform: none;
  }

  .twom-hero.is-intro-visible .twom-hero-content>* {
    transition: none;
  }
}

/* Navigation arrows â vertically centred with content */
.twom-hero-arrows {
  position: absolute;
  top: 10%;
  bottom: auto;
  left: var(--twom-page-pad);
  right: var(--twom-page-pad);
  height: var(--twom-hero-arrows-height);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
  display: none;
}

.twom-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--twom-white);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s;
}

.twom-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Pagination dots */
.twom-hero-pagination {
  position: absolute;
  bottom: 140px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

@media screen and (max-width: 600px) {
  .twom-hero-pagination {
    bottom: 15px;
  }
}

.twom-hero-pagination span,
.twom-hero-pagination button,
.twom-hero-pagination .twom-hero-dot {
  width: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
  border: none;
  padding: 0;
}

.twom-hero-pagination span.active,
.twom-hero-pagination button.is-active,
.twom-hero-pagination .twom-hero-dot.is-active {
  width: 16px;
  background: var(--twom-orange);
}

/* Bottom cards */
.twom-hero-cards {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
  width: calc(100% - var(--twom-page-pad) * 2);
  max-width: var(--twom-site-max);
  align-items: center;
}

@media screen and (max-width: 600px) {
  .twom-hero-cards {
    display: none;
  }

  .twom-hero-content {
    padding-bottom: 0;
    gap: 50px;
  }

  .twom-hero {
    height: 85vh !important;
  }
}

.twom-hero-card-divider {
  background: #fff;
  width: 0.5px;
  height: 65px;
}

.twom-hero-card {
  flex: 1;
  min-height: clamp(92px, 14vh, 116px);
  /* border-radius: 16px; */
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  color: var(--twom-white);
  background: transparent;
  border: none;
  text-align: left;
  transition: background 0.2s, transform 0.2s;
}

.twom-hero-card:hover {
  background: #fff;
}

.twom-hero-card:hover h3 {
  color: #181818;
}

article.twom-hero-card:hover .twom-link-arrow {
  color: #181818;
}

.twom-hero-card h3 {
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: -0.8px;
  margin: 0;
  color: inherit;
}

.twom-hero-divider {
  width: 1px;
  height: clamp(56px, 9vh, 78px);
  background: rgba(255, 255, 255, 0.4);
  align-self: center;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   Newsletter
   ---------------------------------------------------------------- */
.twom-newsletter {
  width: min(var(--twom-site-max), calc(100% - (var(--twom-page-pad) * 2)));
  margin: 80px auto 0;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.twom-newsletter-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.twom-newsletter-text {
  flex: 0 1 642px;
}

.twom-newsletter-text h2 {
  margin: 0 0 8px;
}

.twom-newsletter-form {
  display: flex;
  gap: 18px;
  align-items: flex-end;
}

.twom-newsletter-form input {
  width: 278px;
  max-width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 0.5px solid currentColor;
  padding: 20px 4px;
  font-size: 14px;
  background: transparent;
  outline: none;
}

@media screen and (max-width: 767px) {
  .twom-newsletter {
    margin-top: 56px;
    gap: 20px;
  }

  .twom-newsletter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .twom-newsletter-text {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .twom-newsletter-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .twom-newsletter-form input {
    width: 100%;
  }

  .twom-newsletter-form .twom-btn {
    width: 100%;
    justify-content: space-between;
  }
}

[data-twom-entrance] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 600ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-twom-entrance="fade-up"] {
  transform: translateY(32px);
}

[data-twom-entrance="fade-down"] {
  transform: translateY(-32px);
}

[data-twom-entrance].is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-twom-entrance] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------------
   Blog Carousel
   ---------------------------------------------------------------- */
.twom-blog-section {
  padding: 80px var(--twom-page-pad) var(--twom-section-y);
  /* background: #f5f5f5; */
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.twom-blog-header {
  width: 100%;
  max-width: var(--twom-site-max);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.twom-blog-header-text {
  flex: 0 1 873px;
  display: flex;
  flex-direction: column;
}

.twom-blog-header-text p {
  max-width: 450px;
}

.twom-blog-header-text h2 {
  margin: 0 0 8px;
}

.twom-blog-arrows {
  display: flex;
  gap: 20px;
}

.twom-blog-arrows .twom-arrow-btn {
  width: 45px;
  height: 45px;
  color: var(--twom-orange);
  background: transparent;
  transition: transform 0.15s;
}

.twom-blog-arrows .twom-arrow-btn:hover {
  transform: translateX(1px);
}

.twom-blog-arrows .twom-arrow-btn svg {
  width: 55px;
  height: 55px;
}

.twom-blog-grid {
  width: min(var(--twom-site-max), 100%);
  overflow: hidden;
}

.twom-blog-track {
  display: flex;
  gap: 20px;
  transition: transform 420ms ease;
}

.twom-blog-card {
  flex: 0 0 calc((100% - 20px) / 2);
  min-height: clamp(360px, 23.5vw, 360px);
  /* border: 1px solid rgba(51, 51, 51, 0.1); */
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.twom-blog-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.twom-blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 32, 48, 0.85) 0%, transparent 60%);
}

.twom-blog-content {
  position: relative;
  margin-top: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twom-tag {
  display: inline-flex;
  padding: 4px 16px;
  /* border-radius: 4px; */
  font-size: 14px;
}

.twom-hero:not(.is-intro-visible) .twom-hero-card {
  opacity: 0;
  transform: translateY(20px);
}

.twom-hero.is-intro-visible .twom-hero-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.twom-hero.is-intro-visible article.twom-hero-card:nth-of-type(1) {
  transition-delay: 0.18s;
}

.twom-hero.is-intro-visible article.twom-hero-card:nth-of-type(2) {
  transition-delay: 0.28s;
}

.twom-hero.is-intro-visible article.twom-hero-card:nth-of-type(3) {
  transition-delay: 0.38s;
}

.twom-hero.is-intro-visible article.twom-hero-card:nth-of-type(4) {
  transition-delay: 0.48s;
}

.twom-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.twom-blog-card h3 {
  font-size: 20px;
  line-height: 1.5;
  color: var(--twom-white);
  margin: 0;
}

.twom-blog-title-link {
  color: inherit;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .twom-blog-section {
    gap: 28px;
  }

  .twom-blog-header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .twom-blog-header-text {
    flex: 1 1 auto;
  }

  .twom-blog-header-text p {
    max-width: none;
  }

  .twom-blog-arrows {
    justify-content: flex-start;
  }

  .twom-blog-card {
    flex: 0 0 calc(80% - 4px);
  }
}

/* ----------------------------------------------------------------
   Areas Grid
   ---------------------------------------------------------------- */
.twom-areas-list {
  display: flex;
  min-height: clamp(420px, 31.25vw, 600px);
  overflow: hidden;
}

.twom-areas-panel {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  min-height: clamp(420px, 31.25vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--twom-white);
  overflow: hidden;
  transition: flex-grow 0.45s ease;
}

.twom-areas-panel:hover {
  flex-grow: 1.2;
}

.twom-areas-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.twom-areas-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 32, 48, 0) 0%, #132030 100%);
}

.twom-areas-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.twom-areas-label h3 {
  margin: 0;
}

.twom-areas-underline {
  width: min(150px, 40%);
  height: 2px;
  background: var(--twom-orange);
}

/* ----------------------------------------------------------------
   Excellence
   ---------------------------------------------------------------- */
.twom-excellence {
  width: min(var(--twom-site-max), calc(100% - (var(--twom-page-pad) * 2)));
  margin: 0 auto;
  padding: var(--twom-section-y) 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.twom-excellence-text {
  display: flex;
  gap: 48px;
  width: 100%;
}

.twom-excellence-text h2 {
  margin: 0 0 20px;
  flex: 1;
  max-width: 45%;
}

.twom-excellence-text p {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 500px;
  text-align: justify;
}

.twom-excellence-logos {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}


.twom-excellence-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.twom-excellence-logo img {
  width: 100%;
  height: auto;
  max-height: 277px;
  object-fit: contain;
}

/* Marquee */
.twom-excellence-marquee {
  width: 100%;
  overflow: hidden;
}

.twom-excellence-marquee-track {
  display: flex;
  width: max-content;
  animation: twom-marquee var(--marquee-speed, 30s) linear infinite;
}

.twom-excellence-marquee-track:hover {
  animation-play-state: paused;
}

.twom-excellence-marquee-set {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}

.twom-excellence-marquee-set .twom-excellence-logo {
  flex-shrink: 0;
  width: 200px;
}

.twom-excellence-marquee-set .twom-excellence-logo img {
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
}

@keyframes twom-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------------------------------
   About Section
   ---------------------------------------------------------------- */
.twom-about {
  position: relative;
  padding: var(--twom-section-y) var(--twom-page-pad);
  color: var(--twom-dark, #191919);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.twom-about[style*="background-image:url('http"] {
  color: var(--twom-white);
}

.twom-about-overlay {
  position: absolute;
  inset: 0;
}

.twom-about-inner {
  position: relative;
  z-index: 1;
}

.twom-about h2 {
  margin: 0 0 36px;
  text-align: center;
}

.twom-about-divider {
  height: 2px;
  width: 100%;
  margin-bottom: 36px;
}

.twom-about-body {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: var(--twom-site-max);
}

.twom-about-body p {
  margin: 0 0 18px;
}

.twom-about-tabs {
  display: flex;
  justify-content: center;
  gap: 58px;
  font-size: 2.1rem;
}

@media screen and (max-width: 600px) {
  .twom-about-tabs {
    gap: 15px;
    font-size: 1.8rem;
    justify-content: space-between;
  }
}

.twom-about-tabs button {
  position: relative;
  display: inline-block;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0 0 10px;
  cursor: pointer;
  transition: transform 0.24s ease;
  font-size: 1.7rem;
}

.twom-about-tabs button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e55c1d 0 50%, #ffffff 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.twom-about-tabs button:hover {
  transform: translateY(-1px);
}

.twom-about-tabs button:hover::after {
  background-position: 0 0;
}

/* ----------------------------------------------------------------
   Modal
   ---------------------------------------------------------------- */
.twom-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 15, 28, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s, visibility 0.24s;
  z-index: 1200;
}

.twom-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.twom-modal-dialog {
  position: relative;
  max-width: 530px;
  width: 100%;
  padding: clamp(28px, 3vw, 46px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s;
}

.twom-modal.is-open .twom-modal-dialog {
  transform: translateY(0) scale(1);
}

.twom-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.twom-modal-close svg {
  width: 28px;
  height: 28px;
}

.twom-modal-title {
  font-size: 30px;
  letter-spacing: -2px;
  padding-right: 56px;
  margin: 0;
}

.twom-modal-divider {
  width: 100%;
  height: 2px;
  margin: 34px 0 36px;
}

.twom-modal-body {
  font-size: 16px;
  line-height: 1.45;
  max-width: 560px;
  letter-spacing: -0.3px;
}

/* ----------------------------------------------------------------
   Contact Form (.twom-equipe)
   ---------------------------------------------------------------- */
.twom-equipe {
  background: rgba(51, 51, 51, 0.05);
  padding: clamp(72px, 4.7vw, 90px) var(--twom-page-pad);
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.twom-equipe-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.twom-eyebrow {
  font-size: 16px;
}

.twom-equipe-text h2 {
  line-height: 1.05;
  margin: 0;
}

.twom-form-card {
  flex: 0 1 624px;
  padding: 42px;
  /* border-radius: 22px; */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.twom-form-row {
  display: flex;
  gap: 18px;
}

.twom-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.twom-form-field label {
  font-size: 16px;
}

.twom-form-field input,
.twom-form-field select,
.twom-form-field textarea {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 5px 10px;
  font-size: 14px !important;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: inherit;
}

.twom-form-field textarea {
  min-height: 73px;
  resize: vertical;
}

.twom-form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.twom-form-field input[type="file"] {
  padding: 8px 0;
  cursor: pointer;
}

.twom-form-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.twom-form-consent input[type="checkbox"]:checked {
  background: var(--twom-orange);
  border-color: var(--twom-orange);
}

.twom-form-consent label {
  font-size: 16px;
  line-height: 1.4;
}

.twom-form-submit {
  align-self: flex-start;
}

.twom-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.twom-form-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.4;
}

.twom-form-message--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.twom-form-message--error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

/* Contact Info */
.twom-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.twom-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--twom-navy);
}

.twom-contact-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--twom-orange);
}

.twom-contact-info-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.twom-contact-info-item a:hover {
  color: var(--twom-orange);
}

.twom-contact-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.twom-contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--twom-navy);
  transition: background 0.2s, color 0.2s;
}

.twom-contact-social-link:hover {
  background: var(--twom-orange);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .twom-equipe {
    flex-direction: column;
    gap: 32px;
  }

  .twom-equipe-text {
    gap: 18px;
  }

  .twom-form-card {
    width: 100%;
    flex: none;
    padding: 28px 0px;
    border-radius: 16px;
  }

  .twom-form-row {
    flex-direction: column;
    gap: 20px;
  }

  .twom-form-field label {
    margin-bottom: 6px;
  }

  .twom-form-consent {
    align-items: flex-start;
  }

  .twom-form-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .twom-form-submit {
    width: 100%;
    justify-content: space-between;
    align-self: stretch;
  }
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.twom-footer {
  color: var(--twom-white);
  background: var(--twom-navy);
  padding: clamp(72px, 4.7vw, 89px) var(--twom-page-pad);
}

.twom-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 47px;
}

.twom-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.twom-footer-cols {
  display: flex;
  gap: 80px;
}

.twom-footer-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.twom-footer-col h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.twom-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.twom-footer-col li {
  font-size: 16px;
}

.twom-footer-col li a {
  text-decoration: none;
  color: inherit;
}

.twom-footer-col li a:hover {
  text-decoration: underline;
}

.twom-footer-contact {
  width: 154px;
}

.twom-footer-hr {
  height: 1px;
  width: 100%;
}

.twom-footer-address-detail {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.5;
}

.twom-footer-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.twom-footer-logo img {
  max-height: 60px;
  width: auto;
}

.twom-socials {
  display: flex;
  gap: 10px;
}

.twom-socials a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.twom-socials a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.twom-socials a i,
.twom-socials a svg {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.twom-footer-rule {
  height: 1px;
  width: 100%;
}

.twom-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.twom-footer-left {
  display: flex;
  gap: 16px;
}

.twom-footer-right-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
}

.twom-footer-right-bottom img {
  height: 20px;
  width: auto;
}

/* ----------------------------------------------------------------
   WhatsApp Button
   ---------------------------------------------------------------- */
.twom-whatsapp {
  position: fixed;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.twom-whatsapp:hover {
  transform: scale(1.05);
}

.twom-whatsapp svg {
  fill: currentColor;
}

/* ----------------------------------------------------------------
   Utility
   ---------------------------------------------------------------- */
body.twom-modal-open {
  overflow: hidden;
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.twom-page-hero {
  position: relative;
  width: 100%;
  min-height: 518px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.twom-page-hero--auto {
  min-height: auto !important;
  padding: 160px 0 80px;
}

.twom-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.twom-page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 60px var(--twom-page-pad) 60px;
}

.twom-page-hero__content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 168px;
}

.twom-page-hero__title {
  margin: 0;
}

/* .twom-page-hero__subtitle {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  color: #ececec;
  max-width: 580px;
} */

.twom-page-hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ── Page Hero intro animation ── */
.twom-page-hero[data-twom-page-intro] .twom-page-hero__title,
.twom-page-hero[data-twom-page-intro] .twom-page-hero__subtitle,
.twom-page-hero[data-twom-page-intro] .twom-page-hero__buttons {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.twom-page-hero[data-twom-page-intro="fade-up"] .twom-page-hero__title,
.twom-page-hero[data-twom-page-intro="fade-up"] .twom-page-hero__subtitle,
.twom-page-hero[data-twom-page-intro="fade-up"] .twom-page-hero__buttons {
  transform: translateY(24px);
}

.twom-page-hero[data-twom-page-intro="fade-down"] .twom-page-hero__title,
.twom-page-hero[data-twom-page-intro="fade-down"] .twom-page-hero__subtitle,
.twom-page-hero[data-twom-page-intro="fade-down"] .twom-page-hero__buttons {
  transform: translateY(-24px);
}

.twom-page-hero.is-intro-visible[data-twom-page-intro] .twom-page-hero__title,
.twom-page-hero.is-intro-visible[data-twom-page-intro] .twom-page-hero__subtitle,
.twom-page-hero.is-intro-visible[data-twom-page-intro] .twom-page-hero__buttons {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .twom-page-hero[data-twom-page-intro] .twom-page-hero__title,
  .twom-page-hero[data-twom-page-intro] .twom-page-hero__subtitle,
  .twom-page-hero[data-twom-page-intro] .twom-page-hero__buttons {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.twom-btn-hero-outline {
  background-color: transparent !important;
  border: 1px solid #fff !important;
}

.twom-btn-hero-outline:hover {
  background-color: #fff !important;
  color: #181818 !important;
}

/* Text link variant */
.twom-btn-text {
  background: transparent;
  color: var(--twom-white);
  padding: 14px 0;
  font-weight: 500;
}

.twom-btn-text:hover {
  opacity: 0.8;
}

/* Hero outline button */
.twom-btn-hero-outline {
  color: var(--twom-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.twom-btn-hero-outline:hover {
  border-color: var(--twom-white);
}

@media (max-width: 768px) {
  .twom-page-hero {
    min-height: 360px;
  }

  .twom-page-hero__title {
    font-size: 32px;
  }

  .twom-page-hero__buttons {
    flex-direction: column;
  }
}

/* ================================================================
   TEAM GRID (Equipe page)
   ================================================================ */
.twom-team-grid {
  padding: var(--twom-section-y) var(--twom-page-pad);
}

.twom-team-grid__container {
  max-width: var(--twom-site-max);
  margin: 0 auto;
}

.twom-team-grid__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.twom-team-grid__title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  white-space: nowrap;
}

.twom-team-grid__search {
  flex: 1;
  min-width: 180px;
}

.twom-team-grid__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e55c1d;
  padding: 10px 4px;
  font-size: 14px;
  background: transparent;
  outline: none;
  font-family: inherit;
}

.twom-team-grid__filter {
  min-width: 140px;
}

.twom-team-grid__select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e55c1d;
  padding: 10px 30px 10px 4px;
  font-size: 14px;
  background: transparent;
  outline: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.twom-team-grid__btn {
  background-color: #e55c1d;
  color: #fff;
}

.twom-team-grid__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Card — matches specialist card layout */
.twom-team-card {
  position: relative;
  /* border-radius: 22px; */
  overflow: hidden;
  aspect-ratio: 375 / 500;
  background-color: #e8e8e8;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.twom-team-card__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top;
  background-color: #e8e8e8;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.twom-team-card:hover .twom-team-card__photo {
  transform: scale(1.03);
}

/* Info overlay at bottom */
.twom-team-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  /* border-radius: 0 0 22px 22px; */
  height: 100px;
  transition: height 0.7s ease;
}

.twom-team-card:hover .twom-team-card__info {
  height: 110px;
}

.twom-team-card__accent {
  flex-shrink: 0;
  width: 10px;
  height: 100%;
  background-color: #132030;
}

.twom-team-card__accent_b {
  flex-shrink: 0;
  width: 10px;
  height: 100%;
  background-color: #37506f;
}

.twom-team-card__content {
  flex: 1;
  background-color: #122147;
  opacity: 0.95;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.twom-team-card__default {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity 0.25s ease;
}

.twom-team-card__expanded {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.twom-team-card__name {
  font-size: 17px !important;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: #ffffff;
}

.twom-team-card__role {
  font-size: 14px !important;
  line-height: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.9;
}

.twom-team-card__meta {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
  line-height: 1.4;
}

.twom-team-card__meta:hover {
  opacity: 1;
}

.twom-team-card:hover .twom-team-card__info {
  height: 220px;
}

.twom-team-card:hover .twom-team-card__default {
  opacity: 0;
}

.twom-team-card:hover .twom-team-card__expanded {
  opacity: 1;
  pointer-events: auto;
}

/* Fix: cards use aspect-ratio inside a 1fr grid. When the widget sits in an
   Elementor flex-column container (.e-con.e-flex), the container's intrinsic
   sizing pass collapses the 1fr columns to ~0 width, so aspect-ratio shrinks
   the computed grid height. The container ends up shorter than the real grid,
   and the cards overflow into the section below (most visible on mobile).
   Taking the direct parent container out of flex flow makes it size to the
   real content height. Our widget is the sole child, so block stacking is
   visually identical to the single-item flex column. */
.e-con:has(> .elementor-widget-2maker-team-grid),
.e-con-inner:has(> .elementor-widget-2maker-team-grid) {
  display: block !important;
}

@media (max-width: 1024px) {
  .twom-team-grid__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .twom-team-grid__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .twom-team-grid__list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .twom-team-card__name {
    font-size: 16px;
  }

  .twom-team-card__role {
    font-size: 13px;
  }

  .twom-team-card__info {
    height: 80px;
  }

  .twom-team-card:hover .twom-team-card__info {
    height: 100%;
  }

  .twom-team-grid__header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ================================================================
   TEAM SPECIALISTS (carousel on Exp pages)
   Figma: square portrait cards, hover expand, slider arrows outside
   ================================================================ */
.twom-specialists {
  padding: var(--twom-section-y) var(--twom-page-pad);
  background: #f5f5f5;
}

.twom-specialists__container {
  max-width: var(--twom-site-max);
  margin: 0 auto;
}

.twom-specialists__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 16px;
}

@media screen and (max-width: 600px) {
  .twom-specialists__header {
    padding: 80px 20px 0px;
  }

  .twom-specialists__header .twom-btn {
    opacity: 0;
    padding: 0 !important;
  }
}

.twom-specialists__title {
  margin: 0;
}

/* Slider wrapper â arrows + track */
.twom-specialists__slider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.twom-specialists__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  color: var(--twom-orange);
}

.twom-specialists__arrow:hover {
  opacity: 0.7;
}

.twom-specialists__track-wrap {
  overflow: hidden;
  flex: 1;
}

.twom-specialists__track {
  display: flex;
  gap: 20px;
  transition: transform 420ms ease;
}

/* ââ Card ââ */
.twom-specialist-card {
  flex: 0 0 calc((100% - 60px) / 4);
  position: relative;
  /* border-radius: 10px; */
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 307 / 500;
  background-color: #e8e8e8;
}

.twom-specialist-card__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-color: #e8e8e8;
  transition: transform 0.4s ease;
}

/* Info overlay at bottom */
.twom-specialist-card__info {
  background: transparent;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  overflow: hidden;
  /* border-radius: 0 0 10px 10px; */
  transition: height 0.35s ease;
  height: 100px;
}

.twom-specialist-card__accent,
.twom-team-card__accent {
  flex-shrink: 0;
  width: 7px;
  background-color: #E55C1D;
}

.twom-specialist-card__accent--2,
.twom-team-card__accent_b {
  flex-shrink: 0;
  width: 7px;
  background-color: #21416b;
}

.twom-specialist-card__content,
.twom-team-card__content {
  flex: 1;
  background-color: #122147;
  opacity: 0.95;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

@media screen and (max-width: 769px) {
  .twom-team-card__content {
    padding: 15px 10px !important;
    justify-content: start !important;
  }

  .twom-team-card__name {
    font-size: 16px !important;
  }

  .twom-team-card__expanded {
    left: 10px !important;
  }
}

/* Default state â name + role */
.twom-specialist-card__default {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity 0.25s ease;
}

/* Expanded state â hidden by default */
.twom-specialist-card__expanded {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Hover: expand info, show details */
.twom-specialist-card:hover .twom-specialist-card__info {
  height: 220px;
}

.twom-specialist-card:hover .twom-specialist-card__photo {
  transform: scale(1.03);
}

.twom-specialist-card:hover .twom-specialist-card__default {
  opacity: 0;
}

.twom-specialist-card:hover .twom-specialist-card__expanded {
  opacity: 1;
  pointer-events: auto;
}

/* Text styles */
.twom-specialist-card__name {
  font-size: 17px !important;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: #ffffff;
}

.twom-specialist-card__role {
  font-size: 14px !important;
  line-height: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.9;
}

.twom-specialist-card__icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.twom-specialist-card__meta {
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
  line-height: 1.4;
}

.twom-specialist-card__meta--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.twom-specialist-card__meta:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ââ Responsive ââ */
@media (max-width: 1024px) {
  .twom-specialist-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  .twom-specialists {
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  .twom-specialist-card {
    flex: 0 0 100%;
  }

  .twom-specialist-card__name {
    font-size: 18px;
  }

  .twom-specialist-card__role {
    font-size: 15px;
  }

  .twom-specialist-card__info {
    height: 80px;
  }

  .twom-specialist-card:hover .twom-specialist-card__info {
    height: 180px;
  }

  .twom-specialists__title {
    font-size: 26px;
  }

  .twom-specialists__slider {
    gap: 8px;
    min-width: 0;
  }

  .twom-specialists__track-wrap {
    min-width: 0;
  }

  .twom-specialists__arrow {
    width: 32px;
    height: 32px;
  }

  .twom-specialists__arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* ================================================================
   BLOG LISTING (GB News page)
   ================================================================ */
.twom-blog-listing {
  padding: 0 var(--twom-page-pad) var(--twom-section-y);
}

.twom-blog-listing__container {
  max-width: var(--twom-site-max);
  margin: 0 auto;
}

/* Featured Article */
.twom-blog-listing__featured {
  padding: clamp(56px, 5vw, 84px) 0 clamp(72px, 6vw, 104px);
  border-top: 1px solid rgba(229, 92, 29, 0.4);
  margin-bottom: clamp(64px, 6vw, 112px);
}

.twom-blog-listing__featured-top {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 42px);
  margin-bottom: clamp(36px, 3vw, 52px);
}

.twom-blog-listing__featured-heading {
  flex: 0 1 auto;
  margin: 0;
}

.twom-blog-listing__featured-top-line {
  flex: 1 1 auto;
  min-width: 48px;
  height: 1px;
  background: rgba(25, 25, 25, 0.45);
}

.twom-blog-listing__featured-year {
  flex: 0 0 auto;
  font-size: clamp(54px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--twom-text);
  line-height: 1;
}

.twom-blog-listing__featured-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}

.twom-blog-listing__featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.twom-blog-listing__featured-img {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e9edf2;
  text-decoration: none;
}

.twom-blog-listing__featured-date {
  font-size: 15px;
  color: #878787;
  line-height: 1.4;
}

.twom-blog-listing__featured-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.twom-blog-listing__featured-cats .twom-blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 500;
  background: #eff2f6;
  color: #3a4866;
}

.twom-blog-listing__featured-title {
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  /* max-width: 15ch; */
}

.twom-blog-listing__featured-title a {
  text-decoration: none;
  color: inherit;
}

.twom-blog-listing__featured-title a:hover {
  color: var(--twom-orange);
}

.twom-blog-listing__featured-excerpt {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.45;
  color: #8f8f8f;
  margin: 0;
  max-width: 26ch;
}

.twom-blog-listing__read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--twom-orange);
  text-decoration: none;
}

.twom-blog-listing__read-more-arrow {
  font-size: 1.1em;
  line-height: 1;
}

.twom-blog-listing__read-more:hover {
  color: #c94e13;
}

.twom-blog-listing__featured-img {
  margin-top: 0;
  max-width: 100%;
}

.twom-blog-listing__featured-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.twom-blog-listing__featured-img:hover img {
  transform: scale(1.03);
}

/* Grid Section */
.twom-blog-listing__grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 88px);
  margin-bottom: 42px;
}

.twom-blog-listing__heading {
  flex: 0 1 48%;
  margin: 0;
}

.twom-blog-listing__desc {
  flex: 0 1 40%;
  color: #8b8b8b;
  line-height: 1.5;
  margin: 0;
  max-width: 31ch;
}

/* Filters */
.twom-blog-listing__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 56px;
}

.twom-blog-listing__filter-field {
  min-width: 0;
}

.twom-blog-listing__filter-field label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--twom-orange);
  margin-bottom: 0;
}

.twom-blog-listing__filter-field input,
.twom-blog-listing__filter-field select {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--twom-orange);
  border-radius: 0;
  padding: 12px 0 13px;
  font-size: 16px;
  font-family: inherit;
  color: var(--twom-text);
  background: transparent;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.twom-blog-listing__filter-field input::placeholder {
  color: #a0a0a0;
}

.twom-blog-listing__filter-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%23939393' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
}

.twom-blog-listing__filter-field input:focus,
.twom-blog-listing__filter-field select:focus {
  border-bottom-color: #c94e13;
}

.twom-blog-listing .twom-btn-primary {
  min-width: 118px;
  min-height: 46px;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--twom-orange);
  color: var(--twom-white);
}

.twom-blog-listing .twom-btn-primary svg {
  flex: 0 0 auto;
}

.twom-blog-listing__filter-btn {
  background: transparent;
  border: 0;
  font-size: 14px;
  padding: 8px 4px;
  cursor: pointer;
  color: var(--twom-muted);
  transition: color 0.2s;
  font-family: inherit;
}

.twom-blog-listing__filter-btn.is-active,
.twom-blog-listing__filter-btn:hover {
  color: var(--twom-text);
  font-weight: 500;
}

.twom-blog-listing__filter-btn.is-active {
  border-bottom: 2px solid var(--twom-orange);
}

/* Blog Grid */
.twom-blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

/* Re-use blog card style from carousel */
.twom-blog-listing__grid .twom-blog-card {
  position: relative;
  min-height: clamp(300px, 26vw, 360px);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--twom-white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.twom-blog-listing__grid .twom-blog-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 32, 48, 0.05) 5%, rgba(19, 32, 48, 0.78) 100%);
}

.twom-blog-listing__grid .twom-blog-card__inner {
  position: relative;
  margin-top: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.twom-blog-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.twom-blog-listing__grid .twom-blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 14px;
  font-size: 14px;
  font-weight: 500;
  background: var(--twom-orange);
  color: var(--twom-white);
}

.twom-blog-card__title {
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.twom-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.twom-blog-card__more .twom-arrow {
  color: var(--twom-orange);
}

/* Pagination */
.twom-blog-listing__pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.twom-blog-listing__pagination a,
.twom-blog-listing__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  color: var(--twom-text);
  border: 1px solid #e0e0e0;
  transition: background 0.2s, color 0.2s;
}

.twom-blog-listing__pagination .current,
.twom-blog-listing__pagination a:hover {
  background: var(--twom-orange);
  color: var(--twom-white);
  border-color: var(--twom-orange);
}

@media (max-width: 768px) {
  .twom-blog-listing__featured {
    padding-top: 40px;
  }

  .twom-blog-listing__featured-top {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
  }

  .twom-blog-listing__featured-top-line {
    order: 3;
    width: 100%;
  }

  .twom-blog-listing__grid {
    grid-template-columns: 1fr;
  }

  .twom-blog-listing__featured-card {
    grid-template-columns: 1fr;
  }

  .twom-blog-listing__featured-content {
    gap: 18px;
  }

  .twom-blog-listing__featured-year {
    font-size: 48px;
  }

  .twom-blog-listing__grid-header {
    flex-direction: column;
    gap: 12px;
  }

  .twom-blog-listing__heading {
    font-size: 28px;
    flex: auto;
    max-width: none;
  }

  .twom-blog-listing__desc {
    max-width: none;
  }

  .twom-blog-listing__filters {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .twom-blog-listing .twom-btn-primary {
    width: 100%;
  }
}

/* ================================================================
   AREA DETAIL (practice area / Exp pages)
   ================================================================ */
.twom-area-detail {
  padding: var(--twom-section-y) var(--twom-page-pad);
}

.twom-area-detail__container {
  max-width: var(--twom-site-max);
  margin: 0 auto;
}

.twom-area-detail__block {
  margin-bottom: 40px;
}

.twom-area-detail__block-title {
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: -1.5px;
}

@media screen and (min-width: 1200px) {
  .twom-area-detail__block {
    /* max-width: 800px; */
  }
}

.twom-area-detail__block-title--lg {
  font-size: 42px;
}

.twom-area-detail__block-title--md {
  font-size: 28px;
}

.twom-area-detail__block-text {
  max-width: 100%;
  color: #4e4e4e !important;
}

.twom-area-detail__block-text p {
  margin: 0 0 12px;
}

.twom-area-detail__services-title {
  /* font-size: 28px; */
  /* font-weight: 400; */
  /* letter-spacing: -1px; */
  margin: 60px 0 24px;
}

.twom-area-detail__services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.twom-service-card {
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.twom-service-card:hover {
  border-color: var(--twom-orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.twom-service-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.twom-service-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--twom-muted);
  margin: 0;
  flex: 1;
}

.twom-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  margin-top: auto;
  transition: color 0.2s;
}

.twom-service-card__link:hover {
  color: var(--twom-orange);
}

@media (max-width: 1024px) {
  .twom-area-detail__services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .twom-area-detail__services-grid {
    grid-template-columns: 1fr;
  }

  .twom-area-detail__block-title--lg {
    font-size: 32px;
  }
}

/* ================================================================
   WHY CHOOSE US (Quem Somos page)
   ================================================================ */
.twom-why {
  padding: var(--twom-section-y) var(--twom-page-pad);
  background: #f5f5f5;
}

.twom-why__container {
  max-width: var(--twom-site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.twom-why__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.twom-why__title {
  margin: 0;
}

.twom-why__desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.twom-why__accordion {
  display: flex;
  flex-direction: column;
}

.twom-why__acc-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

a.twom-why__acc-item--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.twom-why__acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.twom-why__acc-title {
  font-size: 18px;
  font-weight: 500;
}

.twom-why__acc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s;
}

.twom-why__acc-item[data-twom-why-acc-toggle].is-open .twom-why__acc-arrow {
  transform: rotate(90deg);
}

.twom-why__acc-body {
  padding-top: 12px;
}

.twom-why__acc-body p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--twom-muted);
  margin: 0;
}

.twom-why__right {
  position: relative;
}

.twom-why__image {
  width: 100%;
  height: 0;
  padding-bottom: 85%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
}

@media (max-width: 768px) {
  .twom-why__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .twom-why__image {
    padding-bottom: 80%;
  }

  .twom-why__title {
    font-size: 28px;
  }
}

/* ----------------------------------------------------------------
   Custom Header
   ---------------------------------------------------------------- */
.twom-header {
  width: 100%;
  z-index: 1000;
}

.twom-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--twom-site-max);
  margin: 0 auto;
  padding: 0;
  gap: 32px;
}

.twom-header__logo {
  flex-shrink: 0;
  display: inline-flex;
}

.twom-header__logo img {
  width: 120px;
  height: auto;
  display: block;
}

/* Navigation â wp_nav_menu output */
.twom-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.twom-header__nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.twom-header__nav li {
  position: relative;
}

.twom-header__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.25s ease;
  position: relative;
}

/* Underline hover effect on top-level menu items */
.twom-header__nav>ul>li>a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--twom-orange);
  transition: width 0.3s ease;
}

.twom-header__nav>ul>li>a:hover::before,
.twom-header__nav>ul>li.current-menu-item>a::before,
.twom-header__nav>ul>li.current-menu-ancestor>a::before {
  width: 100%;
}

.twom-header__nav a:hover {
  color: var(--twom-orange);
}

/* Active/current page indicator */
.twom-header__nav>ul>li.current-menu-item>a,
.twom-header__nav>ul>li.current-menu-ancestor>a {
  color: var(--twom-orange);
}

/* Dropdown submenu */
.twom-header__nav li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
}

.twom-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 300px;
  background: var(--twom-navy);
  border-radius: 0 0 12px 12px;
  padding: 8px 0 12px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

.twom-header__nav li:hover>.sub-menu {
  transform: translateX(-50%) translateY(0);
}

.twom-header__nav .sub-menu li {
  padding: 0;
}

.twom-header__nav .sub-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  border-left: 3px solid transparent;
}

.twom-header__nav .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--twom-orange);
  padding-left: 28px;
  border-left-color: var(--twom-orange);
}

/* Active sub-menu item */
.twom-header__nav .sub-menu li.current-menu-item>a {
  color: var(--twom-orange);
  border-left-color: var(--twom-orange);
  background: rgba(229, 92, 29, 0.08);
}

/* Menu item with children indicator */
.twom-header__nav>ul>li.menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  transition: transform 0.25s ease;
}

.twom-header__nav>ul>li.menu-item-has-children:hover>a::after {
  transform: rotate(-135deg);
  top: 1px;
}

/* CTA Button */
.twom-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  background: var(--twom-orange);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.twom-header__cta:hover {
  background: #d04f15;
  transform: translateY(-1px);
}

.twom-header__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hamburger â mobile only */
.twom-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.twom-header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile hamburger open state */
.twom-header.is-mobile-open .twom-header__hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.twom-header.is-mobile-open .twom-header__hamburger span:nth-child(2) {
  opacity: 0;
}

.twom-header.is-mobile-open .twom-header__hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .twom-header__hamburger {
    display: flex;
  }

  .twom-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--twom-navy);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    transition: right 0.35s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .twom-header.is-mobile-open .twom-header__nav {
    right: 0;
  }

  .twom-header__nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .twom-header__nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .twom-header__nav a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
  }

  .twom-header__nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0 0 0 16px;
    background: transparent;
    border-radius: 0;
  }

  .twom-header__nav .sub-menu a {
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
  }

  .twom-header__cta {
    display: none;
  }

  /* Mobile overlay */
  .twom-header.is-mobile-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
}

/* ================================================================
   HOVER EFFECTS & MICRO-INTERACTIONS
   ================================================================ */

/* --- Blog Cards (carousel + listing) --- */
.twom-blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.twom-blog-card:hover .twom-blog-img {
  transform: scale(1.04);
}

.twom-blog-img {
  transition: transform 0.5s ease;
}

/* --- Team Member Cards --- */
/* Hover effects defined in card section above */

/* --- Specialist Cards (carousel) --- */
/* Hover effects are defined in the card section above */

/* --- Service Cards (area-detail pages) --- */
.twom-service-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.twom-service-card:hover {
  border-color: var(--twom-orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* --- Accordion Items (Why Choose Us) --- */
.twom-why__acc-item {
  transition: background 0.2s ease;
}

.twom-why__acc-item:hover {
  color: #181818;
  background: rgba(0, 0, 0, 0.02);
}

.twom-why__acc-arrow {
  transition: transform 0.25s ease, color 0.2s ease;
}

.twom-why__acc-item:hover .twom-why__acc-arrow {
  color: var(--twom-orange);
  transform: translateX(3px);
}

.twom-why__acc-item[data-twom-why-acc-toggle].is-open:hover .twom-why__acc-arrow {
  transform: rotate(90deg);
}

/* --- Areas Grid Panels (Home) --- */
.twom-areas-panel {
  transition: flex-grow 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.twom-areas-bg {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.twom-areas-grad {
  transition: opacity 0.5s ease;
}

.twom-areas-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(229, 92, 29, 0);
  transition: background 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.twom-areas-panel:hover .twom-areas-bg {
  transform: scale(1.3);
}

.twom-areas-panel:hover .twom-areas-grad {
  opacity: 0.92;
}

.twom-areas-panel:hover::after {
  background: rgba(229, 92, 29, 0.05);
}

.twom-areas-label h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  transform-origin: left center;
  transition: transform 0.28s ease-out;
}

.twom-areas-label h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e55c1d 0 50%, #ffffff 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.twom-areas-panel:hover .twom-areas-label h3 {
  transform: scale(1.2);
}

.twom-areas-panel:hover .twom-areas-label h3::after {
  background-position: 0 0;
}

.twom-areas-underline {
  transition: width 0.45s ease, background 0.45s ease;
}

.twom-areas-panel:hover .twom-areas-underline {
  width: min(170px, 48%);
}

@media screen and (max-width: 767px) {
  .twom-areas-list {
    flex-direction: column;
    min-height: auto;
    overflow: visible;
  }

  .twom-areas-panel {
    flex: none;
    min-height: 280px;
  }

  .twom-areas-panel:hover {
    flex-grow: 1;
  }

  .twom-areas-panel:hover .twom-areas-bg {
    transform: none;
  }

  .twom-areas-panel:hover .twom-areas-grad {
    opacity: 1;
  }

  .twom-areas-panel:hover::after {
    background: rgba(229, 92, 29, 0);
  }
}

/* --- Excellence Logos --- */
.twom-excellence-logo {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.twom-excellence-logo:hover {
  transform: scale(1.06);
}

@media screen and (max-width: 767px) {
  .twom-excellence {
    gap: 32px;
  }

  .twom-excellence-text {
    flex-direction: column;
    gap: 20px;
  }

  .twom-excellence-text h2 {
    max-width: 100%;
    margin-bottom: 0;
  }

  .twom-excellence-text p {
    max-width: 100%;
    text-align: left;
  }

  .twom-excellence-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .twom-excellence-logo:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .twom-excellence-logo:last-child:nth-child(odd) img {
    width: min(100%, 160px);
  }

  .twom-excellence-marquee-set {
    gap: 24px;
    padding-right: 24px;
  }

  .twom-excellence-marquee-set .twom-excellence-logo {
    width: 140px;
  }

  .twom-excellence-marquee-set .twom-excellence-logo img {
    max-width: 140px;
    max-height: 140px;
  }
}

/* --- Hero Bottom Cards --- */
.twom-hero-card {
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.twom-hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Social Icons (Footer) --- */
.twom-socials a {
  transition: background 0.25s ease, transform 0.2s ease;
}

.twom-socials a:hover {
  background: var(--twom-orange);
  transform: translateY(-2px);
}

/* --- Footer Links --- */
.twom-footer-col li a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.twom-footer-col li a:hover {
  color: var(--twom-orange);
  padding-left: 4px;
  text-decoration: none;
}

/* --- Newsletter Form Input Focus --- */
.twom-newsletter-form input {
  transition: border-color 0.25s ease;
}

.twom-newsletter-form input:focus {
  border-bottom-color: var(--twom-orange);
}

/* --- Form Fields Focus --- */
.twom-form-field input:focus,
.twom-form-field select:focus,
.twom-form-field textarea:focus {
  border-bottom-color: var(--twom-orange);
  transition: border-color 0.25s ease;
}

/* --- Blog Listing Featured Title --- */
.twom-blog-listing__featured-title a {
  transition: color 0.2s ease;
}

/* --- Blog Filter Buttons --- */
.twom-blog-listing__filter-btn {
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* --- Pagination Links --- */
.twom-blog-listing__pagination a {
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.twom-blog-listing__pagination a:hover {
  transform: translateY(-1px);
}

/* --- Link Arrows (inline) --- */
.twom-link-arrow {
  transition: gap 0.2s ease;
}

.twom-link-arrow:hover {
  gap: 8px;
}

/* --- Service Card Link Arrow Animation --- */
.twom-service-card__link svg {
  transition: transform 0.2s ease;
}

.twom-service-card__link:hover svg {
  transform: translateX(4px);
}

/* --- Why Choose Us Image --- */
.twom-why__image {
  transition: transform 0.5s ease;
  overflow: hidden;
}

.twom-why__right:hover .twom-why__image {
  transform: scale(1.02);
}

/* --- Read More Links --- */
.twom-blog-listing__read-more {
  transition: color 0.2s ease, gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.twom-blog-listing__read-more:hover {
  gap: 8px;
}

/* ─── Fix: force visibility on Elementor entrance-animation sections ─── */
/* Prevents blank pages when Waypoint/scroll-trigger library fails to load */
.elementor-invisible {
  visibility: visible !important;
}

/* ----------------------------------------------------------------
   Areas Cards (twom-ac)
   ---------------------------------------------------------------- */
.twom-ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.twom-ac-card {
  display: flex;
  flex-direction: column;
  background-color: #f0f0f0;
  /* border-radius: 12px; */
  padding: 32px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ebebeb;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.twom-ac-card:hover {
  background-color: #122147 !important;
}

.twom-ac-card:hover .twom-ac-title {
  color: #fff !important;
}

.twom-ac-card:hover .twom-ac-desc {
  color: #fafafa !important;
}

.twom-ac-title {
  font-size: 1.2rem;
  line-height: 1.3;
  height: 58px;
  color: #191919;
}

.twom-ac-divider {
  display: block;
  height: 1px;
  width: 100%;
  background-color: #e55c1d;
  border-radius: 2px;
  margin-bottom: 16px;
}

.twom-ac-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 auto;
  padding-bottom: 20px;
}

.twom-ac-arrow {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.twom-ac-arrow svg {
  width: 24px;
  height: 24px;
  color: #e55c1d;
  transition: transform 0.25s ease;
}

.twom-ac-card:hover .twom-ac-arrow svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .twom-ac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {

  .elementor-widget-2maker-areas-cards .twom-ac-grid,
  .twom-ac-grid {
    grid-template-columns: 1fr !important;
  }

  .twom-ac-card {
    padding: 24px;
  }

  .twom-ac-title {
    font-size: 18px;
  }
}
/* ----------------------------------------------------------------
   Blog single / archives — UiCore transparent header fix.
   The theme keeps the transparent-header white logo + white
   hamburger on post pages, where the header background is white.
   Force the dark logo and navy hamburger there.
   ---------------------------------------------------------------- */
body.single-post .uicore-navbar.uicore-transparent .uicore-logo.uicore-main,
body.single-post .uicore-navbar.uicore-transparent .uicore-logo.uicore-mobile-main,
body.archive .uicore-navbar.uicore-transparent .uicore-logo.uicore-main,
body.archive .uicore-navbar.uicore-transparent .uicore-logo.uicore-mobile-main,
body.search .uicore-navbar.uicore-transparent .uicore-logo.uicore-main,
body.search .uicore-navbar.uicore-transparent .uicore-logo.uicore-mobile-main {
  opacity: 1 !important;
}

body.single-post .uicore-navbar.uicore-transparent .uicore-logo.uicore-second,
body.single-post .uicore-navbar.uicore-transparent .uicore-logo.uicore-mobile-second,
body.archive .uicore-navbar.uicore-transparent .uicore-logo.uicore-second,
body.archive .uicore-navbar.uicore-transparent .uicore-logo.uicore-mobile-second,
body.search .uicore-navbar.uicore-transparent .uicore-logo.uicore-second,
body.search .uicore-navbar.uicore-transparent .uicore-logo.uicore-mobile-second {
  opacity: 0 !important;
}

body.single-post .uicore-navbar.uicore-transparent .uicore-toggle .bar,
body.archive .uicore-navbar.uicore-transparent .uicore-toggle .bar,
body.search .uicore-navbar.uicore-transparent .uicore-toggle .bar {
  background-color: var(--twom-navy) !important;
}

body.single-post .uicore-navbar.uicore-transparent .uicore-menu > li > a,
body.archive .uicore-navbar.uicore-transparent .uicore-menu > li > a,
body.search .uicore-navbar.uicore-transparent .uicore-menu > li > a {
  color: var(--twom-navy);
}

/* ----------------------------------------------------------------
   Hide UiCore mobile-menu placeholder phone (1-800-555-7474).
   Only matches this exact placeholder number — a real phone number
   set in the theme options will still show.
   ---------------------------------------------------------------- */
.uicore-custom-area .uicore-hca h5:has(a[href="tel:1-800-555-7474"]) {
  display: none !important;
}

/* ----------------------------------------------------------------
   "Ver todas" item injected into the UiCore mobile submenus.
   The theme only reveals menu items it animated itself (they start
   at opacity 0 + translateY), and ours never gets that treatment.
   ---------------------------------------------------------------- */
.uicore-mobile-menu-wrapper li.twom-see-all {
  opacity: 1 !important;
  transform: none !important;
}

/* ----------------------------------------------------------------
   Blog cards on mobile — cap the title at 2 lines so cards keep a
   consistent height regardless of headline length.
   ---------------------------------------------------------------- */
@media (max-width: 767px) {

  .twom-blog-section .twom-blog-card h3,
  .twom-blog-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Blog cards on mobile — show a single category tag per card */
@media (max-width: 767px) {

  .twom-blog-section .twom-blog-card .twom-tags .twom-tag:not(:first-child),
  .twom-blog-card__tags .twom-blog-tag:not(:first-child) {
    display: none;
  }
}

/* Blog cards on mobile — keep the tag on a single line, ellipsis on overflow */
@media (max-width: 767px) {

  .twom-blog-section .twom-blog-card .twom-tag,
  .twom-blog-card__tags .twom-blog-tag {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ----------------------------------------------------------------
   Blog carousel — drag / swipe to scroll
   ---------------------------------------------------------------- */
.twom-blog-track {
  cursor: grab;
  touch-action: pan-y;
}

.twom-blog-track.is-dragging {
  cursor: grabbing;
  transition: none;
  user-select: none;
}

.twom-blog-track.is-dragging a {
  pointer-events: none;
}

.twom-blog-track img,
.twom-blog-track a {
  -webkit-user-drag: none;
}

/* ----------------------------------------------------------------
   Post signature — "Por Fulano e Beltrana" (bulk authorship tool)
   ---------------------------------------------------------------- */
.twom-post-authors {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 33, 71, 0.12);
  font-size: 16px;
  color: var(--twom-text);
}

.twom-post-authors__label {
  font-weight: 600;
  color: var(--twom-navy);
}

.twom-post-authors a {
  color: var(--twom-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--twom-orange);
}

.twom-post-authors a:hover {
  color: var(--twom-orange);
}

/* ----------------------------------------------------------------
   Desktop menu — on hover, the underline runs edge to edge of the
   whole item (label + dropdown arrow) instead of stopping at the
   end of the text. The theme anchors the bar to the label, so it is
   pulled out to the link's own edges: 17px of padding on the left,
   27px on the right (17px padding + 10px of label margin).
   ---------------------------------------------------------------- */
/* The theme sizes this bar with an explicit width, which is why
   overriding `right` does nothing — with left + width set, `right`
   is ignored. Widening it is what actually works: +20px reaches past
   the arrow (10px of margin after the label, plus the 10px the theme
   nudges the arrow right). Both are fixed values, unlike the item's
   side padding, which shrinks on narrower screens. */
.uicore-navbar .uicore-menu > li.menu-item-has-children > a > .ui-menu-item-wrapper::before {
  width: calc(100% + 20px);
}

/* ----------------------------------------------------------------
   Blog posts — header CTA turned into a direct e-mail link
   ---------------------------------------------------------------- */
body.single-post .uicore-cta-wrapper a.uicore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.single-post .uicore-cta-wrapper a.uicore-btn .twom-cta-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   Author photos — crop from the top so portraits keep the face
   instead of being cut through the middle.
   ---------------------------------------------------------------- */
.avatar,
.gb-author img,
.gb-authors img {
  object-fit: cover;
  object-position: top center;
}

/* Author block inside the theme's "Escrito por" section */
.gb-authors .gb-author .gb-author-name {
  font-size: 15px;
}

.gb-authors .gb-author .gb-author-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gb-authors .gb-author .gb-author-name a:hover {
  color: var(--twom-orange);
}

.gb-author a.twom-author-photo {
  display: inline-block;
  text-decoration: none;
}

/* E-mail line: envelope icon sitting next to the address */
.gb-author .gb-author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gb-author .gb-author-link .twom-mail-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   Author archive — blog cards plus a header with the professional
   ---------------------------------------------------------------- */
.twom-author {
  max-width: 1440px;
  margin: 0 auto;
  /* top padding clears the site header, which overlaps the page */
  padding: clamp(120px, 11vw, 168px) 24px clamp(48px, 6vw, 80px);
}

.twom-author__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.twom-author__avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.twom-author__name {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--twom-navy);
  margin: 0 0 6px;
}

.twom-author__bio {
  font-size: 16px;
  line-height: 1.55;
  color: var(--twom-text);
  margin: 0 0 6px;
  max-width: 62ch;
}

.twom-author__count {
  font-size: 14px;
  color: var(--twom-muted);
  margin: 0;
}

.twom-author__empty {
  font-size: 16px;
  color: var(--twom-muted);
}

.twom-author .twom-blog-listing__grid {
  gap: 28px 24px;
}

/* Same card rules the blog listing uses: title capped at two lines,
   a single tag, kept on one line. Applied at every width here so the
   cards line up in the two-column grid. */
.twom-author .twom-blog-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.twom-author .twom-blog-card__tags .twom-blog-tag:not(:first-child) {
  display: none;
}

.twom-author .twom-blog-card__tags .twom-blog-tag {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .twom-author {
    padding-top: clamp(96px, 22vw, 130px);
  }

  .twom-author__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .twom-author__avatar img {
    width: 88px;
    height: 88px;
  }

  .twom-author .twom-blog-listing__grid {
    grid-template-columns: 1fr;
  }
}
