/*
Theme Name: Gear Up Solutions
Theme URI: https://gearup-solutions.com
Author: Gear Up Solutions
Author URI: https://gearup-solutions.com
Description: A refined, editorial WordPress theme built for Gear Up Solutions — a boutique hospitality consulting firm. Optimized for Elementor with a premium minimalist aesthetic featuring Playfair Display and Inter typography, and a warm champagne/sand/black palette. Compatible with Elementor Free.
Version: 1.8.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gearup-solutions
Tags: hospitality, consulting, elementor, editorial, minimalist, business
*/

/* ============================================================
   ROOT TOKENS
   ============================================================ */
:root {
  /* Brand palette */
  --gus-white: #fdfcf9;          /* warm white */
  --gus-sand: #f1ebe0;            /* sand */
  --gus-champagne: #c9a96e;       /* champagne accent */
  --gus-champagne-soft: #d9bd86;
  --gus-ink: #1a1a1a;             /* deep black */
  --gus-ink-soft: #3a3a3a;
  --gus-muted: #8a8580;
  --gus-line: #e6dfd2;

  /* Typography */
  --gus-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --gus-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Spacing scale */
  --gus-space-xs: 0.5rem;
  --gus-space-sm: 1rem;
  --gus-space-md: 2rem;
  --gus-space-lg: 4rem;
  --gus-space-xl: 8rem;

  /* Layout */
  --gus-container: 1280px;
  --gus-container-narrow: 880px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--gus-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gus-ink);
  background: var(--gus-white);
  font-weight: 400;
  letter-spacing: 0.01em;
}

p { text-align: justify; }
.gus-ctr { text-align: center !important; }

.gus-footer p,
.gus-footer-tagline,
.gus-footer-bottom p,
.gus-post-card p,
.gus-post-card__excerpt,
.gus-hero .gus-lead,
.gus-hero p,
.gus-btn { text-align: left; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gus-ink);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover { color: var(--gus-champagne); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gus-display);
  font-weight: 400;
  color: var(--gus-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

/* Eyebrow / overline */
.gus-eyebrow {
  font-family: var(--gus-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--gus-champagne);
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.gus-container {
  max-width: var(--gus-container);
  margin: 0 auto;
  padding: 0 2rem;
}

.gus-container--narrow { max-width: var(--gus-container-narrow); }

.gus-section { padding: var(--gus-space-xl) 0; }

@media (max-width: 768px) {
  .gus-section { padding: var(--gus-space-lg) 0; }
}

/* ============================================================
   HEADER
   ============================================================ */
.gus-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

/* When the page has been scrolled past the top, show a hairline border */
.gus-site-header.is-scrolled {
  border-bottom-color: var(--gus-line);
}

/* When the WordPress admin bar is showing, offset the sticky header
   so it doesn't slide behind the admin bar when scrolling. */
body.admin-bar .gus-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .gus-site-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  /* The admin bar is no longer fixed below 600px in WP — falls back to static */
  body.admin-bar .gus-site-header {
    top: 0;
  }
}

.gus-header-inner {
  max-width: var(--gus-container);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.gus-logo {
  font-family: var(--gus-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gus-ink);
  text-decoration: none;
}

.gus-logo svg { width: 32px; height: 32px; }

.gus-logo-img {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

.gus-logo-text {
  font-family: var(--gus-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--gus-ink);
}

.gus-logo:hover { color: var(--gus-ink); }
.gus-logo:hover .gus-logo-text { color: var(--gus-ink); }

/* Custom logo (when uploaded via Customizer) inherits sensible sizing */
.custom-logo-link img {
  max-height: 56px;
  width: auto;
}

@media (max-width: 600px) {
  .gus-logo-img { width: 36px; height: 36px; }
  .gus-logo-text { font-size: 1.2rem; }
}

.gus-nav { display: flex; align-items: center; }

.gus-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.gus-nav a {
  font-family: var(--gus-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gus-ink);
  position: relative;
  padding: 0.25rem 2px;
}

.gus-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gus-champagne);
  transition: width 0.3s ease;
}

.gus-nav a:hover { color: var(--gus-champagne); }
.gus-nav a:hover::after { width: 100%; }

/* Active / current page — all possible WordPress current-page classes */
.gus-nav .current-menu-item > a,
.gus-nav .current_page_item > a,
.gus-nav .current-menu-ancestor > a,
.gus-nav .current_page_parent > a,
.gus-nav li.current > a,
.gus-nav li.active > a {
  color: var(--gus-champagne);
}

.gus-nav .current-menu-item > a::after,
.gus-nav .current_page_item > a::after,
.gus-nav .current-menu-ancestor > a::after,
.gus-nav .current_page_parent > a::after,
.gus-nav li.current > a::after,
.gus-nav li.active > a::after {
  width: 100%;
  height: 2px;
  background: var(--gus-champagne);
}

/* Body-class fallback for active state.
   WordPress adds page-{slug} classes to <body>. We highlight the matching
   nav link by its href ending. This catches cases where the menu doesn't
   get .current-menu-item — common with Elementor-built pages. */
body.page-about-us .gus-nav a[href*="/about-us"],
body.page-expertise .gus-nav a[href*="/expertise"],
body.page-services .gus-nav a[href*="/services"],
body.page-markets .gus-nav a[href*="/markets"],
body.page-our-clients .gus-nav a[href*="/our-clients"],
body.page-insights .gus-nav a[href*="/insights"],
body.page-contact .gus-nav a[href*="/contact"],
body.home .gus-nav .menu-item-home > a {
  color: var(--gus-champagne);
}

body.page-about-us .gus-nav a[href*="/about-us"]::after,
body.page-expertise .gus-nav a[href*="/expertise"]::after,
body.page-services .gus-nav a[href*="/services"]::after,
body.page-markets .gus-nav a[href*="/markets"]::after,
body.page-our-clients .gus-nav a[href*="/our-clients"]::after,
body.page-insights .gus-nav a[href*="/insights"]::after,
body.page-contact .gus-nav a[href*="/contact"]::after,
body.home .gus-nav .menu-item-home > a::after {
  width: 100%;
  height: 2px;
  background: var(--gus-champagne);
}

.gus-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--gus-white);
  border: 1px solid var(--gus-line);
  padding: 1rem 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
}

.gus-nav li { position: relative; }
.gus-nav li:hover > .sub-menu { display: flex; }

.gus-nav .sub-menu li { padding: 0; }
.gus-nav .sub-menu a {
  padding: 0.5rem 1.5rem;
  display: block;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* Mobile menu toggle */
.gus-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.gus-menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gus-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1024px) {
  .gus-menu-toggle { display: flex; position: relative; z-index: 10000; }

  .gus-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80vw, 360px);
    height: 100vh;
    background: var(--gus-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    z-index: 9999;
  }

  .gus-nav.is-open { transform: translateX(0); }

  /* Force the menu list to stack vertically — high specificity so nothing
     (Elementor or otherwise) can override it back to a horizontal row. */
  .gus-nav ul.gus-menu,
  .gus-nav ul {
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100%;
    align-items: flex-start !important;
  }

  .gus-nav ul.gus-menu li,
  .gus-nav ul li {
    width: 100%;
  }

  .gus-nav ul.gus-menu li a,
  .gus-nav ul li a {
    font-size: 1rem;
    display: block;
    width: 100%;
  }

  /* When admin bar is present, push the panel down so the first item
     isn't hidden behind it. */
  body.admin-bar .gus-nav { top: 32px; height: calc(100vh - 32px); }

  .gus-nav .sub-menu {
    position: static;
    border: none;
    padding: 0.5rem 0 0 1rem;
    display: flex;
    min-width: 0;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .gus-nav { top: 46px; height: calc(100vh - 46px); }
}

@media screen and (max-width: 600px) {
  body.admin-bar .gus-nav { top: 0; height: 100vh; }
}

/* ============================================================
   SWITCH BUTTON (universe switcher in header)
   ============================================================ */
.gus-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-family: var(--gus-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gus-ink);
  border: 1px solid var(--gus-line);
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.gus-switch-btn svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.gus-switch-btn:hover {
  color: var(--gus-champagne);
  border-color: var(--gus-champagne);
}

.gus-switch-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .gus-switch-btn {
    display: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.gus-btn {
  display: inline-block;
  font-family: var(--gus-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 2.25rem;
  border: 1px solid var(--gus-ink);
  background: var(--gus-ink);
  color: var(--gus-white) !important;
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: center;
}

.gus-btn:hover {
  background: var(--gus-champagne);
  border-color: var(--gus-champagne);
  color: var(--gus-white) !important;
}

.gus-btn--ghost {
  background: transparent;
  color: var(--gus-ink) !important;
}

.gus-btn--ghost:hover {
  background: transparent;
  border-color: var(--gus-champagne);
  color: var(--gus-champagne) !important;
}

/* Hover for inline <a> buttons inside Elementor HTML widgets.
   Inline styles can't define :hover, so these classes supply it.
   !important is required to override the element's own inline styles. */
.gus-html-btn {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease !important;
}
/* Primary (dark fill) → champagne fill on hover */
.gus-html-btn:hover {
  background: var(--gus-champagne) !important;
  border-color: var(--gus-champagne) !important;
  color: var(--gus-white) !important;
}
/* Ghost (transparent) → border + text turn champagne, no fill */
.gus-html-btn--ghost:hover {
  background: transparent !important;
  border-color: var(--gus-champagne) !important;
  color: var(--gus-champagne) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.gus-hero {
  padding: 8rem 0 6rem;
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 110, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(241, 235, 224, 0.6), transparent 70%),
    var(--gus-white);
  position: relative;
  overflow: hidden;
}

.gus-hero-inner {
  max-width: var(--gus-container);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.gus-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.gus-hero h1 em {
  font-style: italic;
  color: var(--gus-champagne);
  font-weight: 300;
}

.gus-hero .gus-lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--gus-ink-soft);
  max-width: 56ch;
  margin-bottom: 2rem;
  font-weight: 300;
}

.gus-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gus-locations {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gus-muted);
  font-weight: 500;
}

/* ============================================================
   APPROACH (4 PILLARS)
   ============================================================ */
.gus-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--gus-line);
  border-left: 1px solid var(--gus-line);
}

.gus-pillar {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gus-line);
  border-bottom: 1px solid var(--gus-line);
  transition: background 0.3s ease;
}

.gus-pillar:hover { background: var(--gus-sand); }

.gus-pillar-num {
  font-family: var(--gus-display);
  font-size: 0.875rem;
  color: var(--gus-champagne);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.gus-pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.gus-pillar p {
  font-size: 0.95rem;
  color: var(--gus-ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .gus-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gus-pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.gus-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gus-service-card {
  background: var(--gus-white);
  border: 1px solid var(--gus-line);
  padding: 2.5rem 2rem;
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.gus-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gus-champagne);
  box-shadow: 0 20px 40px -20px rgba(26, 26, 26, 0.12);
}

.gus-service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.gus-service-card p {
  color: var(--gus-ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.gus-service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px solid var(--gus-line);
  padding-top: 1.25rem;
}

.gus-service-card li {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gus-ink);
  padding: 0.4rem 0;
  font-weight: 500;
}

@media (max-width: 900px) { .gus-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gus-services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MARKETS
   ============================================================ */
.gus-markets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
}

.gus-market {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gus-line);
  padding-right: 3rem;
}

.gus-market:nth-child(odd) { border-right: 1px solid var(--gus-line); padding-right: 3rem; }
.gus-market:nth-child(even) { padding-left: 3rem; padding-right: 0; }

.gus-market h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.gus-market h3 .gus-market-region {
  font-family: var(--gus-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gus-champagne);
  display: block;
  margin-bottom: 0.5rem;
}

.gus-market p {
  color: var(--gus-ink-soft);
  margin: 0;
}

@media (max-width: 768px) {
  .gus-markets { grid-template-columns: 1fr; }
  .gus-market, .gus-market:nth-child(odd), .gus-market:nth-child(even) {
    padding: 2rem 0;
    border-right: none;
  }
}

/* ============================================================
   EXPERTISE LIST
   ============================================================ */
.gus-expertise-list {
  margin-top: 3rem;
  border-top: 1px solid var(--gus-line);
}

.gus-expertise-item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gus-line);
  align-items: start;
  transition: padding 0.3s ease;
}

.gus-expertise-item:hover { padding-left: 1rem; }

.gus-expertise-num {
  font-family: var(--gus-display);
  font-size: 1.25rem;
  color: var(--gus-champagne);
  font-style: italic;
}

.gus-expertise-item h3 {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 300;
}

.gus-expertise-item p {
  color: var(--gus-ink-soft);
  margin: 0;
}

@media (max-width: 768px) {
  .gus-expertise-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ============================================================
   CLIENTS / LOGOS
   ============================================================ */
.gus-clients-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gus-client-type {
  padding: 1.5rem;
  background: var(--gus-sand);
  text-align: center;
  font-family: var(--gus-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gus-ink);
}

@media (max-width: 768px) { .gus-clients-types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gus-clients-types { grid-template-columns: 1fr; } }

.gus-logos-strip {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--gus-line);
  border-bottom: 1px solid var(--gus-line);
  overflow: hidden;
}

.gus-logos-track {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--gus-display);
  font-size: 1.125rem;
  color: var(--gus-muted);
}

.gus-logos-track span {
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* ============================================================
   INSIGHTS / BLOG
   ============================================================ */
.gus-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.gus-post-card { display: block; color: inherit; }

.gus-post-thumb {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--gus-sand) 0%, var(--gus-champagne-soft) 100%);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.gus-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gus-post-card:hover .gus-post-thumb img { transform: scale(1.05); }

.gus-post-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gus-champagne);
  margin-bottom: 0.75rem;
}

.gus-post-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.gus-post-card p {
  color: var(--gus-ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 900px) { .gus-posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gus-posts-grid { grid-template-columns: 1fr; } }

/* Single post / page content */
.gus-entry-content {
  max-width: var(--gus-container-narrow);
  margin: 0 auto;
  padding: 4rem 2rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.gus-entry-content h2 { margin-top: 2.5rem; }
.gus-entry-content h3 {
  font-family: var(--gus-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gus-ink);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.gus-entry-content blockquote {
  border-left: 2px solid var(--gus-champagne);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--gus-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gus-ink-soft);
}

/* Single post header — tighter top padding than gus-section */
.gus-post-header {
  padding: 3rem 0 0;
}

/* Single post — featured image, same width as text, 300px tall */
.gus-post-hero {
  max-width: var(--gus-container-narrow);
  margin: 2rem auto 0;
  padding: 0 2rem;
  height: 300px;
  overflow: hidden;
}

.gus-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .gus-post-hero {
    height: 200px;
  }
}



/* ============================================================
   CONTACT
   ============================================================ */
.gus-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.gus-contact-info p {
  font-size: 1rem;
  color: var(--gus-ink-soft);
  margin-bottom: 0.5rem;
}

.gus-contact-info .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gus-champagne);
  font-weight: 500;
  margin-bottom: 0.25rem;
  margin-top: 1.5rem;
}

.gus-contact-info .label:first-of-type { margin-top: 0; }

@media (max-width: 768px) { .gus-contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.gus-site-footer {
  background: var(--gus-ink);
  color: var(--gus-sand);
  padding: 5rem 0 2rem;
}

.gus-footer-inner {
  max-width: var(--gus-container);
  margin: 0 auto;
  padding: 0 2rem;
}

.gus-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.gus-footer h4 {
  color: var(--gus-white);
  font-family: var(--gus-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.gus-footer a {
  color: var(--gus-sand);
  font-size: 0.95rem;
  display: block;
  padding: 0.25rem 0;
}

.gus-footer a:hover { color: var(--gus-champagne); }

.gus-footer p { color: var(--gus-sand); opacity: 0.7; font-size: 0.95rem; }

.gus-footer ul,
.gus-footer-nav { list-style: none; padding: 0; margin: 0; }

.gus-footer-tagline {
  font-family: var(--gus-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--gus-white);
  margin-bottom: 1.5rem;
  max-width: 28ch;
}

.gus-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(241, 235, 224, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

.gus-social {
  display: flex;
  gap: 1rem;
}

.gus-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(241, 235, 224, 0.25);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gus-social a:hover {
  border-color: var(--gus-champagne);
  background: var(--gus-champagne);
}

.gus-social svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 768px) {
  .gus-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gus-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS CORE
   ============================================================ */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption {
  max-width: 100%;
  margin: 1rem 0;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--gus-muted);
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Pagination */
.gus-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.gus-pagination a, .gus-pagination span {
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--gus-line);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gus-pagination .current {
  background: var(--gus-ink);
  color: var(--gus-white);
  border-color: var(--gus-ink);
}

/* ============================================================
   ELEMENTOR HARMONY
   ============================================================ */
/* Global horizontal padding for Elementor sections so content
   never touches the viewport edges. Elementor's content_width
   max-out at boxed widths but the outer container needs side
   padding on every screen. */
.elementor-section.elementor-section-boxed > .elementor-container {
  padding-left: 3rem;
  padding-right: 3rem;
}

@media (max-width: 1024px) {
  .elementor-section.elementor-section-boxed > .elementor-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (max-width: 767px) {
  .elementor-section.elementor-section-boxed > .elementor-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Hairline divider between consecutive light sections — applied via
   Elementor section CSS class "gus-section--bordered-top". */
.elementor-section.gus-section--bordered-top {
  position: relative;
}

.elementor-section.gus-section--bordered-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 6rem);
  max-width: 1280px;
  height: 1px;
  background: var(--gus-line);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .elementor-section.gus-section--bordered-top::before {
    width: calc(100% - 5rem);
  }
}

@media (max-width: 767px) {
  .elementor-section.gus-section--bordered-top::before {
    width: calc(100% - 3rem);
  }
}

/* Make Elementor inherit theme typography by default */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--gus-display);
  font-weight: 300;
}

.elementor-widget-text-editor,
.elementor-widget-button { font-family: var(--gus-body); }

/* Elementor button align with theme */
.elementor-button {
  font-family: var(--gus-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 1rem 2.25rem;
  border-radius: 0;
  transition: all 0.35s ease;
}

/* ============================================================
   RESPONSIVE GRIDS — applied to Elementor HTML widget grids
   ============================================================
   The Elementor HTML widgets in our templates use inline
   grid-template-columns. Inline styles don't respond to CSS
   media queries, so we override them with the attribute
   selector trick + !important below 1024px.

   This means every multi-column HTML grid collapses to 2
   columns on tablet (≤1024px) and 1 column on phones (≤768px).
   Headings that sit beside content also stack on mobile.
   ============================================================ */

/* Tablet — 4-col / 5-col grids drop to 2 columns */
@media (max-width: 1024px) {
  /* 4-pillar grids */
  .elementor-widget-html div[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* 5-card grids (commitments) */
  .elementor-widget-html div[style*="repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
  /* 3-col card grids stay 2 on tablet */
  .elementor-widget-html div[style*="repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile — everything stacks to 1 column */
@media (max-width: 768px) {
  /* All multi-column grids → 1 column */
  .elementor-widget-html div[style*="grid-template-columns:repeat(2,1fr)"],
  .elementor-widget-html div[style*="grid-template-columns:repeat(3,1fr)"],
  .elementor-widget-html div[style*="grid-template-columns:repeat(4,1fr)"],
  .elementor-widget-html div[style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Asymmetric 2-column splits (1fr 1fr, 1fr 2fr, 1.5fr 1fr) → stack */
  .elementor-widget-html div[style*="grid-template-columns:1fr 1fr"],
  .elementor-widget-html div[style*="grid-template-columns:1fr 2fr"],
  .elementor-widget-html div[style*="grid-template-columns:2fr 1fr"],
  .elementor-widget-html div[style*="grid-template-columns:1.5fr 1fr"],
  .elementor-widget-html div[style*="grid-template-columns:60% 40%"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: left !important;
  }

  /* Right-aligned headings in split layouts realign to left on mobile */
  .elementor-widget-html div[style*="grid-template-columns:1fr 1fr"] > div[style*="text-align:right"] {
    text-align: left !important;
  }

  /* Markets editorial list: 3-col (number / label / desc) → single column */
  .elementor-widget-html div[style*="grid-template-columns:80px 1fr 2fr"],
  .elementor-widget-html div[style*="grid-template-columns:80px 280px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Number marker stays small + champagne on its own line */
  .elementor-widget-html div[style*="grid-template-columns:80px 1fr 2fr"] > div:first-child,
  .elementor-widget-html div[style*="grid-template-columns:80px 280px 1fr"] > div:first-child {
    font-size: 16px !important;
  }
  /* Markets page 2x2 grid (the country boxes use 1fr 1fr with vertical/horizontal dividers
     — we already collapsed it above; here we just clean up the side borders) */
  .elementor-widget-html div[style*="grid-template-columns:1fr 1fr;gap:0"] > div {
    border-right: none !important;
    padding: 32px 0 !important;
  }

  /* Hero split (logo / 'G' ornament) — hide the ornament on mobile */
  .elementor-widget-html div[style*="grid-template-columns:60% 40%"] > div:last-child {
    display: none !important;
  }

  /* Big headlines shrink on mobile so they don't overflow */
  .elementor-widget-html h1[style*="font-size:80px"],
  .elementor-widget-html h1[style*="font-size:72px"],
  .elementor-widget-html h2[style*="font-size:64px"],
  .elementor-widget-html h2[style*="font-size:56px"] {
    font-size: 40px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
  }
  .elementor-widget-html h2[style*="font-size:48px"] {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }
  .elementor-widget-html h3[style*="font-size:32px"] {
    font-size: 24px !important;
  }
  .elementor-widget-html h3[style*="font-size:28px"] {
    font-size: 22px !important;
  }

  /* Fixed-width buttons go full-width on mobile */
  .elementor-widget-html a[style*="width:300px"],
  .elementor-widget-html a[style*="width:280px"] {
    width: 100% !important;
    max-width: 360px;
  }

  /* Pull-quote on home: huge italic Playfair shrinks too */
  .elementor-widget-html blockquote[style*="font-size:56px"] {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .elementor-widget-html div[style*="margin-left:80px"] {
    margin-left: 0 !important;
  }

  /* Logos strip on Our Clients: smaller, tighter */
  .elementor-widget-html div[style*="font-family:'Playfair Display'"][style*="font-size:20px"] {
    font-size: 16px !important;
  }

  /* Section padding tightened on mobile (Elementor section paddings stay,
     but the inner content gets less side breathing room) */
  .elementor-section .elementor-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* ----------------------------------------------------------
     Native Elementor heading safety net.
     The hero H1 and other big headings are Elementor Heading
     widgets, not inline-styled HTML. Cap their size on mobile
     and force long words to wrap so nothing overflows the
     viewport — regardless of which template version is loaded.
     ---------------------------------------------------------- */
  .elementor-widget-heading .elementor-heading-title {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
  /* h1 hero — hard cap */
  h1.elementor-heading-title {
    font-size: 2.4rem !important;
    line-height: 1.15 !important;
  }
  /* large h2 section headings */
  h2.elementor-heading-title {
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }
}

/* Phone — extra-small fine-tuning */
@media (max-width: 480px) {
  /* Big numbered labels in approach/expertise become slightly smaller */
  .elementor-widget-html div[style*="grid-template-columns:repeat(2,1fr)"] {
    gap: 16px !important;
  }

  /* Reduce section vertical padding on small phones */
  .elementor-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Slightly smaller hero on the narrowest phones */
  h1.elementor-heading-title {
    font-size: 2rem !important;
  }
}

/* About Us — founder portrait sizing */
.about-us-image-resize {
  max-width: 380px;
  width: 100%;
  display: block;
}

/* ============================================================
   POSTS GRID — dynamic insights cards
   ============================================================ */
.gus-posts-grid {
  display: grid;
  gap: 2rem;
}
.gus-posts-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gus-posts-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gus-posts-grid--1 { grid-template-columns: 1fr; }

.gus-post-card {
  display: flex;
  flex-direction: column;
  background: var(--gus-white);
  border: 1px solid var(--gus-line);
  text-decoration: none;
  color: var(--gus-ink);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.gus-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gus-champagne);
}

.gus-post-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gus-sand);
}
.gus-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gus-post-card:hover .gus-post-card__img {
  transform: scale(1.04);
}

.gus-post-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gus-post-card__cat {
  font-family: var(--gus-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--gus-champagne);
  margin-bottom: 0.75rem;
}
.gus-post-card__title {
  font-family: var(--gus-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--gus-ink);
}
.gus-post-card__excerpt {
  font-family: var(--gus-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gus-ink-soft, #3a3a3a);
  margin: 0 0 1.5rem;
  flex: 1;
}
.gus-post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gus-line);
  padding-top: 1rem;
  margin-top: auto;
}
.gus-post-card__date {
  font-family: var(--gus-body);
  font-size: 0.8125rem;
  color: var(--gus-muted, #8a8580);
}
.gus-post-card__more {
  font-family: var(--gus-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--gus-ink);
  transition: color 0.3s ease;
}
.gus-post-card:hover .gus-post-card__more {
  color: var(--gus-champagne);
}

.gus-posts-empty {
  font-family: var(--gus-body);
  font-size: 1rem;
  color: var(--gus-muted, #8a8580);
  font-style: italic;
}

@media (max-width: 1024px) {
  .gus-posts-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gus-posts-grid--2,
  .gus-posts-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGOS CAROUSEL — auto-scrolling, pure CSS, no JS
   ============================================================ */
.gus-logos {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.gus-logos__track {
  display: flex;
  width: max-content;
  animation: gus-logos-scroll var(--gus-logos-speed, 40s) linear infinite;
}
.gus-logos__set {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin: 0;
  padding: 0 2rem;
  list-style: none;
  flex-shrink: 0;
}
.gus-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gus-logos .gus-logos__img,
.elementor .gus-logos img.gus-logos__img {
  height: var(--gus-logo-h, 48px) !important;
  width: auto !important;
  max-width: 140px;
  object-fit: contain;
  /* Editorial: muted by default, full on hover */
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.gus-logos .gus-logos__img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes gus-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / var(--gus-logos-sets, 2))); }
}
/* Pause on hover so people can look */
.gus-logos:hover .gus-logos__track {
  animation-play-state: paused;
}
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .gus-logos__track { animation: none; flex-wrap: wrap; }
  .gus-logos { mask-image: none; -webkit-mask-image: none; }
}
.gus-logos-empty {
  font-family: var(--gus-body);
  font-size: 0.95rem;
  color: var(--gus-muted, #8a8580);
  font-style: italic;
  text-align: center;
}

/* Static variant — few logos, no scroll, centered */
.gus-logos--static {
  -webkit-mask-image: none;
  mask-image: none;
}
.gus-logos--static .gus-logos__set {
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

/* Animation */
@keyframes gus-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gus-fade-up {
  animation: gus-fade-up 0.8s ease forwards;
}

/* ============================================================
   CONTACT FORM 7 — themed to match the site
   ============================================================ */
.gus-form { font-family: var(--gus-body); }

.gus-form .gus-form-row {
  display: flex;
  flex-direction: column;
  margin: 0 0 1rem;
}

.gus-form label {
  font-family: var(--gus-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gus-champagne);
  margin-bottom: 0.35rem;
  display: block;
}

.gus-form .gus-optional {
  color: var(--gus-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.05em;
  font-style: italic;
  font-size: 0.7rem;
  margin-left: 0.4rem;
}

/* Inputs, textareas, selects */
.gus-form input[type="text"],
.gus-form input[type="email"],
.gus-form input[type="tel"],
.gus-form input[type="url"],
.gus-form input[type="number"],
.gus-form input[type="date"],
.gus-form select,
.gus-form textarea,
.wpcf7 .gus-form input.wpcf7-form-control,
.wpcf7 .gus-form textarea.wpcf7-form-control,
.wpcf7 .gus-form select.wpcf7-form-control {
  width: 100%;
  padding: 0.6rem 0.875rem;
  background: var(--gus-white);
  border: 1px solid var(--gus-line);
  border-radius: 0;
  font-family: var(--gus-body);
  font-size: 0.9rem;
  color: var(--gus-ink);
  line-height: 1.5;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
}

.gus-form textarea,
.wpcf7 .gus-form textarea.wpcf7-form-control {
  min-height: 90px;
  resize: vertical;
  font-family: var(--gus-body);
}

.gus-form input::placeholder,
.gus-form textarea::placeholder {
  color: var(--gus-muted);
  opacity: 0.8;
  font-style: italic;
}

.gus-form input:focus,
.gus-form textarea:focus,
.gus-form select:focus {
  border-color: var(--gus-champagne);
  background: var(--gus-white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

/* Required marker (CF7 adds * automatically; subtle styling) */
.gus-form .wpcf7-not-valid-tip {
  color: #b54a3a;
  font-size: 0.8125rem;
  font-style: italic;
  margin-top: 0.4rem;
  font-family: var(--gus-body);
}

.gus-form input.wpcf7-not-valid,
.gus-form textarea.wpcf7-not-valid {
  border-color: #b54a3a;
}

/* Submit button — inherits .gus-btn style */
.gus-form-submit {
  margin: 0.25rem 0 0;
}

.gus-form .wpcf7-submit,
.gus-form input.gus-btn[type="submit"],
.gus-form .gus-btn[type="submit"] {
  display: inline-block;
  font-family: var(--gus-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  background: var(--gus-ink);
  color: var(--gus-white);
  border: 1px solid var(--gus-ink);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gus-form .wpcf7-submit:hover,
.gus-form input.gus-btn[type="submit"]:hover,
.gus-form .gus-btn[type="submit"]:hover {
  background: var(--gus-champagne);
  border-color: var(--gus-champagne);
  color: var(--gus-white);
}

/* CF7 response messages */
.wpcf7 .gus-form + .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-width: 1px;
  border-radius: 0;
  font-family: var(--gus-body);
  font-size: 0.9375rem;
  border-color: var(--gus-line);
  background: var(--gus-sand);
  color: var(--gus-ink);
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--gus-champagne);
  background: rgba(201, 169, 110, 0.08);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #b54a3a;
  background: rgba(181, 74, 58, 0.06);
  color: #7a2d24;
}

/* Loading spinner */
.gus-form .wpcf7-spinner {
  margin-left: 1rem;
  background-color: var(--gus-champagne);
}

/* Inline rows (e.g., first name + last name side by side) */
.gus-form .gus-form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
  align-items: start;
}

/* Nested rows inside an inline pair shouldn't add their own grid gap
   confusion; keep their bottom margin consistent with single rows. */
.gus-form .gus-form-row-inline .gus-form-row {
  margin: 0 0 1rem;
}

@media (max-width: 600px) {
  .gus-form .gus-form-row-inline {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   HOME HERO — typography polish only.
   Padding (40/80) and spacers are controlled by the TEMPLATE,
   consistent with every other page's hero. This block only
   refines line-height and gently scales the long headline on
   short laptop screens so the two-paragraph hero stays tidy.
   No padding overrides here — template owns the spacing.
   ============================================================ */

/* Headline: tight line-height for the large multi-line title */
.gus-home-h1 .elementor-heading-title {
  line-height: 1.06 !important;
}

/* Body paragraphs: comfortable reading line-height, small gap between the two paragraphs */
.gus-home-hero .elementor-widget-text-editor p {
  line-height: 1.5 !important;
  margin: 0 0 0.6em !important;
}
.gus-home-hero .elementor-widget-text-editor p:last-child {
  margin-bottom: 0 !important;
}

/* Gently scale the long headline down on shorter laptop viewports */
@media (max-height: 800px) {
  .gus-home-h1 .elementor-heading-title { font-size: 3.4rem !important; }
}
@media (max-height: 700px) {
  .gus-home-h1 .elementor-heading-title { font-size: 2.9rem !important; }
}

/* ============================================================
   RECAPTCHA BADGE — hide globally, show only on contact page
   ============================================================ */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.page-contact .grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ============================================================
   NEWSLETTER FORM (Sendinblue / Brevo — sibwp_form)
   Actual rendered wrapper: .sib_signup_box_inside_2
   Form: form.sib_signup_form
   Mirrors the .gus-form contact form styling.
   ============================================================ */

/* Form width constraint — centred, max 560px */
form.sib_signup_form {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Field rows — mirrors .gus-form .gus-form-row */
p.sib-email-area,
p.sib-NOM-area,
p.sib-PRENOM-area,
p.sib-COMPANY-area,
p.sib-JOB_TITLE-area,
p.sib-COUNTRY-area {
  display: flex;
  flex-direction: column;
  margin: 0 0 1rem;
}

/* Text nodes used as labels — styled via font on the <p> itself */
p.sib-email-area,
p.sib-NOM-area,
p.sib-PRENOM-area,
p.sib-COMPANY-area,
p.sib-JOB_TITLE-area,
p.sib-COUNTRY-area {
  font-family: var(--gus-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gus-champagne);
  gap: 0.35rem;
}

/* Two fields per row */
.sib-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.sib-row-inline p {
  margin: 0 0 1rem;
}

/* Inputs */
p.sib-email-area input[type="email"],
p.sib-NOM-area input[type="text"],
p.sib-PRENOM-area input[type="text"],
p.sib-COMPANY-area input[type="text"],
p.sib-JOB_TITLE-area input[type="text"],
p.sib-COUNTRY-area input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.875rem;
  background: var(--gus-white);
  border: 1px solid var(--gus-line);
  border-radius: 0;
  font-family: var(--gus-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gus-ink);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
}

p.sib-email-area input::placeholder,
p.sib-NOM-area input::placeholder,
p.sib-PRENOM-area input::placeholder,
p.sib-COMPANY-area input::placeholder,
p.sib-JOB_TITLE-area input::placeholder,
p.sib-COUNTRY-area input::placeholder {
  color: var(--gus-muted);
  opacity: 0.8;
  font-style: italic;
}

p.sib-email-area input:focus,
p.sib-NOM-area input:focus,
p.sib-PRENOM-area input:focus,
p.sib-COMPANY-area input:focus,
p.sib-JOB_TITLE-area input:focus,
p.sib-COUNTRY-area input:focus {
  border-color: var(--gus-champagne);
  background: var(--gus-white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

/* Submit button — mirrors .gus-btn */
input.sib-default-btn,
button.sib-default-btn {
  display: inline-block;
  font-family: var(--gus-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  background: var(--gus-ink);
  color: var(--gus-white);
  border: 1px solid var(--gus-ink);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s ease;
  -webkit-appearance: none;
  appearance: none;
  margin-top: 0.5rem;
}

input.sib-default-btn:hover,
button.sib-default-btn:hover {
  background: var(--gus-champagne);
  border-color: var(--gus-champagne);
  color: var(--gus-white);
}

/* Alert messages */
form.sib_signup_form p.sib-alert-message-error {
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  font-family: var(--gus-body);
  font-size: 0.9rem;
  border: 1px solid #b54a3a;
  background: rgba(181, 74, 58, 0.06);
  color: #7a2d24;
  border-radius: 0;
}

form.sib_signup_form p.sib-alert-message-success {
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  font-family: var(--gus-body);
  font-size: 0.9rem;
  border: 1px solid var(--gus-champagne);
  background: rgba(201, 169, 110, 0.08);
  color: var(--gus-ink);
  border-radius: 0;
}
