/*
Theme Name: Somex Pro Apple Light
Theme URI: https://somex.example/
Author: Somex
Description: Apple-style modern tech theme inspired by the approved mockup. Clean white with blue primary and subtle orange accent. WooCommerce-ready.
Version: 1.5.10
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: somex-pro-apple-light
Tags: custom-logo, custom-menu, one-column, e-commerce, featured-images
*/

:root{
  --surface:#ffffff;
  --header-bg:rgba(255,255,255,.86);
  --footer-bg:transparent;
--bg:#ffffff;
  --text:#0b1220;
  --muted:#5b6475;
  --blue:#2b6fff;
  --orange:#ff7a18;
  --border:rgba(15,23,42,.10);
  --shadow:0 18px 50px rgba(2,6,23,.08);
  --radius:18px;
  --max:1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--header-bg);
  backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid var(--border);
}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:42px;width:auto}
.nav{display:flex;align-items:center;gap:8px}
.nav ul{list-style:none;display:flex;gap:18px;margin:0;padding:0;align-items:center}
.nav a{color:var(--muted);font-weight:700;padding:10px 12px;border-radius:14px}
.nav a:hover{color:var(--text);background:rgba(43,111,255,.08)}
.nav-toggle{display:none}

/* Mobile navigation (hamburger + drawer) */
.nav-toggle{
  display:none;
  width:44px;height:44px;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 30px rgba(2,6,23,.06);
}
.nav-toggle-bars{
  width:18px;height:2px;
  background:var(--text);
  position:relative;
  display:block;
  border-radius:2px;
}
.nav-toggle-bars:before,
.nav-toggle-bars:after{
  content:"";
  position:absolute;left:0;
  width:18px;height:2px;
  background:var(--text);
  border-radius:2px;
}
.nav-toggle-bars:before{top:-6px}
.nav-toggle-bars:after{top:6px}

.sx-mobile-nav{
  position:fixed;
  inset:0;
  z-index:99999;
  display:block;              /* keep in flow for smooth transitions */
  visibility:hidden;
  pointer-events:none;
  opacity:0;
  transition: opacity .22s ease, visibility 0s linear .22s;
}

/* CSS-only mobile nav toggle */
.sx-nav-check{position:absolute;left:-9999px;}
#sx-nav-check:checked ~ .sx-mobile-nav{
  visibility:visible;
  pointer-events:auto;
  opacity:1;
  transition: opacity .22s ease;
}
.sx-mobile-nav__backdrop{
  position:absolute;inset:0;
  background:rgba(2,6,23,.55);
  opacity:0;
  transition: opacity .22s ease;
}
.sx-mobile-nav__panel{
  position:absolute;top:0;right:0;bottom:0;
  width:min(86vw, 360px);
  background:var(--surface);
  border-left:1px solid var(--border);
  box-shadow:-20px 0 60px rgba(2,6,23,.24);
  padding:16px;
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  gap:14px;
  transform: translateX(110%);
  will-change: transform;
  opacity:0;
  border-top-left-radius:20px;
  border-bottom-left-radius:20px;
  transition: transform .22s ease, opacity .22s ease;
}

#sx-nav-check:checked ~ .sx-mobile-nav .sx-mobile-nav__backdrop{opacity:1;}
#sx-nav-check:checked ~ .sx-mobile-nav .sx-mobile-nav__panel{transform: translateX(0); opacity:1;}
.sx-mobile-nav__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.sx-mobile-nav__title{
  font-weight:900;
  color:var(--text);
  letter-spacing:-.02em;
}
.sx-mobile-nav__close{
  width:40px;height:40px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.sx-mobile-nav__menu ul{
  list-style:none;
  margin:0;padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.sx-mobile-nav__menu{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding-right:2px;
}
.sx-mobile-nav__menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-radius:16px;
  color:var(--text);
  font-weight:800;
  background:rgba(43,111,255,.06);
  border:1px solid rgba(15,23,42,.06);
}
.sx-mobile-nav__menu a:hover{
  background:rgba(43,111,255,.12);
}
.sx-mobile-nav__actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
html.sx-nav-locked, html.sx-nav-locked body{overflow:hidden}

@media (max-width: 980px){
  /* Use the same primary menu as desktop (no drawer) */
  .navbar{flex-wrap:wrap; justify-content:center; gap:10px; padding:10px 0;}
  .brand{margin:0 auto; order:1;}
  .brand img{height:46px}

  .nav--desktop{display:flex; width:100%; order:3; justify-content:center;}
  .nav ul{flex-wrap:wrap; justify-content:center; gap:10px;}
  .nav a{padding:8px 10px; font-size:13px; border-radius:12px;}

  .sx-header-actions--desktop{display:flex; width:100%; order:4; justify-content:center; flex-wrap:wrap; gap:10px;}
  .sx-header-actions--desktop .btn{padding:10px 14px; font-size:13px;}

  /* Disable hamburger/drawer UI entirely */
  .nav-toggle, .sx-mobile-nav, .sx-nav-check{display:none !important;}
}
  .sx-header-actions--desktop{display:none}
  .navbar{justify-content:center; position:relative;}
  .brand{margin:0 auto;}
  .nav-toggle{display:inline-flex; position:absolute; right:14px; top:50%; transform:translateY(-50%);}
  .brand img{height:48px}
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  font-weight:800;
  box-shadow:0 10px 30px rgba(2,6,23,.06);
}
.btn.primary{
  background:var(--blue);
  color:#fff;border-color:transparent;
  box-shadow:0 16px 40px rgba(43,111,255,.28);
}
.btn.primary:hover{filter:brightness(.98)}
.btn.ghost{background:transparent}
.btn.ghost:hover{border-color:rgba(43,111,255,.24)}

.hero{
  padding:92px 0 36px;
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;inset:-140px -120px auto -120px;
  height:520px;
  background:
    radial-gradient(900px 320px at 22% 30%, rgba(43,111,255,.15), transparent 60%),
    radial-gradient(820px 320px at 78% 55%, rgba(255,122,24,.10), transparent 62%);
  pointer-events:none;
}
.wave{
  position:absolute; left:0; right:0;
  height:260px;
  bottom:-120px;
  background:linear-gradient(180deg, rgba(43,111,255,.04), rgba(43,111,255,.02));
  clip-path: path("M 0 80 C 180 10 340 10 512 70 C 690 130 860 120 1024 55 L 1024 260 L 0 260 Z");
  opacity:.9;
  pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center;position:relative}
h1{
  font-size:clamp(2.2rem, 4vw, 3.3rem);
  line-height:1.08;
  letter-spacing:-.035em;
  margin:0;
}
.lead{color:var(--muted);max-width:60ch;margin:14px 0 0;font-size:1.06rem}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

.hero-media{
  border-radius:22px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:18px;
}
.hero-media img{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:var(--surface);
}

.section{padding:70px 0}
.section-title{margin:0;text-align:center;letter-spacing:-.03em}
.section-sub{margin:10px auto 0;text-align:center;color:var(--muted);max-width:70ch}

.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  padding:18px;
  box-shadow:0 14px 40px rgba(2,6,23,.06);
}
.card h3{margin:0 0 6px;letter-spacing:-.02em}
.card p{margin:0;color:var(--muted)}
.icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(43,111,255,.10);
  border:1px solid rgba(43,111,255,.18);
  margin-bottom:12px;
}
.icon svg{width:22px;height:22px;color:var(--blue)}
.icon.orange{background:rgba(255,122,24,.10);border-color:rgba(255,122,24,.18)}
.icon.orange svg{color:var(--orange)}

.about{
  position:relative;
  overflow:hidden;
}
.about:before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(900px 320px at 10% 20%, rgba(43,111,255,.08), transparent 60%),
    radial-gradient(700px 260px at 90% 45%, rgba(255,122,24,.06), transparent 60%);
  pointer-events:none;
}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;position:relative}
.about-media{
  border-radius:22px;overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  background:var(--surface);
}
.about-media img{width:100%;height:auto}

.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.project{
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
  background:var(--surface);
  box-shadow:0 14px 40px rgba(2,6,23,.06);
}
.project img{width:100%;height:auto}
.project .meta{padding:14px 16px}
.project .meta b{display:block}
.project .meta span{color:var(--muted);font-weight:700;font-size:.92rem}

.cta{
  padding:78px 0;
  text-align:center;
  border-top:1px solid var(--border);
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(43,111,255,.10), transparent 60%);
}
.site-footer{
  padding:34px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
  background:var(--footer-bg);
}
.footer-grid{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:center}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.footer-links a{color:var(--muted);font-weight:800}
.footer-links a:hover{color:var(--text)}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .about-grid{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr}
  .nav ul{display:none}
}
@media (max-width: 520px){
  .cards{grid-template-columns:1fr}
}




/* Keep header from shrinking awkwardly */
.site-header .navbar { padding-top: 10px; padding-bottom: 10px; }

/* Logo sizing (HUGE for visibility) */
.brand img,
.custom-logo-link img,
.custom-logo {
  height: 84px;
  width:auto;
  max-width: 380px;
  object-fit: contain;
}
.site-header .navbar {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* HEADER_AUTO_LAYOUT_ADJUST
   Keep big logo without pushing menu. */
.site-header .navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:nowrap;
}
.site-header .brand{
  display:flex;
  align-items:center;
  min-width: 180px;
  flex: 0 0 auto;
}
.site-header .nav{
  margin-left:auto;
  flex: 1 1 auto;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.site-header .nav ul{
  flex-wrap:wrap;
  justify-content:flex-end;
}
/* Let logo be big but never overflow */
.brand img,
.custom-logo-link img,
.custom-logo{
  max-height: 84px;
  height: min(84px, 9vw);
  width:auto;
  max-width: 380px;
}
/* If viewport is tight, stack menu under logo gracefully */
@media (max-width: 980px){
  .site-header .navbar{
    flex-wrap:wrap;
    align-items:flex-start;
  }
  .site-header .nav{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
  }
  .site-header .nav ul{
    justify-content:flex-start;
  }
}

/* CONTACT_PAGE_STYLES */
.contact-page .contact-hero{margin-bottom:18px}
.contact-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 980px){
  .contact-grid{grid-template-columns:1fr}
}
.card.contact-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 30px rgba(2,6,23,.06);
}
.card-title{margin:0 0 10px; letter-spacing:-.02em}
.muted{color:var(--muted)}
.notice{
  padding:12px 14px;
  border:1px dashed rgba(43,111,255,.35);
  background:rgba(43,111,255,.06);
  border-radius:14px;
  color:var(--text);
}

.contact-lines{display:grid; gap:10px; color:var(--text)}
.contact-lines a{color:var(--blue); font-weight:800}
.contact-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

/* Map */
.contact-map .map-wrap{border-radius:16px; overflow:hidden; border:1px solid var(--border)}
.contact-map iframe{width:100%; height:320px; border:0; display:block}

/* Contact Form 7 styling */
.wpcf7 form{margin-top:12px}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  outline:none;
  font-weight:700;
}
.wpcf7 textarea{min-height:140px; resize:vertical}
.wpcf7 input:focus, .wpcf7 textarea:focus{
  border-color:rgba(43,111,255,.45);
  box-shadow:0 0 0 6px rgba(43,111,255,.10);
}
.wpcf7 input[type="submit"]{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid transparent;
  background:var(--blue);
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 16px 40px rgba(43,111,255,.28);
}
.wpcf7 input[type="submit"]:hover{filter:brightness(.98)}
.wpcf7 .wpcf7-not-valid-tip{color:#b91c1c; font-weight:800; margin-top:6px}
.wpcf7 .wpcf7-response-output{
  border-radius:14px;
  border:1px solid var(--border);
  padding:12px 14px;
  margin:12px 0 0;
}


/* Services CTA */
.services-cta{margin-top:26px;text-align:center}


/* Services: swappable image holders */
.somex-services-page .card .service-thumb{margin:-18px -18px 14px; overflow:hidden; border-radius:16px;}
.somex-services-page .card .service-thumb img{display:block; width:100%; height:180px; object-fit:cover;}
@media (min-width: 900px){.somex-services-page .card .service-thumb img{height:200px;}}


/* =============================
   SOMEX WOOCOMMERCE STYLING
   ============================= */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 18px; font-size: 14px; opacity: .85; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0 0 18px; }

/* Product grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  list-style: none;
  background:var(--surface);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); }
.woocommerce ul.products li.product a img {
  border-radius: 14px;
  margin: 0 0 12px;
  width: 100%;
  height: auto;
  display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  line-height: 1.25;
  margin: 4px 0 8px;
  color: #0d1b2a;
}
.woocommerce ul.products li.product .price {
  font-weight: 700;
  color: #0b5ed7;
  margin: 0 0 12px;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  background: #0b5ed7;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(11,94,215,.20);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #084298;
  color: #fff;
}

/* Accent for add-to-cart on cards */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button.product_type_simple {
  background: #ff7a00;
  box-shadow: 0 10px 20px rgba(255,122,0,.18);
}
.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce ul.products li.product .button.product_type_simple:hover {
  background: #e86f00;
}

/* Single product */
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce div.product .product_title { font-size: 30px; margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #0b5ed7; font-weight: 800; }
.woocommerce div.product form.cart { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce div.product form.cart .quantity .qty {
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  padding: 10px 12px;
  height: 44px;
  width: 86px;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  background:var(--surface);
  margin: 0 8px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 14px; font-weight: 700; }
.woocommerce div.product .woocommerce-tabs .panel { background:var(--surface); border-radius: 18px; padding: 18px; box-shadow: 0 10px 28px rgba(0,0,0,.06); }

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

/* Cart & Checkout */
.woocommerce table.shop_table {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  border: 0;
}
.woocommerce table.shop_table th { background: rgba(0,0,0,.03); }
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
  background:var(--surface);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  padding: 12px 12px;
  background:var(--surface);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .woocommerce div.product .product_title { font-size: 24px; }
  .woocommerce ul.products { gap: 14px; }
  .woocommerce ul.products li.product { padding: 14px; }
}


/* =============================
   SOMEX MY ACCOUNT (WooCommerce)
   ============================= */
body.woocommerce-account .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
}
body.woocommerce-account .woocommerce-MyAccount-navigation {
  background:var(--surface);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
  padding: 14px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(2,6,23,.06);
  background: rgba(2,6,23,.02);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.25);
  color: #2563eb;
}
body.woocommerce-account .woocommerce-MyAccount-content {
  background:var(--surface);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
  padding: 18px;
}
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register {
  background:var(--surface);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
body.woocommerce-account .woocommerce form .form-row label {
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}
body.woocommerce-account .woocommerce form .input-text,
body.woocommerce-account .woocommerce form input[type="text"],
body.woocommerce-account .woocommerce form input[type="password"],
body.woocommerce-account .woocommerce form input[type="email"],
body.woocommerce-account .woocommerce form input[type="tel"]{
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.12);
  padding: 12px 12px;
  width: 100%;
  background: rgba(2,6,23,.02);
}
body.woocommerce-account .woocommerce form .input-text:focus,
body.woocommerce-account .woocommerce form input:focus{
  outline: none;
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  background:var(--surface);
}
body.woocommerce-account .woocommerce .woocommerce-Button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button{
  border-radius: 14px;
  padding: 12px 16px;
}

/* Responsive: stack nav/content */
@media (max-width: 900px){
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content{
    width: 100%;
    float: none;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation{
    margin-bottom: 14px;
  }
}


/* Social links (Contact + Footer) */
.somex-social-links,
.footer-social-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.sx-social-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(43,111,255,.08);
  border:1px solid rgba(43,111,255,.16);
  color:var(--blue);
  transition:all .25s ease;
}

.sx-social-btn:hover{
  background:var(--blue);
  color:#fff;
  transform:translateY(-1px);
}

.sx-icon{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* Accessible label (screen readers only) */
.sr-only{
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.footer-social{justify-self:end;}
@media (max-width: 900px){
  .footer-social{justify-self:start;margin-top:10px;}
}

/* Contact details line w/ icon */
.contact-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.contact-line .sx-icon{ margin-top:2px; }


.contact-phone-link{color:var(--blue);font-weight:700;}
.contact-phone-link:hover{text-decoration:underline;}


/* Hover tooltips for social icons */
.sx-social-btn{ position:relative; }

.sx-social-btn[data-tooltip]::after{
  content: attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(17,24,39,.95);
  color:#fff;
  font-size:12px;
  line-height:1;
  padding:8px 10px;
  border-radius:10px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  z-index:50;
}

.sx-social-btn[data-tooltip]::before{
  content:"";
  position:absolute;
  left:50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border:6px solid transparent;
  border-top-color: rgba(17,24,39,.95);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index:49;
}

.sx-social-btn[data-tooltip]:hover::after{
  opacity:1;
  transform: translateX(-50%) translateY(-2px);
}

.sx-social-btn[data-tooltip]:hover::before{
  opacity:1;
}

/* Get Directions button */
.sx-directions-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  padding:10px 14px;
  border-radius:14px;
  background: var(--blue);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  width:fit-content;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  transition: transform .2s ease, filter .2s ease;
}
.sx-directions-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Reveal (fade only) */
.somex-reveal{opacity:0; transition: opacity .8s ease;}
.somex-reveal.is-visible{opacity:1;}

/* Homepage Stats */
.somex-stats-section{padding-top: 10px;}
.somex-stats-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 6px;
}
@media (max-width: 900px){
  .somex-stats-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
}
@media (max-width: 520px){
  .somex-stats-grid{grid-template-columns: 1fr;}
}
.somex-stat{
  background: var(--somex-box-bg, #ffffff);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:18px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.somex-stat-value{
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--somex-primary, #1f5eff);
  letter-spacing: -0.02em;
}
.somex-stat-suffix{font-size: 22px; font-weight: 800; margin-left: 2px; color: var(--somex-primary, #1f5eff);}
.somex-stat-label{
  margin-top: 8px;
  color: var(--somex-text, #111827);
  font-weight: 600;
}

/* Services extras */
.somex-why-grid{grid-template-columns: repeat(3, minmax(0,1fr));}
@media (max-width: 900px){ .somex-why-grid{grid-template-columns: 1fr;} }

.cta-card{
  background: linear-gradient(135deg, rgba(31,94,255,.08), rgba(255,122,0,.08));
  border:1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.cta-card h2{margin:0 0 8px 0;}
.cta-card p{margin:0 0 16px 0; color: var(--somex-muted, #6b7280);}

.nav-toggle{z-index: 60;}
