/* Soluciones Eléctricas de Arizona — modeled on arizonaelectricalsolutions.com */
:root {
  --navy: #232f3e;
  --navy-2: #37475a;
  --navy-3: #131a22;
  --yellow: #f7c53b;
  --yellow-2: #e8b021;
  --red: #b3121b;
  --blue: #0f4c81;
  --blue-2: #0b3a63;
  --link: #0a66c2;
  --ink: #0f141a;
  --muted: #5f6b7a;
  --line: #d5dbdf;
  --line-2: #e9ebed;
  --bg: #f2f3f3;
  --card: #fff;
  --green: #1f8f4e;
  --wa: #25d366;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 20, 26, .08), 0 1px 1px rgba(15, 20, 26, .04);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 15px; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 13px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------------- header */
.hdr { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.hdr-top { display: flex; align-items: center; gap: 18px; padding: 8px 20px; max-width: 1600px; margin: 0 auto; }
.logo img { display: block; height: 42px; width: auto; }
.search { flex: 1; display: flex; position: relative; max-width: 900px; }
.search input { flex: 1; min-width: 0; border: 0; border-radius: 8px 0 0 8px; padding: 0 14px; height: 42px; font: inherit; font-size: 15px; }
.search button { width: 54px; border: 0; border-radius: 0 8px 8px 0; background: var(--yellow); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--yellow-2); }
.suggest { position: absolute; top: 46px; left: 0; right: 54px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.25); overflow: hidden; z-index: 60; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; color: var(--ink); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.suggest a:hover, .suggest a.on { background: #f0f6fc; text-decoration: none; }
.suggest img { width: 36px; height: 36px; object-fit: contain; background: #fff; }
.suggest small { color: var(--muted); display: block; }
.hdr-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.hdr-actions a { color: #fff; }
.hdr-link { display: flex; flex-direction: column; line-height: 1.15; font-size: 13px; }
.hdr-link small { color: #c9d1d9; font-size: 12px; }
.lang { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.lang:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.lang-short { display: none; }
.quote-btn { display: flex; align-items: center; gap: 4px; position: relative; font-weight: 700; }
.qcount { position: absolute; left: 10px; top: -4px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.hdr-nav { background: var(--navy-2); display: flex; gap: 2px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.hdr-nav::-webkit-scrollbar { display: none; }
.hdr-nav a { color: #fff; padding: 8px 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; border-radius: 4px; }
.hdr-nav a:hover { border-color: #fff; text-decoration: none; }
.hdr-nav .all { font-weight: 800; }
.hdr-nav .hl { color: var(--yellow); margin-left: auto; }

/* ---------------- hero */
.hero { background: linear-gradient(180deg, var(--navy-3), var(--navy)); color: #fff; padding: 56px 0 48px; text-align: center; }
.hero .eyebrow { color: var(--yellow); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 14px; }
.hero .lead { color: #d8dee5; max-width: 760px; margin: 0 auto 24px; font-size: 17px; }
.hero-search { display: flex; max-width: 680px; margin: 0 auto; }
.hero-search input { flex: 1; min-width: 0; border: 0; border-radius: 10px 0 0 10px; padding: 0 16px; height: 50px; font: inherit; font-size: 16px; }
.hero-search button { border: 0; border-radius: 0 10px 10px 0; background: var(--yellow); padding: 0 22px; font: inherit; font-weight: 700; cursor: pointer; }
.hero-search.inline { margin: 0 0 16px; max-width: 760px; }
.hero-search.inline input { border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 18px; font-size: 13px; }
.chips > span { color: #c9d1d9; }
.chip { border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.chip:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.chips.subs { justify-content: flex-start; margin: 0 0 18px; }
.subs .chip { color: var(--ink); background: #fff; border-color: var(--line); }
.subs .chip span { color: var(--muted); font-size: 12px; margin-left: 4px; }
.subs .chip:hover { border-color: var(--navy); background: #fff; }

.trust { background: #fff; border-bottom: 1px solid var(--line-2); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 18px 20px; }
.trust-in div { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.trust-in b { color: var(--ink); font-size: 14px; }

/* ---------------- sections / grids */
.sec { padding: 28px 20px 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.sec-head h2 { margin: 0; font-size: 22px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 2px; color: var(--ink); box-shadow: var(--shadow); }
.tile:hover { border-color: var(--navy-2); text-decoration: none; }
.tile-img { aspect-ratio: 4/3; display: grid; place-items: center; margin-bottom: 8px; }
.tile-img img { max-height: 100%; object-fit: contain; }
.tile small { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 24px; }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.noimg { color: #b8c0c8; font-weight: 800; letter-spacing: .04em; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.card-title { color: var(--ink); font-weight: 600; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card small { font-size: 12.5px; }

/* ---------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-primary.added { background: var(--green); }
.btn-line { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-wa { background: var(--wa); color: #073b1d; }
.btn-wa:hover { background: #1fbe5b; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-sm { padding: 5px 12px; font-size: 13px; }

/* ---------------- breadcrumbs / headings */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; padding: 14px 0 8px; color: var(--muted); }
.crumbs a { color: var(--link); }
.page-h { font-size: 26px; margin: 8px 0 14px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 32px; font-weight: 600; }

/* ---------------- product page */
.pdp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.pdp-main { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.pdp-main img { max-height: 100%; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; }
.thumbs button:hover, .thumbs button.on { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.brand { color: var(--red); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; margin: 0; }
.pdp-info h1 { font-size: 26px; margin: 4px 0 8px; }
.sku-name { color: var(--muted); margin: 0 0 10px; font-size: 14px; }
.ids { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 12px; }
.ids div { display: flex; gap: 6px; font-size: 14px; }
.ids dt { color: var(--muted); }
.ids dd { margin: 0; font-weight: 700; }
.badge-nom { display: inline-block; background: #e9f7ef; color: #11683a; border: 1px solid #b7e2c8; border-radius: 6px; padding: 3px 10px; font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.overview { font-size: 15px; }
.fam-link { font-size: 14px; }
.buy { border: 1px solid var(--line-2); background: #f8fafb; border-radius: 10px; padding: 16px; margin: 16px 0; }
.price-note { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.docs { display: flex; flex-wrap: wrap; gap: 8px; }
.doc { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; background: #fff; color: var(--ink); }
.doc:hover { border-color: var(--blue); text-decoration: none; }
.panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; box-shadow: var(--shadow); }
.panel h2 { font-size: 19px; margin: 0 0 12px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
.cols .panel { margin: 18px 0 0; }
.cols { margin-bottom: 32px; }
.rich { font-size: 14.5px; }
.rich p { margin: 0 0 10px; }
.std { margin: 0; padding-left: 18px; font-size: 14px; }
.std li { margin-bottom: 4px; }
.std li.mx { font-weight: 700; color: #11683a; }
.units { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.units button { border: 0; background: #fff; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
html[data-units="imp"] .units [data-set-units="imp"], html:not([data-units]) .units [data-set-units="imp"], html[data-units="met"] .units [data-set-units="met"] { background: var(--navy); color: #fff; }
html[data-units="met"] .u-imp, html:not([data-units="met"]) .u-met { display: none; }
.tbl-wrap { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line-2); padding: 7px 10px; text-align: left; vertical-align: top; }
.tbl thead th { background: #f4f6f8; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
.tbl tbody tr:hover { background: #fafcfe; }
.tbl.specs th { width: 55%; font-weight: 600; color: var(--muted); }
.filter { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; min-width: 220px; }

.catlist { columns: 3 320px; column-gap: 18px; }
.catlist .panel { break-inside: avoid; margin: 0 0 18px; }
.catlist ul { margin: 0; padding-left: 18px; font-size: 14px; }

/* quote */
.qrow { display: grid; grid-template-columns: 56px 1fr 110px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.qrow img { width: 56px; height: 56px; object-fit: contain; }
.qrow input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; }
.qrow .rm { background: none; border: 0; color: var(--red); cursor: pointer; font: inherit; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 600; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: inherit; font-weight: 400; }
#quote-msg { font-weight: 600; }
#quote-msg.ok { color: var(--green); }
#quote-msg.err { color: var(--red); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard { display: flex; flex-direction: column; color: var(--ink); margin: 0; }
.ccard:hover { border-color: var(--navy-2); text-decoration: none; }
.ccard span { color: var(--muted); }
.lead-dark { font-size: 17px; }

/* footer */
.ftr { background: var(--navy); color: #c9d1d9; margin-top: 40px; font-size: 14px; }
.ftr-in { max-width: 1320px; margin: 0 auto; padding: 32px 20px 12px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.ftr h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.ftr a { display: block; color: #c9d1d9; margin-bottom: 6px; }
.ftr a:hover { color: #fff; }
.ftr .tm { max-width: 1320px; margin: 0 auto; padding: 14px 20px 28px; font-size: 12px; color: #9aa6b2; border-top: 1px solid rgba(255,255,255,.1); }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 40; }

@media (max-width: 1000px) {
  .pdp { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none !important; }
}
@media (max-width: 700px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .hdr-top { flex-wrap: wrap; gap: 10px; padding: 8px 16px; }
  .logo img { height: 34px; }
  .search { order: 3; flex-basis: 100%; }
  .hdr-actions { margin-left: auto; gap: 12px; }
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .hero { padding: 36px 0 32px; }
  .hero .lead { font-size: 15px; }
  .trust-in { grid-template-columns: 1fr; gap: 10px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 10px; }
  .card .btn { font-size: 12.5px; padding: 7px 10px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp { padding: 14px; gap: 16px; }
  .pdp-info h1 { font-size: 21px; }
  .form-grid, .contact-cards { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; }
  .qrow { grid-template-columns: 44px 1fr 80px; }
  .qrow .rm { grid-column: 2 / -1; justify-self: start; }
  .filter { min-width: 0; width: 100%; }
}
.obs { background: #fff4e5; border: 1px solid #f5c98b; color: #7a4a00; border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.sizes-l { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.sizes .chip { color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; }
.sizes .chip span { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 2px; }
.sizes .chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sizes .chip.on span { color: #c9d1d9; }
.tbl tr.grp th { background: #eef2f6; color: var(--navy); font-size: 14px; font-weight: 800; padding: 8px 10px; border-top: 2px solid var(--line); }
.sw-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); color: #c9d1d9; line-height: 1; }
.sw-badge:hover { text-decoration: none; }
.sw-badge small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.sw-badge img { height: 29px; width: auto; display: block; }
.hero-sw { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 14px; }
.hero-sw span { color: var(--yellow); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.hero-sw img { height: 60px; width: auto; }
.brand img { height: 26px; width: auto; display: block; }
.ftr-sw { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.ftr-sw small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ftr-sw img { height: 40px; width: auto; }
@media (max-width: 700px) { .sw-badge { padding-left: 10px; } .sw-badge small { display: none; } .sw-badge img { height: 22px; } .hero-sw img { height: 44px; } }
.brand img { height: 32px; }
.logo-wrap { position: relative; display: inline-block; line-height: 0; }
.logo-fx { position: absolute; inset: -40% -10%; width: 120%; height: 180%; pointer-events: none; }
/* Southwire logo sizes — owner: "too drawn out, needs to be smaller" (6 Oct 2026) */
.sw-badge img { height: 20px; }
.hero-sw img { height: 38px; }
.brand img { height: 22px; }
.ftr-sw img { height: 28px; }
@media (max-width: 700px) { .sw-badge img { height: 16px; } .hero-sw img { height: 30px; } }
/* never let a flex column stretch a logo (footer Southwire logo was distorted) */
.ftr-sw, .sw-badge { align-items: flex-start; }
.ftr-sw img, .sw-badge img, .hero-sw img, .brand img { width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; }
.hero-sw img { align-self: center; }
.ftr-logo img { height: 48px; width: auto; }
