/* ==========================================================================
   Globe Law & Co – homepage sections: Our Expertise, About Us,
   International Clients, Client Testimonials.  Prefix "glx-".
   Colours/fonts come from css/site-header.css (:root). Markup: index.php
   ========================================================================== */

.glx-section{position:relative;overflow:hidden;padding:96px 0;background:#FBF9F5;color:var(--glh-ink,#0F2341);font-family:var(--glh-serif,Georgia,serif)}
.glx-section *{box-sizing:border-box}
.glx-section > .container{position:relative;z-index:2}
.glx-section a{text-decoration:none}
.glx-about, .glx-testi{background:#FDFBF8}
.glx-wave{position:absolute;left:0;right:0;bottom:0;width:100%;height:150px;color:var(--glh-gold,#C9A45C);opacity:.32;pointer-events:none;z-index:1}
.glx-wave path{stroke-width:1}

/* headings */
.glx-eyebrow{display:flex;align-items:center;gap:18px;margin:0 0 16px;color:var(--glh-navy,#0B1F3A);font:600 15px/1 var(--glh-serif,Georgia,serif);letter-spacing:.22em;text-transform:uppercase}
.glx-eyebrow::before{content:"";width:40px;height:3px;border-radius:2px;background:var(--glh-gold,#C9A45C)}
.glx-eyebrow-lines{justify-content:center;letter-spacing:.42em}
.glx-eyebrow-lines::before, .glx-eyebrow-lines::after{content:"";width:100px;height:2px;background:linear-gradient(90deg,transparent,var(--glh-gold,#C9A45C))}
.glx-eyebrow-lines::after{background:linear-gradient(90deg,var(--glh-gold,#C9A45C),transparent)}
.glx-section h2{margin:0;color:var(--glh-navy,#0B1F3A);font:700 clamp(30px,3.4vw,50px)/1.15 var(--glh-serif,Georgia,serif);letter-spacing:-.01em}
.glx-section h2 em{display:inline;color:#B98A2E;font-style:italic}
.glx-section h2 .glx-gold{color:#B98A2E}
.glx-head-center{text-align:center;max-width:980px;margin:0 auto 52px}
.glx-lead{margin:18px 0 0;color:#2B3A55;font:400 clamp(16px,1.3vw,19px)/1.55 var(--glh-serif,Georgia,serif)}
.glx-bar{display:block;width:104px;height:4px;border-radius:3px;margin:22px 0 26px;background:var(--glh-gold,#C9A45C)}

/* ---------------------------------------------------------- expertise */
.glx-expertise{background:radial-gradient(ellipse at center,#FFFFFF 0%,#F7F4EE 70%)}
.glx-deco{position:absolute;top:0;height:100%;width:auto;max-width:none;z-index:0;pointer-events:none}
.glx-deco-l{left:0;opacity:.32;-webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.6) 40%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.6) 40%,transparent 100%)}
.glx-deco-r{right:0;opacity:.6;mix-blend-mode:multiply;-webkit-mask-image:linear-gradient(270deg,#000 0%,rgba(0,0,0,.75) 45%,transparent 100%);mask-image:linear-gradient(270deg,#000 0%,rgba(0,0,0,.75) 45%,transparent 100%)}
.glx-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.glx-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:246px;padding:24px 28px 26px;border-radius:14px;
  background:linear-gradient(180deg,#FFFFFF 0%,#FCF8F1 100%);border:1px solid #EADFC9;box-shadow:0 10px 26px rgba(11,31,58,.06);
  color:var(--glh-navy,#0B1F3A);transition:transform .3s var(--glh-ease,ease),box-shadow .3s,background .3s,border-color .3s}
.glx-card-ic{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:18px;border-radius:12px;
  background:linear-gradient(180deg,#FDF1D9 0%,#F8E6C2 100%);color:#A9771F;transition:background .3s,color .3s}
.glx-card h3{margin:0 0 8px;color:inherit;font:700 clamp(21px,1.7vw,27px)/1.2 var(--glh-serif,Georgia,serif)}
.glx-card p{margin:0 0 18px;color:#34425C;font:400 16.5px/1.45 var(--glh-serif,Georgia,serif);transition:color .3s}
.glx-more{position:relative;z-index:2;display:inline-flex;align-items:center;gap:12px;margin-top:auto;align-self:flex-start;padding-bottom:4px;
  border-bottom:2px solid #D9A93F;color:#9C6B12;font:600 17px/1 var(--glh-sans,sans-serif)}
.glx-more .glh-ic{transition:transform .25s}
.glx-card-lines{position:absolute;right:-6px;bottom:-4px;width:58%;height:70px;color:var(--glh-gold,#C9A45C);opacity:0;transition:opacity .3s}
.glx-card-lines path{stroke-width:1}
/* featured / hover state = navy card (as in the design) */
.glx-card.is-featured, .glx-card:hover, .glx-card:focus-visible{background:linear-gradient(160deg,#0E2648 0%,#0A1C37 100%);border-color:#C9A45C;
  box-shadow:0 18px 40px rgba(11,31,58,.28),0 0 0 1px rgba(201,164,92,.6);color:#fff;transform:translateY(-4px)}
.glx-card.is-featured p, .glx-card:hover p, .glx-card:focus-visible p{color:rgba(255,255,255,.88)}
.glx-card.is-featured .glx-card-ic, .glx-card:hover .glx-card-ic, .glx-card:focus-visible .glx-card-ic{background:rgba(255,255,255,.12);color:#F2C14E}
.glx-card.is-featured .glx-more, .glx-card:hover .glx-more, .glx-card:focus-visible .glx-more{color:#F2C14E;border-color:#F2C14E}
.glx-card.is-featured .glx-card-lines, .glx-card:hover .glx-card-lines, .glx-card:focus-visible .glx-card-lines{opacity:.75}
.glx-card:hover .glx-more .glh-ic{transform:translateX(4px)}
/* while another card is hovered, the featured card returns to the light style */
.glx-grid:hover .glx-card.is-featured:not(:hover){background:linear-gradient(180deg,#FFFFFF 0%,#FCF8F1 100%);border-color:#EADFC9;box-shadow:0 10px 26px rgba(11,31,58,.06);color:var(--glh-navy,#0B1F3A);transform:none}
.glx-grid:hover .glx-card.is-featured:not(:hover) p{color:#34425C}
.glx-grid:hover .glx-card.is-featured:not(:hover) .glx-card-ic{background:linear-gradient(180deg,#FDF1D9 0%,#F8E6C2 100%);color:#A9771F}
.glx-grid:hover .glx-card.is-featured:not(:hover) .glx-more{color:#9C6B12;border-color:#D9A93F}
.glx-grid:hover .glx-card.is-featured:not(:hover) .glx-card-lines{opacity:0}
.glx-card:focus-visible{outline:3px solid var(--glh-gold,#C9A45C);outline-offset:3px}

/* -------------------------------------------- split layout (about / intl / testi) */
.glx-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:64px}
.glx-split-rev{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.glx-split-text p{color:#22304A;font:400 17px/1.7 var(--glh-serif,Georgia,serif)}
.glx-split-text > p:not(.glx-eyebrow){margin:0 0 16px}

/* framed image: navy block top-left, gold block bottom-right */
.glx-frame{position:relative;margin:0 26px 26px 26px;border-radius:22px}
.glx-frame::before, .glx-frame::after{content:"";position:absolute;z-index:0;border-radius:12px}
.glx-frame::before{left:-26px;top:-26px;width:44%;height:26%;background:var(--glh-navy,#0B1F3A)}
.glx-frame::after{right:-24px;bottom:-24px;width:30%;height:32%;background:linear-gradient(135deg,#E9B93C,#C9921D)}
.glx-frame img{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:22px;border:3px solid #E6C26A;box-shadow:0 22px 50px rgba(11,31,58,.18)}
.glx-frame-wide img{aspect-ratio:16/11}
.glx-frame-gold::before{display:none}
.glx-frame-gold{margin:0 24px 24px 0}
.glx-frame-gold::after{width:62%;height:40%;right:-24px;bottom:-24px;border-radius:0 0 26px 0}
.glx-frame-gold img{aspect-ratio:1/1;border:0;border-radius:26px}

/* about: feature row */
.glx-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:28px 0 0;padding:0;list-style:none}
.glx-features li{display:flex;flex-direction:column;gap:12px;padding:0 20px;color:var(--glh-navy,#0B1F3A);font:700 17.5px/1.3 var(--glh-serif,Georgia,serif)}
.glx-features li:first-child{padding-left:0}
.glx-features li + li{border-left:1px solid #E1D3B4}
.glx-features .glh-ic{color:#C08A22}

/* international */
.glx-intl{background:linear-gradient(180deg,#FBF9F5 0%,#F6F3EE 100%)}
.glx-intl h2{margin-bottom:26px}
.glx-quote{position:relative;margin:0 0 30px;padding:0 0 28px 48px;border-bottom:1px solid #DCD6CB}
.glx-quote::before{content:"\201C";position:absolute;left:0;top:-8px;color:#C08A22;font:700 64px/1 var(--glh-serif,Georgia,serif)}
.glx-quote p{margin:0;color:#1E2C46;font:400 clamp(17px,1.35vw,20px)/1.65 var(--glh-serif,Georgia,serif)}
.glx-quote a{color:#B4801E;font-weight:700;word-break:break-word}
.glx-quote a:hover{color:var(--glh-navy,#0B1F3A)}
.glx-dl{display:inline-flex;align-items:center;gap:18px;margin-left:48px;padding:12px 28px 12px 14px;border-radius:12px;
  background:linear-gradient(180deg,#123060 0%,#0B1F3A 100%);color:#fff!important;border:1px solid #D9B25E;box-shadow:0 14px 30px rgba(11,31,58,.25);
  font:400 clamp(19px,1.6vw,24px)/1 var(--glh-serif,Georgia,serif);transition:transform .2s,box-shadow .2s}
.glx-dl-ic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:10px;background:linear-gradient(180deg,#F8DFA3,#E2B657);color:var(--glh-navy,#0B1F3A)}
.glx-dl > .glh-ic:last-child{color:#E9C46A;transition:transform .2s}
.glx-dl:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(11,31,58,.32)}
.glx-dl:hover > .glh-ic:last-child{transform:translateX(4px)}
.glx-dl:focus-visible, .glx-nav-btn:focus-visible, .glx-dots button:focus-visible{outline:3px solid var(--glh-gold,#C9A45C);outline-offset:3px}

/* testimonials */
.glx-testi .glx-split-text{position:relative}
.glx-bigquote{position:absolute;right:0;top:-10px;color:#ECE8E1;font:700 220px/1 var(--glh-serif,Georgia,serif);pointer-events:none;user-select:none}
.glx-testi h2{position:relative;margin-bottom:34px;padding-right:170px}
.glx-testi-card{position:relative;padding:32px 40px 30px;border-radius:22px;background:#fff;border:1px solid #E8D3A6;box-shadow:0 22px 50px rgba(11,31,58,.10)}
.glx-testi-card .swiper{overflow:hidden}
.glx-tq{margin:0}
.glx-stars{display:flex;gap:4px;margin-bottom:14px;color:#E3A21A}
.glx-tq blockquote{margin:0}
.glx-tq blockquote p{margin:0;color:#14223D;font:400 clamp(17px,1.35vw,20.5px)/1.65 var(--glh-serif,Georgia,serif)}
.glx-tq figcaption{display:flex;align-items:center;gap:22px;margin-top:22px;padding-top:22px;border-top:1px solid #E6E1D8;padding-right:120px}
.glx-avatar{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:#FBEBC4;color:var(--glh-navy,#0B1F3A)}
.glx-who{padding-left:22px;border-left:2px solid #E3A21A}
.glx-who strong{display:block;color:var(--glh-navy,#0B1F3A);font:700 20px/1.2 var(--glh-serif,Georgia,serif);letter-spacing:.02em}
.glx-who span{display:block;margin-top:4px;color:#5A6478;font:400 15px/1.2 var(--glh-serif,Georgia,serif);text-transform:uppercase;letter-spacing:.06em}
.glx-testi-nav{position:absolute;right:40px;bottom:36px;z-index:3;display:flex;gap:12px}
.glx-nav-btn{display:flex;align-items:center;justify-content:center;width:50px;height:50px;padding:0;border-radius:50%;border:1px solid #CBD1DA;background:#fff;color:var(--glh-navy,#0B1F3A);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.glx-nav-btn:hover{border-color:var(--glh-navy,#0B1F3A)}
.glx-nav-next{background:#D99A1E;border-color:#D99A1E;color:#fff}
.glx-nav-next:hover{background:var(--glh-navy,#0B1F3A);border-color:var(--glh-navy,#0B1F3A)}
.glx-dots{display:flex;justify-content:center;gap:12px;margin-top:24px}
.glx-dots button{width:13px;height:13px;padding:0;border:0;border-radius:50%;background:#D5D8DD;cursor:pointer;transition:background .2s,transform .2s}
.glx-dots button[aria-current="true"]{background:#D99A1E;transform:scale(1.1)}

/* ---------------------------------------------------------- responsive */
@media (max-width:1399.98px){
  .glx-card{padding:22px 22px 24px}
  .glx-deco-l{opacity:.22}
}
@media (max-width:1199.98px){
  .glx-section{padding:80px 0}
  .glx-deco{display:none}
  .glx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .glx-split{gap:48px}
  .glx-features{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}
  .glx-features li:nth-child(3){padding-left:0;border-left:0}
}
@media (max-width:991.98px){
  .glx-split, .glx-split-rev{grid-template-columns:minmax(0,1fr);gap:56px}
  .glx-split-media{max-width:560px;width:100%;margin:0 auto}
  .glx-split-rev .glx-split-media{order:2}
  .glx-frame img{aspect-ratio:4/3}
  .glx-frame-gold img{aspect-ratio:4/3}
}
@media (max-width:767.98px){
  .glx-section{padding:64px 0}
  .glx-head-center{margin-bottom:36px}
  .glx-eyebrow-lines{letter-spacing:.28em;gap:12px}
  .glx-eyebrow-lines::before, .glx-eyebrow-lines::after{width:40px}
  .glx-grid{grid-template-columns:1fr;gap:16px}
  .glx-card{min-height:0}
  .glx-split-text p{font-size:16px}
  .glx-features li{font-size:16px}
  .glx-quote{padding-left:38px}
  .glx-quote::before{font-size:52px}
  .glx-dl{margin-left:0;width:100%;justify-content:center;font-size:19px;padding:10px 18px 10px 10px}
  .glx-dl-ic{width:44px;height:44px}
  .glx-frame{margin:0 18px 18px 18px}
  .glx-frame::before{left:-18px;top:-18px}
  .glx-frame::after{right:-16px;bottom:-16px}
  .glx-frame-gold{margin:0 16px 16px 0}
  .glx-bigquote{font-size:130px;top:-6px}
  .glx-testi h2{padding-right:70px}
  .glx-testi-card{padding:24px 22px 24px}
  .glx-tq figcaption{padding-right:0;gap:16px}
  .glx-avatar{width:54px;height:54px}
  .glx-who{padding-left:16px}
  .glx-who strong{font-size:18px}
  .glx-testi-nav{position:static;justify-content:flex-end;margin-top:18px}
  .glx-nav-btn{width:46px;height:46px}
  .glx-wave{height:100px}
}
@media (max-width:420px){
  .glx-features{grid-template-columns:1fr}
  .glx-features li, .glx-features li:nth-child(n){padding:14px 0 0;border-left:0;flex-direction:row;align-items:center;gap:16px}
  .glx-features li + li{border-top:1px solid #E1D3B4}
}
@media (prefers-reduced-motion:reduce){
  .glx-card, .glx-dl, .glx-more .glh-ic{transition:none}
}
