/*
Theme Name: Lone Star ICG
Theme URI: https://lonestar-icg.com
Author: Lone Star Industrial Care Group LLC
Description: Custom industrial theme — exact replica of reference design.
Version: 3.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
License: Private
Text Domain: lonestar-icg
*/

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red: #C0272D;
  --navy: #0D1B2A;
  --navy2: #1B2F45;
  --white: #fff;
  --light: #F5F5F5;
  --fh: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
  --mw: 1200px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: #222; background: #fff; font-size: 15px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── LANG BAR ─── */
.lang-bar { background: #060e17; padding: 6px 0; }
.lang-bar .wi { max-width: 100%; margin: 0; padding: 0 40px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.lang-bar label { color: #888; font-size: 11px; letter-spacing: .5px; }
.lb { background: none; border: 1px solid #444; color: #bbb; font-size: 11px; padding: 2px 10px; cursor: pointer; border-radius: 2px; transition: all .2s; }
.lb.on, .lb:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ─── NAV ─── */
.ls-nav { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.ls-nav .wi { max-width: 100%; margin: 0; padding: 0; display: flex; align-items: stretch; height: 78px; }
.ls-logo { display: flex; align-items: center; flex-shrink: 0; padding: 0 240px 0 32px; }
.ls-logo img { height: 62px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: stretch; flex: 1; }
.nav-links a { font-family: var(--fh); font-weight: 700; font-size: 15px; letter-spacing: 1.2px; color: #1a3a6b; flex: 1; text-transform: uppercase; transition: color .25s, background .25s; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: center; transition: transform .35s ease; }
.nav-links a:hover { color: var(--navy); background: rgba(13,27,42,.04); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.current-menu-item { color: var(--red); }
.nav-links a.current-menu-item::after { transform: scaleX(1); }
.nav-cta { background: var(--red) !important; color: #fff !important; padding: 0 36px !important; font-weight: 700 !important; letter-spacing: 1.2px; font-size: 14px !important; flex: 0 0 auto !important; border-radius: 0; white-space: nowrap; border-left: none !important; }
.nav-cta:hover { background: #a01f24 !important; color: #fff !important; }
.nav-cta::after { display: none !important; }
.hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.hbg span { display: block; width: 25px; height: 2px; background: #333; border-radius: 2px; transition: all .3s; }
.hbg.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbg.on span:nth-child(2) { opacity: 0; }
.hbg.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mmenu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 999; flex-direction: column; padding: 90px 28px 40px; overflow-y: auto; }
.mmenu.on { display: flex; }
.mmenu a { font-family: var(--fh); font-size: 26px; font-weight: 700; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-transform: uppercase; letter-spacing: 1px; transition: color .2s; display: block; }
.mmenu a:hover { color: var(--red); }
.mm-cta { background: var(--red) !important; text-align: center; border-radius: 3px; padding: 18px !important; border-bottom: none !important; margin-top: 20px; }
.mm-lang { display: flex; gap: 12px; margin-top: 24px; }
.mm-lang button { flex: 1; padding: 12px; font-family: var(--fh); font-size: 18px; font-weight: 700; border: 2px solid rgba(255,255,255,.2); background: none; color: #aaa; border-radius: 3px; cursor: pointer; transition: all .2s; }
.mm-lang button.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ─── HERO ─── */
.ls-hero { position: relative; height: 520px; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,18,.82) 0%, rgba(5,10,18,.55) 55%, rgba(5,10,18,.15) 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--mw); margin: 0 auto; padding: 0 30px; width: 100%; }
.hero-inner { border-left: 5px solid var(--red); padding-left: 28px; max-width: 580px; }
.hero-inner h1 { font-family: var(--fh); font-size: 52px; font-weight: 800; color: #fff; line-height: 1.0; text-transform: uppercase; margin-bottom: 16px; }
.hero-inner p { color: #ccd6e0; font-size: 16px; margin-bottom: 28px; line-height: 1.6; max-width: 440px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn { display: inline-block; font-family: var(--fb); font-weight: 600; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: all .2s; padding: 12px 26px; border: 2px solid transparent; }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: #a01f24; border-color: #a01f24; color: #fff; }
.btn-outline-w { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-w:hover { background: #fff; color: var(--navy); }
.btn-outline-d { background: transparent; color: var(--navy); border-color: var(--navy); padding: 11px 24px; font-size: 12px; }
.btn-outline-d:hover { background: var(--navy); color: #fff; }

/* ─── SECTIONS ─── */
.section { padding: 70px 30px; }
.wi { max-width: var(--mw); margin: 0 auto; }
.sec-label { font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.sec-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); }
.h2 { font-family: var(--fh); font-size: 40px; font-weight: 800; color: var(--navy); text-transform: uppercase; line-height: 1.05; margin-bottom: 16px; }
.h2-white { color: #fff; }
.body-text { font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 24px; max-width: 560px; }
.tc { text-align: center; }
.sec-gray { background: #F5F5F5; }
.sec-navy { background: var(--navy); }
.sec-navy2 { background: var(--navy2); }

/* ─── ABOUT SECTION ─── */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.about-img-wrap { border-radius: 3px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 360px; object-fit: cover; display: block; }
.about-text .sec-label { margin-bottom: 12px; }
.about-text .h2 { font-size: 36px; margin-bottom: 18px; }

/* ─── SERVICES ─── */
.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 0; }
.srv-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.12); transition: transform .2s, box-shadow .2s; } .srv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
/* SERVICE CARD */
.srv-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.12); transition: transform .2s, box-shadow .2s; } .srv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.srv-card-img { height: 160px; overflow: hidden; }
.srv-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.srv-card:hover .srv-card-img img { transform: scale(1.06); }
.srv-card-body { padding: 28px 20px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.srv-card-icon { width: 68px; height: 68px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; flex-shrink: 0; order: -1; }
.srv-card-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.srv-card-body h3 { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--navy); text-transform: uppercase; margin-bottom: 14px; text-align: center; line-height: 1.2; }
.srv-card-body ul { list-style: none; padding: 0; width: 100%; text-align: left; }
.srv-card-body li { font-size: 13px; color: #555; padding: 4px 0 4px 16px; position: relative; }
.srv-card-body li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }


/* ─── INDUSTRIES ─── */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.ind-card { text-align: center; padding: 40px 16px; border-right: 1px solid #e8e8e8; }
.ind-card:last-child { border-right: none; }
.ind-card:hover { background: #f9f9f9; }
.ind-icon-wrap { width: 64px; height: 64px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.ind-icon-wrap svg { width: 52px; height: 52px; filter: none; opacity: 1; }
.ind-card h4 { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; }
.ind-sep { width: 36px; height: 2px; background: var(--red); margin: 10px auto 0; }

/* ─── CTA BAND ─── */
.cta-band { position: relative; padding: 80px 30px; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,18,.85) 0%, rgba(5,10,18,.6) 60%, rgba(5,10,18,.3) 100%); }
.cta-band-content { position: relative; z-index: 2; max-width: var(--mw); margin: 0 auto; }
.cta-band h2 { font-family: var(--fh); font-size: 42px; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.cta-band p { color: #ccd6e0; font-size: 15px; max-width: 420px; margin-bottom: 28px; line-height: 1.7; }

/* ─── CONTACT FORM ─── */
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 11px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.fg input, .fg textarea { width: 100%; border: 1px solid #d0d0d0; border-radius: 2px; padding: 10px 14px; font-size: 14px; font-family: var(--fb); color: #333; background: #fafafa; outline: none; transition: border .2s; }
.fg input:focus, .fg textarea:focus { border-color: var(--red); background: #fff; }
.fg textarea { height: 90px; resize: vertical; }
.form-2c { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-sub { background: var(--red); color: #fff; border: none; padding: 13px; font-family: var(--fh); font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; border-radius: 2px; width: 100%; transition: background .2s; margin-top: 4px; }
.f-sub:hover { background: #a01f24; }
.form-ok { display: none; background: #d4edda; color: #155724; padding: 12px; border-radius: 2px; font-size: 13px; text-align: center; margin-top: 10px; border: 1px solid #c3e6cb; }
.form-err { display: none; background: #f8d7da; color: #721c24; padding: 12px; border-radius: 2px; font-size: 13px; text-align: center; margin-top: 10px; border: 1px solid #f5c6cb; }

/* ─── FOOTER ─── */
.ls-footer { background: var(--navy); padding: 50px 30px 0; }
.footer-grid { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 72px; width: auto; margin-bottom: 16px; }
.footer-brand .logo-fb { font-family: var(--fh); font-size: 22px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 6px; }
.footer-brand .logo-fb em { color: var(--red); font-style: normal; }
.footer-brand .logo-fsub { font-size: 9px; color: #6a8aaa; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: #6a8aaa; line-height: 1.8; }
.footer-col h4 { font-family: var(--fh); font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: #6a8aaa; margin-bottom: 7px; transition: color .2s; line-height: 1.6; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.footer-contact-item svg { width: 14px; height: 14px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13px; color: #6a8aaa; line-height: 1.5; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.soc-btn { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.soc-btn:hover { background: var(--red); border-color: var(--red); }
.soc-btn svg { width: 15px; height: 15px; fill: #6a8aaa; }
.soc-btn:hover svg { fill: #fff; }
.footer-bottom { max-width: var(--mw); margin: 0 auto; padding: 16px 0; display: flex; justify-content: center; align-items: center; }
.footer-bottom p { font-size: 12px; color: #4a6a8a; text-align: center; }

/* ─── WA FLOAT ─── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 9999; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ─── HERO MINI (páginas internas) ─── */
.hero-mini { position: relative; height: 220px; overflow: hidden; display: flex; align-items: center; }
.hero-mini-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-mini-bg::after { content: ''; position: absolute; inset: 0; background: rgba(5,10,18,.75); }
.hero-mini-content { position: relative; z-index: 2; max-width: var(--mw); margin: 0 auto; padding: 0 30px; width: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.breadcrumb a, .breadcrumb span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .5px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--red); }
.breadcrumb .cur { color: #fff; }
.hero-mini h1 { font-family: var(--fh); font-size: 42px; font-weight: 800; color: #fff; text-transform: uppercase; }

/* ─── COMING SOON ─── */
.coming-soon { padding: 100px 30px; text-align: center; background: var(--light); }
.coming-soon .badge { display: inline-block; background: var(--red); color: #fff; font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 2px; margin-bottom: 22px; }
.coming-soon h2 { font-family: var(--fh); font-size: 48px; font-weight: 800; color: var(--navy); text-transform: uppercase; margin-bottom: 16px; }
.coming-soon p { font-size: 15px; color: #666; max-width: 500px; margin: 0 auto 32px; line-height: 1.75; }
.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 700px; margin: 40px auto 0; }
.coming-card { background: #fff; border: 1px solid #e8e8e8; border-top: 3px solid var(--red); padding: 24px 20px; border-radius: 2px; }
.coming-card h4 { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--navy); text-transform: uppercase; margin-bottom: 8px; }
.coming-card p { font-size: 12px; color: #888; line-height: 1.6; }
.wip-icon { font-size: 32px; margin-bottom: 14px; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media(max-width:1024px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
  .about-grid { gap: 40px; }
}
@media(max-width:900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap img { height: 280px; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-card { border-right: none; border-bottom: 1px solid #e8e8e8; }
  .coming-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  /* NAV */
  .hbg { display: flex; }
  .nav-links { display: none; }
  .ls-nav .wi { height: 66px; }

  /* HERO — el más crítico en móvil */
  .ls-hero { height: auto; min-height: 0; }
  .hero-bg { position: absolute; }
  .hero-content { position: relative; z-index: 2; padding: 60px 20px 50px; }
  .hero-inner { border-left: 4px solid var(--red); padding-left: 18px; max-width: 100%; }
  .hero-inner h1 { font-size: 34px; line-height: 1.05; margin-bottom: 12px; }
  .hero-inner p { font-size: 14px; margin-bottom: 20px; max-width: 100%; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; text-align: center; padding: 13px 20px; }

  /* SECTIONS */
  .section { padding: 50px 20px; }
  .h2 { font-size: 30px; }
  .srv-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 56px 20px; }
  .cta-band h2 { font-size: 32px; }
  .cta-band p { max-width: 100%; }
  .hero-mini { height: 180px; }
  .hero-mini h1 { font-size: 30px; }
  .form-2c { grid-template-columns: 1fr; }
  .coming-grid { grid-template-columns: 1fr; max-width: 320px; }
}
@media(max-width:480px) {
  .hero-inner h1 { font-size: 28px; }
  .srv-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mini h1 { font-size: 26px; }
  .about-img-wrap img { height: 220px; }
  .cta-band h2 { font-size: 26px; }
}

/* ─── DROPDOWN MENU ─── */
.nav-has-dropdown { position: relative; display: flex; align-items: stretch; }
.nav-has-dropdown > a { font-family: var(--fh); font-weight: 700; font-size: 15px; letter-spacing: 1.2px; color: #1a3a6b; text-transform: uppercase; display: flex; align-items: center; justify-content: center; padding: 0 22px; height: 80px; position: relative; transition: color .25s, background .25s; white-space: nowrap; }
.nav-has-dropdown > a span.arrow { font-size: 10px; margin-left: 5px; opacity: .7; display: inline-block; transition: transform .25s; }
.nav-has-dropdown:hover > a span.arrow { transform: rotate(180deg); }
.nav-has-dropdown > a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: center; transition: transform .35s ease; }
.nav-has-dropdown:hover > a { color: var(--navy); background: rgba(13,27,42,.04); }
.nav-has-dropdown:hover > a::after { transform: scaleX(1); }
.nav-dropdown { display: block; position: absolute; top: 80px; left: 50%; transform: translateX(-50%); background: #fff; min-width: 280px; box-shadow: 0 8px 32px rgba(0,0,0,.15); border-top: 3px solid var(--red); z-index: 2000; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; pointer-events: none; }
.nav-has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown a { display: block !important; height: auto !important; padding: 13px 24px !important; font-family: var(--fh) !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .8px !important; color: #555 !important; text-transform: uppercase !important; border-bottom: 1px solid #f0f0f0 !important; transition: color .2s !important; white-space: nowrap; position: relative !important; }
.nav-dropdown a:last-child { border-bottom: none !important; }
.nav-dropdown a::after { content: '' !important; display: block !important; position: absolute !important; bottom: 0 !important; left: 0 !important; right: 0 !important; height: 2px !important; background: var(--red) !important; transform: scaleX(0) !important; transform-origin: left !important; transition: transform .3s ease !important; width: auto !important; border-radius: 0 !important; }
.nav-dropdown a:hover { color: var(--navy) !important; background: #fafafa !important; }
.nav-dropdown a:hover::after { transform: scaleX(1) !important; }

/* ─── GALLERY ─── */
.gallery-masonry { columns: 3; column-gap: 14px; margin-top: 40px; }
.gallery-masonry .g-item { break-inside: avoid; margin-bottom: 14px; border-radius: 4px; overflow: hidden; cursor: pointer; position: relative; }
.gallery-masonry .g-item img { width: 100%; display: block; transition: transform .4s; }
.gallery-masonry .g-item:hover img { transform: scale(1.04); }
.gallery-masonry .g-item::after { content: '🔍'; position: absolute; inset: 0; background: rgba(13,27,42,.45); display: flex; align-items: center; justify-content: center; font-size: 28px; opacity: 0; transition: opacity .3s; }
.gallery-masonry .g-item:hover::after { opacity: 1; }
/* Lightbox */
.glbx { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 99999; align-items: center; justify-content: center; }
.glbx.open { display: flex; }
.glbx img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 48px rgba(0,0,0,.5); }
.glbx-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 40px; cursor: pointer; background: none; border: none; line-height: 1; z-index: 2; }
.glbx-prev, .glbx-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 48px; cursor: pointer; background: none; border: none; padding: 0 20px; opacity: .7; transition: opacity .2s; }
.glbx-prev:hover, .glbx-next:hover { opacity: 1; }
.glbx-prev { left: 0; }
.glbx-next { right: 0; }

@media(max-width:768px) {
  .gallery-masonry { columns: 2; }
  .nav-dropdown { left: 0; transform: none; }
}
@media(max-width:480px) {
  .gallery-masonry { columns: 1; }
}

/* Card link overlay */
.srv-card-link { display: block; color: inherit; text-decoration: none; }
.srv-card-link .srv-card-img img { transition: transform .4s; }
.srv-card-link:hover .srv-card-img img { transform: scale(1.06); }
.srv-read-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-top: 14px; transition: gap .2s; }
.srv-read-more::after { content: '→'; transition: transform .2s; }
.srv-card-link:hover .srv-read-more { gap: 10px; }
