/* ============================================================
   UNITED FORCE — DESIGN SYSTEM
   Boutique IT | Los Angeles, CA
   ============================================================ */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  /* Colors */
  --color-dark:       #111110;
  --color-dark-2:     #1C1B19;
  --color-dark-3:     #2A2925;
  --color-cream:      #F4EFE6;
  --color-cream-2:    #EDE7DA;
  --color-cream-3:    #E0D9CC;
  --color-white:      #FAFAF8;
  --color-text-dark:  #1A1916;
  --color-text-mid:   #4A4840;
  --color-text-light: #F4EFE6;
  --color-text-muted: #8C8880;
  --color-gold:       #B8A882;
  --color-border:     rgba(180,170,152,0.2);
  --color-border-dark:rgba(250,250,248,0.1);

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-xxl:  11rem;

  /* Layout */
  --max-width:  1280px;
  --nav-height: 72px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-text-dark);
  background: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.1rem; }

p { line-height: 1.8; color: var(--color-text-mid); }

.label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.label--light { color: rgba(244,239,230,0.5); }
.label--dark  { color: var(--color-text-muted); }

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section { padding: var(--space-xl) 0; }
.section--sm { padding: var(--space-lg) 0; }
.section--dark { background: var(--color-dark); color: var(--color-text-light); }
.section--dark-2 { background: var(--color-dark-2); color: var(--color-text-light); }
.section--cream { background: var(--color-cream); }
.section--cream-2 { background: var(--color-cream-2); }
.section--white { background: var(--color-white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 4rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* --- NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(17,17,16,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
}

.site-header.light-nav { background: rgba(244,239,230,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); }
.site-header.light-nav .nav-logo,
.site-header.light-nav .nav-link { color: var(--color-text-dark); }
.site-header.light-nav .nav-cta { background: var(--color-dark); color: var(--color-cream); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-cream);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-logo__mark { height: 26px; width: auto; display: block; }
.footer-brand__mark { height: 30px; width: auto; display: inline-block; vertical-align: middle; margin-right: 0.65rem; }

.nav-menu { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.75);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover { color: var(--color-cream); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(244,239,230,0.3);
  color: var(--color-cream);
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--color-cream); color: var(--color-dark); border-color: var(--color-cream); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--color-cream);
  transition: all 0.3s;
}

/* --- DESKTOP DROPDOWNS --- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link--parent { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__inner {
  background: rgba(17,17,16,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 2.75rem;
  min-width: 240px;
}
.nav-dropdown--wide .nav-dropdown__inner { min-width: 480px; }
.nav-dropdown__col { display: flex; flex-direction: column; min-width: 200px; }
.nav-dropdown__heading {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}
.nav-dropdown__link {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(244,239,230,0.72);
  padding: 0.42rem 0;
  transition: color 0.18s, padding-left 0.18s;
  white-space: nowrap;
}
.nav-dropdown__link:hover {
  color: var(--color-cream);
  padding-left: 6px;
}

/* Light-nav variants */
.site-header.light-nav .nav-caret { color: var(--color-text-dark); }
.site-header.light-nav .nav-dropdown__inner {
  background: rgba(255,255,255,0.98);
  border-color: var(--color-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.site-header.light-nav .nav-dropdown__link { color: var(--color-text-muted); }
.site-header.light-nav .nav-dropdown__link:hover { color: var(--color-text-dark); }

/* Collapse the horizontal nav to the mobile menu before it gets cramped */
@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
}

/* --- HERO COMPONENTS --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  overflow: hidden;
  color: var(--color-text-light);
}

.hero--short {
  min-height: 70vh;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-dark);
  overflow: hidden;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,16,0.3) 0%,
    rgba(17,17,16,0.1) 40%,
    rgba(17,17,16,0.7) 80%,
    rgba(17,17,16,0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero__label { margin-bottom: 1.5rem; }

.hero__title {
  color: var(--color-white);
  max-width: 750px;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--color-cream-3);
}

.hero__sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(244,239,230,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* --- BUTTONS & CTAs --- */
.btn,
.uf-btn .elementor-button {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  transition: all 0.25s;
}

.btn--outline-light,
.uf-btn--light .elementor-button {
  border: 1px solid rgba(244,239,230,0.4);
  color: var(--color-cream);
}
.btn--outline-light:hover,
.uf-btn--light .elementor-button:hover {
  background: var(--color-cream);
  color: var(--color-dark);
  border-color: var(--color-cream);
}

.btn--outline-dark,
.uf-btn--dark-outline .elementor-button {
  border: 1px solid rgba(26,25,22,0.35);
  color: var(--color-text-dark);
}
.btn--outline-dark:hover,
.uf-btn--dark-outline .elementor-button:hover {
  background: var(--color-dark);
  color: var(--color-cream);
}

.btn--solid-dark,
.uf-btn--dark-solid .elementor-button {
  background: var(--color-dark);
  color: var(--color-cream);
  border: 1px solid var(--color-dark);
}
.btn--solid-dark:hover,
.uf-btn--dark-solid .elementor-button:hover {
  background: var(--color-dark-2);
}

.btn--solid-cream {
  background: var(--color-cream);
  color: var(--color-dark);
  border: 1px solid var(--color-cream);
}
.btn--solid-cream:hover { background: var(--color-cream-2); }

/* Text link */
.link-arrow,
.uf-link-arrow .elementor-button {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.link-arrow::after,
.uf-link-arrow .elementor-button::after { content: '→'; }
.link-arrow:hover,
.uf-link-arrow .elementor-button:hover { gap: 0.75rem; }

/* --- SECTION HEADERS --- */
.section-header { margin-bottom: var(--space-lg); }
.section-header .label { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 560px; font-size: 1.05rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-left: auto; margin-right: auto; }

/* --- SERVICE CARDS (Practice Overview) --- */
.service-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--color-border); }

.service-card {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
}

.service-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.04); }

.service-card__body { padding: 1.75rem 1.5rem 2rem; flex: 1; display: flex; flex-direction: column; }
.service-card__num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.service-card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card__desc { font-size: 0.88rem; line-height: 1.6; color: var(--color-text-muted); flex: 1; }
.service-card__link { margin-top: 1.5rem; }

/* --- ROMAN NUMERAL SERVICE LIST --- */
.service-list { border-top: 1px solid var(--color-border-dark); }
.service-list--light { border-color: var(--color-border); }

.service-list-item {
  display: grid;
  grid-template-columns: 3rem 1fr 1fr;
  align-items: start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border-dark);
  transition: opacity 0.2s;
}
.service-list--light .service-list-item { border-color: var(--color-border); }
.service-list-item:hover { opacity: 0.8; }

.service-list-item__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-gold);
  padding-top: 0.15rem;
}

.service-list-item__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-text-light);
  font-weight: 400;
}
.service-list--light .service-list-item__name { color: var(--color-text-dark); }

.service-list-item__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(244,239,230,0.55);
  padding-top: 0.2rem;
}
.service-list--light .service-list-item__desc { color: var(--color-text-muted); }

/* --- HOME APPROACH BAND --- */
.approach-band { position: relative; min-height: 600px; }
.approach-band__title { color: var(--color-white); max-width: 550px; }
.approach-band__inner { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.approach-band__grid  { max-width: 900px; }
.approach-band__copy p { color: rgba(244,239,230,0.65); }
.approach-step__title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.approach-step__desc { font-size: 0.88rem; color: rgba(244,239,230,0.55); }

/* --- PROCESS STEPS (Approach) --- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-border-dark); }
.process-step {
  background: var(--color-dark-2);
  padding: 3rem 2.5rem;
}
.process-step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.4;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.process-step__title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: 1.25rem;
}
.process-step__desc { font-size: 0.9rem; color: rgba(244,239,230,0.6); line-height: 1.7; }

/* --- FEATURE CARDS --- */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.feature-card {
  padding: 2.5rem;
  background: var(--color-cream-2);
}
.feature-card--dark { background: var(--color-dark-3); }

.feature-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.feature-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-card__img img { transform: scale(1.04); }

.feature-card__label { margin-bottom: 0.75rem; }
.feature-card__title { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card__title--dark { color: var(--color-text-light); }
.feature-card__desc { font-size: 0.9rem; line-height: 1.65; }
.feature-card__desc--dark { color: rgba(244,239,230,0.6); }

/* --- INDUSTRY CARDS --- */
.industry-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.industry-card { position: relative; overflow: hidden; cursor: pointer; }
.industry-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.industry-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.7);
}
.industry-card:hover .industry-card__img img { transform: scale(1.05); filter: brightness(0.55); }

.industry-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.75rem;
  background: linear-gradient(to top, rgba(17,17,16,0.95) 0%, transparent 100%);
}
.industry-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.industry-card__desc { font-size: 0.82rem; color: rgba(244,239,230,0.65); line-height: 1.55; margin-bottom: 1.25rem; }
.industry-card__link { color: var(--color-gold); }

/* --- SPLIT LAYOUT --- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.split--60-40 { grid-template-columns: 60fr 40fr; }
.split--40-60 { grid-template-columns: 40fr 60fr; }

.split__img { position: relative; overflow: hidden; min-height: 500px; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.split__content { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.split__content--dark { background: var(--color-dark); color: var(--color-text-light); }
.split__content--cream { background: var(--color-cream); }
.split__content--cream-2 { background: var(--color-cream-2); }

/* --- TESTIMONIAL --- */
.testimonial {
  padding: var(--space-xl) 0;
  text-align: center;
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-dark);
  max-width: 850px;
  margin: 0 auto 2rem;
  line-height: 1.4;
}
.testimonial__attr {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  text-align: left;
}
.testimonial-card {
  background: var(--color-white);
  padding: 2.5rem 2.25rem;
  border-top: 2px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-dark);
  margin-bottom: 1.75rem;
}
.testimonial-card__attr {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  line-height: 1.7;
}
.testimonial-card__attr span { color: var(--color-text-muted); }
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* --- STATS ROW --- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border-dark); }
.stat {
  padding: 3rem 2rem;
  background: var(--color-dark);
  text-align: center;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--color-cream);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }

/* --- INDUSTRIES STRIP --- */
.industries-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.industries-strip__item,
.e-con.industries-strip__item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
  transition: color 0.2s, background 0.2s;
}
.industries-strip__item:last-child { border-right: none; }
.industries-strip__item:hover { color: var(--color-text-dark); background: var(--color-cream-2); }

/* --- ALLIANCE / SECTOR CARDS --- */
.alliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.alliance-item {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  display: block;
  border-top: 2px solid var(--color-gold);
  transition: background 0.2s, transform 0.3s;
}
.alliance-item h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.alliance-item:hover { background: var(--color-cream); transform: translateY(-3px); }
.alliance-item img { max-height: 36px; opacity: 0.6; filter: grayscale(1); transition: opacity 0.2s, filter 0.2s; }
.alliance-item:hover img { opacity: 1; filter: grayscale(0); }
.section--dark .alliance-item { background: rgba(255,255,255,0.03); border-top-color: rgba(184,168,130,0.5); }
.section--dark .alliance-item:hover { background: rgba(255,255,255,0.06); }
.section--dark .alliance-item h3 { color: var(--color-white); }

/* --- CLIENT LIST GRID --- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* --- TEAM CARDS --- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-card {}
.team-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--color-cream-3);
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: filter 0.4s; }
.team-card:hover .team-card__img img { filter: grayscale(0); }
.team-card__name { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.25rem; }
.team-card__title { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.team-card__bio { font-size: 0.88rem; color: var(--color-text-mid); line-height: 1.6; }

/* --- BLOG CARDS --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.blog-card {}
.blog-card__img {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--color-cream-3);
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__date { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.blog-card__title { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 0.75rem; line-height: 1.3; }
.blog-card__excerpt { font-size: 0.9rem; color: var(--color-text-mid); margin-bottom: 1.25rem; }

/* --- VALUES --- */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.value-item {
  padding: 3.5rem 4rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}
.value-item:nth-child(even) { border-right: none; }
.value-item__num { font-family: var(--font-serif); font-size: 2.5rem; color: var(--color-gold); opacity: 0.35; margin-bottom: 1rem; line-height: 1; }
.value-item__title { font-size: 1.5rem; margin-bottom: 1rem; }
.value-item__desc { font-size: 0.92rem; line-height: 1.75; }

/* --- CONTACT FORM --- */
.contact-section { display: block; }
.contact-section__img { position: relative; overflow: hidden; }
.contact-section__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-section__form { padding: 5rem 4rem; background: var(--color-white); display: flex; flex-direction: column; justify-content: center; }

.form-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.form-logo span { font-weight: 300; }

.form-heading { font-size: 2rem; margin-bottom: 0.5rem; }
.form-subhead { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 2.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-dark);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-gold); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit { margin-top: 1.5rem; }
.form-submit .btn { width: 100%; text-align: center; display: block; padding: 1rem; }

/* --- COMPLIANCE BADGES --- */
.compliance-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.compliance-badge {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* --- SERVICE DETAIL PAGE --- */
.service-detail-hero { min-height: 75vh; }

.service-benefits { display: flex; flex-direction: column; gap: 0; }
.service-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border-dark);
}
.service-benefit:last-child { border-bottom: none; }
.service-benefit__check {
  width: 20px; height: 20px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.service-benefit__check::after { content: '✓'; font-size: 0.65rem; color: var(--color-gold); }
.service-benefit__text { font-size: 0.92rem; color: rgba(244,239,230,0.7); line-height: 1.6; }

/* --- SUPPORT PAGE --- */
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.support-card { padding: 3rem 2.5rem; background: var(--color-cream-2); }
.support-card--dark { background: var(--color-dark-2); }
.support-card__icon { font-size: 2rem; margin-bottom: 1.5rem; }
.support-card__title { font-size: 1.4rem; margin-bottom: 1rem; }
.support-card__desc { font-size: 0.9rem; color: var(--color-text-mid); margin-bottom: 1.5rem; }
.support-card--dark .support-card__title { color: var(--color-cream); }
.support-card--dark .support-card__desc { color: rgba(244,239,230,0.6); }

/* --- LINKS PAGE --- */
.links-list { display: flex; flex-direction: column; gap: 0; }
.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.2s;
}
.link-item:hover { opacity: 0.7; }
.link-item__title { font-family: var(--font-serif); font-size: 1.2rem; }
.link-item__desc { font-size: 0.85rem; color: var(--color-text-muted); }
.link-item__arrow { color: var(--color-gold); }

/* --- NEWSLETTER --- */
.newsletter-form { display: flex; gap: 0; max-width: 500px; }
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--color-border-dark);
  background: rgba(244,239,230,0.08);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(244,239,230,0.35); }
.newsletter-form button {
  padding: 0.9rem 1.75rem;
  background: var(--color-cream);
  color: var(--color-dark);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--color-cream-2); }

/* --- FOOTER --- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: 2rem;
}

.footer-brand__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: 1.25rem;
  display: block;
}
.footer-brand__tagline { font-size: 0.88rem; color: rgba(244,239,230,0.45); line-height: 1.65; max-width: 260px; margin-bottom: 2rem; }
.footer-brand__contact { font-size: 0.82rem; color: rgba(244,239,230,0.5); line-height: 2; }
.footer-brand__contact a { transition: color 0.2s; }
.footer-brand__contact a:hover { color: var(--color-cream); }

.footer-col__heading {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.footer-col__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col__links a {
  font-size: 0.85rem;
  color: rgba(244,239,230,0.5);
  transition: color 0.2s;
}
.footer-col__links a:hover { color: var(--color-cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom__copy { font-size: 0.72rem; color: rgba(244,239,230,0.3); }
.footer-bottom__links { display: flex; gap: 2rem; }
.footer-bottom__links a { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,239,230,0.3); transition: color 0.2s; }
.footer-bottom__links a:hover { color: rgba(244,239,230,0.7); }

/* --- PAGE HERO VARIANTS --- */
.page-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
}
.page-hero--dark { background: var(--color-dark); padding-top: calc(var(--nav-height) + 5rem); padding-bottom: 5rem; }

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 6rem 2.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-cream);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-dark);
  display: block;
  transition: opacity 0.2s;
}
.mobile-menu__link:hover { opacity: 0.6; }
.mobile-menu__footer { margin-top: auto; color: rgba(244,239,230,0.35); font-size: 0.8rem; padding-top: 1.5rem; }

/* Mobile accordion */
.mobile-menu__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu__group { border-bottom: 1px solid var(--color-border-dark); }
.mobile-menu__group .mobile-menu__link { border-bottom: none; }
.mobile-menu__group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
}
.mobile-menu__caret {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-cream);
  opacity: 0.6;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.mobile-menu__group.is-open .mobile-menu__caret { transform: rotate(180deg); }
.mobile-menu__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu__group.is-open .mobile-menu__sub { max-height: 700px; }
.mobile-menu__sublink {
  display: block;
  font-size: 1.05rem;
  color: rgba(244,239,230,0.7);
  padding: 0.55rem 0 0.55rem 1rem;
  transition: color 0.2s;
}
.mobile-menu__sublink:first-child { padding-top: 0.2rem; }
.mobile-menu__sublink:last-child { padding-bottom: 1.25rem; }
.mobile-menu__sublink:hover { color: var(--color-cream); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .alliance-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --space-xl: 5rem; --space-xxl: 7rem; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .industry-cards { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__img { min-height: 350px; }
  .split__content { padding: 3.5rem 2.5rem; }
  .contact-section__img { min-height: 300px; }
  .contact-section__form { padding: 3.5rem 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; }
  .service-list-item { grid-template-columns: 2.5rem 1fr; }
  .service-list-item__desc { grid-column: 2; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .alliance-grid, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --space-xl: 4rem; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .industry-cards { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .support-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .alliance-grid, .client-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .industries-strip { flex-wrap: wrap; }
  .industries-strip__item,
  .e-con.industries-strip__item { flex: 0 0 33.333%; border-bottom: 1px solid var(--color-border); }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
}

/* ============================================================
   ELEMENTOR INTEROP
   Pages built with Elementor wrap every element in a generic
   `.e-con` container that ships its own layout defaults. Those
   defaults are expressed as CSS custom properties, so the rules
   below re-point the properties at the theme's design system
   rather than fighting Elementor on specificity.

   Only layout plumbing lives here — the visual design still comes
   from the component classes above, exactly as on hand-coded pages.
   ============================================================ */

/* Elementor sizes widgets from --container-widget-*; let content decide. */
.e-con .elementor-widget { width: auto; }

/* Elementor hard-sets line-height:1 on every heading widget, which flattens the
   type scale. Hand headings back to the same value as the TYPOGRAPHY block above. */
.elementor-widget-heading .elementor-heading-title { line-height: 1.15; }

/* Elementor Button widgets reuse the theme's .btn / .link-arrow rules (the
   selectors are added alongside them above). These reset the parts of
   Elementor's own button skin that the theme rules don't already cover. */
.uf-btn .elementor-button,
.uf-link-arrow .elementor-button { border-radius: 0; line-height: inherit; }
.uf-btn--light .elementor-button,
.uf-btn--dark-outline .elementor-button,
.uf-link-arrow .elementor-button { background-color: transparent; }
.uf-link-arrow .elementor-button { padding: 0; }

/* Containers whose only job is to hold a full-bleed image (hero backdrop, split
   panel). The theme positions the <img> absolutely to fill them, so Elementor's
   auto-height widget wrappers have to be told to fill too, or the image
   collapses to zero height. */
.e-con.uf-fill { --display: block; }
.e-con.uf-fill > .elementor-widget-image,
.e-con.uf-fill > .elementor-widget-image > .elementor-widget-container { height: 100%; }

/* Two-up layouts are grids in the theme; Elementor marks its containers
   `e-flex`, which would otherwise force a single stacked column. */
.e-con.grid-2,
.e-con.split,
.e-con.service-list-item { --display: grid; }
.e-con.uf-align-start { align-items: start; }

/* .split__content sets `padding` directly, which would always beat Elementor's
   custom-property padding. Route it back through the properties so the panel's
   Padding control stays authoritative on Elementor-built pages. */
.e-con.split__content {
  padding-block: var(--padding-block-start) var(--padding-block-end);
  padding-inline: var(--padding-inline-start) var(--padding-inline-end);
}

/* Spacing between stacked widgets comes from each widget's own Margin control
   in the Elementor panel, so it stays editable. Nothing here adds margins —
   a CSS rule as well would double every gap.  */

/* Centred closing call-to-action. */
.e-con.uf-cta { text-align: center; }
.e-con .uf-cta-heading .elementor-heading-title { color: var(--color-white); }
.e-con .uf-cta-text p { color: rgba(244, 239, 230, 0.6); }

/* Inner max-widths. .container sets max-width directly, so these need to be
   classes rather than Elementor's boxed-width control. */
.e-con.uf-maxw-560 { max-width: 560px; }
.e-con.uf-maxw-600 { max-width: 600px; }
.e-con.uf-maxw-640 { max-width: 640px; }
.e-con.uf-maxw-680 { max-width: 680px; }
.e-con.uf-maxw-780 { max-width: 780px; }
.e-con.uf-maxw-860 { max-width: 860px; }
.e-con.uf-maxw-860-auto { max-width: 860px; margin-left: auto; margin-right: auto; }
.e-con.uf-maxw-900 { max-width: 900px; }
.e-con.uf-center   { text-align: center; margin-left: auto; margin-right: auto; }

/* Checklists rendered from a newline-separated field. */
.e-con .uf-checklist ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.e-con .uf-checklist li { font-size: 0.9rem; color: var(--color-text-muted); }
.e-con .uf-checklist li::before { content: '\2713\00a0\00a0'; }

/* Gold micro-label above a short description (process steps, advantages). */
.e-con .uf-microlabel {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.e-con .uf-microcopy p { font-size: 0.88rem; color: rgba(244,239,230,0.6); }

/* Dark inset card (e.g. "The United Force Advantage"). */
.e-con.uf-dark-card { background: var(--color-dark); border-radius: 2px; }
.e-con.uf-dark-card .elementor-heading-title { color: var(--color-white); }
.e-con.uf-dark-card p { color: rgba(244,239,230,0.65); }

/* Labels are <p> in the hand-coded templates and a <div> as an Elementor
   widget, so they'd otherwise lose the paragraph line-height. */
.e-con .label { line-height: 1.8; }

/* .service-benefit sets its heading beside its copy. Elementor sizes widgets
   from its own --container-widget-* vars; restore plain flex-item behaviour so
   the two columns shrink from their content width as the hand-coded markup does. */
.e-con.service-benefit > .elementor-widget {
  flex: 0 1 auto;
  width: auto;
  min-width: auto; /* Elementor sets 0, letting text shrink past its longest word */
}

/* Bands that opt out of the standard 7rem section rhythm (.section sets its
   padding directly, so this has to outrank it rather than go through Elementor). */
.e-con.uf-section--tight { padding-top: 3rem; padding-bottom: 3rem; }

/* --- TEAM CARDS (Elementor) --- */
.e-con.team-card { text-decoration: none; color: inherit; }
.e-con.uf-initials-box { display: flex; align-items: center; justify-content: center; background: var(--color-dark-2); }
.e-con .uf-initials { font-family: var(--font-serif); font-size: 3rem; color: var(--color-gold); opacity: 0.5; line-height: 1; }
.e-con .uf-role { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gold); line-height: 1.8; }
.e-con .uf-role-link { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.e-con .team-card__bio p { font-size: 0.85rem; color: var(--color-text-muted); }

/* Copy and headings on a dark band. */
.e-con .uf-heading-light .elementor-heading-title { color: var(--color-white); }
.e-con .uf-copy-light p { color: rgba(244,239,230,0.65); }
.e-con .uf-img-rounded img { width: 100%; border-radius: 2px; }
.e-con.uf-align-center { align-items: center; }
.e-con.uf-maxw-700 { max-width: 700px; }
.e-con.uf-maxw-760 { max-width: 760px; }

/* --- SERVICE PAGE EXTRAS (Elementor) --- */
.e-con.feature-card { padding: 2.5rem; background: var(--color-cream-2); }
.e-con .uf-microlabel { margin-bottom: 0; } /* margin comes from _margin now, not this rule */
.e-con.uf-white-card { padding: 2rem; background: var(--color-white); border-radius: 2px; }
.e-con.compliance-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.e-con .uf-compliance-name { font-weight: 600; color: var(--color-text-dark); }
.e-con .uf-compliance-desc { font-size: 0.82rem; color: var(--color-text-muted); }

/* Numbered process-step card (dark, e.g. "Our Migration Process"). */
.e-con .uf-step-num { font-size: 0.8rem; color: var(--color-gold); font-weight: 600; min-width: 1.5rem; }
.e-con.uf-step-row { flex-direction: row; align-items: flex-start; gap: 1rem; }
.e-con .uf-step-title { color: var(--color-white); font-weight: 600; font-size: 0.9rem; }
.e-con .uf-step-desc { color: rgba(244,239,230,0.5); font-size: 0.82rem; }

/* --- TICKET / NEWSLETTER (Elementor) --- */
.e-con.uf-panel-white { background: var(--color-white); border-radius: 2px; border: 1px solid var(--color-border); }
.e-con.uf-panel-dark-accent { background: var(--color-dark); border-radius: 2px; border-left: 3px solid var(--color-gold); }
.e-con.uf-panel-dark { background: var(--color-dark); border-radius: 2px; }
.e-con .uf-detail-list p, .e-con .uf-detail-list div { font-size: 0.88rem; color: var(--color-text-muted); }
.e-con .uf-detail-list strong { color: var(--color-text-dark); }
.e-con .uf-detail-list a { color: var(--color-text-muted); }
.e-con .uf-notice-text p { color: rgba(244,239,230,0.7); font-size: 0.85rem; }
.e-con .uf-notice-text strong { color: var(--color-white); }
.e-con .uf-h3-lg .elementor-heading-title { color: var(--color-white); font-size: 1.4rem; }

/* Checkmark benefit rows (newsletter "what we write about"). */
.e-con.uf-benefit-row { flex-direction: row; align-items: flex-start; gap: 1rem; }
.e-con .uf-check-icon { color: var(--color-gold); font-size: 1rem; margin-top: 0.1rem; }
.e-con .uf-benefit-title { color: var(--color-text-dark); font-weight: 700; display: block; margin-bottom: 0.25rem; }
.e-con .uf-benefit-desc p { font-size: 0.88rem; color: var(--color-text-muted); }
.e-con .uf-footnote p { font-size: 0.82rem; color: var(--color-text-muted); }
.e-con.uf-maxw-760-auto { max-width: 760px; margin-left: auto; margin-right: auto; }
.e-con.uf-maxw-1040 { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* --- CONTACT (Elementor) --- */
/* Two-up panel: dark photo panel beside the white form panel. The original
   builds this from inline styles; named here so both can share it. */
.e-con.contact-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.e-con.contact-panel--photo { position: relative; overflow: hidden; min-height: 600px; justify-content: flex-end; }
.e-con.contact-panel--form  { background: var(--color-white); justify-content: center; }
.e-con .uf-contact-line { color: rgba(244,239,230,0.8); font-size: 0.95rem; line-height: 1.5; }
.e-con .uf-contact-line a { color: rgba(244,239,230,0.8); }
.e-con .uf-h2-sm .elementor-heading-title { font-size: 1.75rem; }
.e-con .uf-form-intro p { color: var(--color-text-muted); font-size: 0.9rem; }
.e-con .uf-h3-sm2 .elementor-heading-title { font-size: 1rem; }
.e-con .uf-xs-muted p { font-size: 0.85rem; color: var(--color-text-muted); }
.e-con .uf-xs-muted a { color: var(--color-text-dark); }

@media (max-width: 768px) {
  .e-con.contact-split { grid-template-columns: 1fr; }
  .e-con.contact-panel--photo { min-height: 360px; }
}

/* --- INDUSTRIES (Elementor) --- */
.e-con.uf-band-header { margin-bottom: 3.5rem; }
.e-con.uf-grid-2 { grid-template-columns: repeat(2, 1fr); }
.e-con .uf-h3-xs .elementor-heading-title { font-size: 1.1rem; }
.e-con .uf-small-muted p { font-size: 0.88rem; color: var(--color-text-muted); }
.e-con .uf-checklist--dark li { font-size: 0.82rem; color: rgba(244,239,230,0.4); }

/* Small utilities matching inline styles in the hand-coded templates. */
.e-con .uf-h3-sm .elementor-heading-title { font-size: 1.5rem; }
.e-con .uf-muted p { color: var(--color-text-muted); }
.e-con.uf-card--featured { border-top: 2px solid var(--color-gold); }

/* Copy inside a dark split panel. */
.e-con.split__content--dark .elementor-heading-title { color: var(--color-white); }
.e-con.split__content--dark p { color: rgba(244,239,230,0.65); }
