/* C Tech Fix Locations — same visual language as the C Tech Fix phone plans storefront */
.ctf-locations{
  --ctf-red:#e11d2e;
  --ctf-red-dark:#b51222;
  --ctf-red-soft:#fff1f3;
  --ctf-ink:#101828;
  --ctf-text:#344054;
  --ctf-muted:#667085;
  --ctf-line:#eaecf0;
  max-width:1320px;margin:48px auto;padding:0 22px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ctf-ink);line-height:1.5;
}
.ctf-locations *,.ctf-locations *:before,.ctf-locations *:after{box-sizing:border-box}
.ctf-locations a{text-decoration:none}

.ctf-locations .ctf-eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:var(--ctf-red);
}
.ctf-locations .ctf-eyebrow:before{content:"";width:22px;height:2px;background:var(--ctf-red);border-radius:9px}

/* HERO */
.ctf-locations .ctf-loc-hero{
  position:relative;overflow:hidden;display:flex;align-items:flex-end;min-height:420px;padding:64px 56px;
  border:1px solid rgba(255,255,255,.08);border-radius:32px;color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(225,29,46,.30),transparent 32%),
    radial-gradient(circle at 8% 100%,rgba(255,255,255,.08),transparent 28%),
    linear-gradient(135deg,#080c12 0%,#131a26 55%,#0c1119 100%);
  box-shadow:0 28px 70px rgba(16,24,40,.18);
}
.ctf-locations .ctf-loc-hero.has-banner:before{
  content:"";position:absolute;inset:0;background-image:var(--ctf-loc-img);background-size:cover;background-position:center;
}
.ctf-locations .ctf-loc-hero:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 88% 12%,rgba(225,29,46,.26),transparent 36%),
    linear-gradient(90deg,rgba(8,12,18,.90) 0%,rgba(8,12,18,.68) 52%,rgba(8,12,18,.30) 100%);
}
.ctf-locations .ctf-loc-hero:not(.has-banner):after{
  background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
  background-size:34px 34px;opacity:.25;mask-image:linear-gradient(to right,black,transparent 72%);
}
.ctf-locations .ctf-loc-hero-inner{position:relative;z-index:2;max-width:760px}
.ctf-locations .ctf-loc-hero .ctf-eyebrow{color:#fff}
.ctf-locations .ctf-loc-hero h1{
  margin:14px 0 14px!important;padding:0!important;color:#fff!important;font-size:clamp(32px,4.8vw,58px)!important;
  line-height:1.02!important;letter-spacing:-.05em!important;font-weight:850!important;
}
.ctf-locations .ctf-loc-lead,.ctf-locations .ctf-loc-lead p{margin:0;color:#d3d8e0!important;font-size:17px;line-height:1.65}
.ctf-locations .ctf-loc-lead p+p{margin-top:10px}
.ctf-locations .ctf-loc-back{
  display:inline-flex;align-items:center;margin-bottom:22px;padding:8px 14px;font-size:12px;font-weight:800;color:#fff;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;backdrop-filter:blur(8px);transition:.2s ease;
}
.ctf-locations .ctf-loc-back:hover{background:rgba(255,255,255,.2);color:#fff}

/* BUTTONS */
.ctf-locations .ctf-loc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.ctf-locations .ctf-loc-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 24px;
  font:inherit;font-size:15px;font-weight:800;color:#fff!important;cursor:pointer;
  background:linear-gradient(135deg,var(--ctf-red),#ef3546);border:0;border-radius:14px;
  box-shadow:0 10px 24px rgba(225,29,46,.28);transition:.2s ease;
}
.ctf-locations .ctf-loc-btn:hover{background:linear-gradient(135deg,var(--ctf-red-dark),#d92032);transform:translateY(-1px);box-shadow:0 14px 30px rgba(225,29,46,.34)}
.ctf-locations .ctf-loc-btn.ghost{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);box-shadow:none;backdrop-filter:blur(8px)}
.ctf-locations .ctf-loc-btn.ghost:hover{background:rgba(255,255,255,.18)}
.ctf-locations .ctf-loc-icon{flex:none;width:20px;height:20px}

/* CHOOSER CARDS */
.ctf-locations .ctf-loc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:22px}
.ctf-locations .ctf-loc-card{
  display:flex;flex-direction:column;overflow:hidden;color:var(--ctf-ink);background:#fff;
  border:1px solid var(--ctf-line);border-radius:28px;box-shadow:0 8px 28px rgba(16,24,40,.055);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.ctf-locations .ctf-loc-card-media{
  position:relative;display:block;min-height:240px;
  background:
    radial-gradient(circle at 80% 15%,rgba(225,29,46,.34),transparent 38%),
    linear-gradient(135deg,#080c12 0%,#162033 60%,#0c1119 100%);
}
.ctf-locations .ctf-loc-card-media.has-img{background-image:linear-gradient(180deg,rgba(8,12,18,0) 40%,rgba(8,12,18,.55) 100%),var(--ctf-loc-img);background-size:cover;background-position:center}
.ctf-locations .ctf-loc-card-badge{
  position:absolute;left:20px;top:20px;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;
  font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#fff;
  background:linear-gradient(135deg,var(--ctf-red),#f23b4c);border-radius:999px;box-shadow:0 6px 16px rgba(225,29,46,.25);
}
.ctf-locations .ctf-loc-card-badge .ctf-loc-icon{width:14px;height:14px}
.ctf-locations .ctf-loc-card-body{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px}
.ctf-locations .ctf-loc-card-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.ctf-locations .ctf-loc-card-text strong{font-size:28px;line-height:1.1;letter-spacing:-.035em;font-weight:850}
.ctf-locations .ctf-loc-card-phone{font-size:15px;font-weight:650;color:var(--ctf-muted)}
.ctf-locations .ctf-loc-card-go{
  display:grid;place-items:center;flex:none;width:48px;height:48px;color:#fff;
  background:linear-gradient(135deg,var(--ctf-red),#ef3546);border-radius:50%;box-shadow:0 8px 18px rgba(225,29,46,.26);transition:transform .2s ease;
}

/* INFO STRIP */
.ctf-locations .ctf-loc-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:22px}
.ctf-locations .ctf-loc-info-card{
  display:flex;align-items:center;gap:14px;padding:18px 20px;color:var(--ctf-ink);background:#fff;
  border:1px solid var(--ctf-line);border-radius:20px;box-shadow:0 8px 28px rgba(16,24,40,.045);
}
.ctf-locations a.ctf-loc-info-card{transition:.2s ease}
.ctf-locations a.ctf-loc-info-card:hover{border-color:#d9dde5;box-shadow:0 14px 34px rgba(16,24,40,.09)}
.ctf-locations .ctf-loc-info-icon{
  display:grid;place-items:center;flex:none;width:46px;height:46px;color:var(--ctf-red);background:var(--ctf-red-soft);border:1px solid #ffd7dc;border-radius:14px;
}
.ctf-locations .ctf-loc-info-card small{display:block;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#98a2b3}
.ctf-locations .ctf-loc-info-card strong{display:block;margin-top:2px;font-size:16px;line-height:1.35;font-weight:800}

/* DEVICES */
.ctf-locations .ctf-loc-section{margin-top:54px}
.ctf-locations .ctf-loc-section-head{margin-bottom:24px}
.ctf-locations .ctf-loc-section-head h2{
  margin:10px 0 0!important;padding:0!important;font-size:clamp(28px,3.4vw,42px)!important;line-height:1.05!important;
  letter-spacing:-.045em!important;font-weight:850!important;color:var(--ctf-ink)!important;
}
.ctf-locations .ctf-loc-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ctf-locations .ctf-loc-service{
  position:relative;overflow:hidden;padding:30px;background:#fff;border:1px solid var(--ctf-line);border-radius:26px;
  box-shadow:0 8px 28px rgba(16,24,40,.055);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.ctf-locations .ctf-loc-service:after{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--ctf-red),#ff5b68,var(--ctf-red));opacity:0;transition:opacity .25s;
}
.ctf-locations .ctf-loc-service-icon{
  display:grid;place-items:center;width:58px;height:58px;margin-bottom:20px;color:var(--ctf-red);
  background:var(--ctf-red-soft);border:1px solid #ffd7dc;border-radius:18px;
}
.ctf-locations .ctf-loc-service-icon .ctf-loc-icon{width:28px;height:28px}
.ctf-locations .ctf-loc-service h3{margin:0 0 16px!important;font-size:22px!important;line-height:1.15!important;letter-spacing:-.03em!important;font-weight:800!important;color:var(--ctf-ink)!important}
.ctf-locations .ctf-loc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.ctf-locations .ctf-loc-chips li{
  margin:0;padding:8px 14px;font-size:13px;font-weight:850;color:var(--ctf-red-dark);background:var(--ctf-red-soft);border:1px solid #ffd7dc;border-radius:999px;
}

/* CLOSING BAND */
.ctf-locations .ctf-loc-cta{
  display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:54px;padding:40px 44px;color:#fff;
  border-radius:28px;box-shadow:0 24px 60px rgba(16,24,40,.16);
  background:
    radial-gradient(circle at 90% 20%,rgba(225,29,46,.34),transparent 38%),
    linear-gradient(135deg,#080c12 0%,#131a26 60%,#0c1119 100%);
}
.ctf-locations .ctf-loc-cta h2{margin:0!important;padding:0!important;color:#fff!important;font-size:clamp(24px,2.8vw,34px)!important;line-height:1.1!important;letter-spacing:-.04em!important;font-weight:850!important}
.ctf-locations .ctf-loc-cta .ctf-loc-actions{margin-top:0;flex:none}

/* Hover lift only where a real pointer exists */
@media(hover:hover){
  .ctf-locations .ctf-loc-card:hover,.ctf-locations .ctf-loc-service:hover{transform:translateY(-7px);border-color:#d9dde5;box-shadow:0 24px 55px rgba(16,24,40,.12)}
  .ctf-locations .ctf-loc-card:hover .ctf-loc-card-go{transform:translateX(4px)}
  .ctf-locations .ctf-loc-service:hover:after{opacity:1}
}

/* TABLET */
@media(max-width:1000px){
  .ctf-locations .ctf-loc-services{grid-template-columns:1fr}
  .ctf-locations .ctf-loc-cta{flex-direction:column;align-items:flex-start}
}

/* MOBILE */
@media(max-width:680px){
  .ctf-locations{margin:16px auto;padding:0 10px}
  .ctf-locations .ctf-loc-hero{min-height:360px;padding:34px 22px;border-radius:24px}
  .ctf-locations .ctf-loc-lead,.ctf-locations .ctf-loc-lead p{font-size:15px;line-height:1.6}
  .ctf-locations .ctf-loc-actions{flex-direction:column;align-items:stretch}
  .ctf-locations .ctf-loc-btn{width:100%;min-height:54px}
  .ctf-locations .ctf-loc-grid{grid-template-columns:1fr;gap:14px}
  .ctf-locations .ctf-loc-card{border-radius:24px}
  .ctf-locations .ctf-loc-card-media{min-height:180px}
  .ctf-locations .ctf-loc-card-body{padding:18px 20px}
  .ctf-locations .ctf-loc-card-text strong{font-size:24px}
  .ctf-locations .ctf-loc-info{grid-template-columns:1fr;gap:10px}
  .ctf-locations .ctf-loc-section{margin-top:36px}
  .ctf-locations .ctf-loc-services{gap:14px}
  .ctf-locations .ctf-loc-service{padding:22px;border-radius:22px}
  .ctf-locations .ctf-loc-cta{margin-top:36px;padding:28px 22px;border-radius:24px;gap:20px}
  .ctf-locations .ctf-loc-cta .ctf-loc-actions{width:100%}
}

/* v1.0.4 editable device and carrier listings */
.ctf-loc-service p{margin:10px 0 0;line-height:1.65;color:inherit;overflow-wrap:anywhere}
.ctf-loc-service p strong{font-weight:700}
.ctf-loc-carriers{margin-top:36px}
.ctf-loc-carriers .ctf-loc-section-head p{margin-top:8px;opacity:.8}

/* Device cards: brand "cloud" pills + parts chips */
.ctf-locations .ctf-loc-device{display:flex;flex-direction:column;background:linear-gradient(180deg,#fff 0%,#fff 62%,#fff8f9 100%)}
.ctf-locations .ctf-loc-device h3{margin-bottom:18px!important}
.ctf-locations .ctf-loc-label{margin:0 0 10px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.14em;text-transform:uppercase;color:var(--ctf-muted)!important}
.ctf-locations .ctf-loc-device .ctf-loc-brands{margin-bottom:22px;gap:10px}
.ctf-locations .ctf-loc-device .ctf-loc-brands li{
  padding:9px 18px;font-size:14px;font-weight:850;color:#fff;background:linear-gradient(135deg,var(--ctf-red),#f23b4c);
  border:0;border-radius:999px;box-shadow:0 6px 14px rgba(225,29,46,.22);
}
.ctf-locations .ctf-loc-device .ctf-loc-parts{gap:8px}
.ctf-locations .ctf-loc-device .ctf-loc-parts li{
  padding:6px 13px;font-size:12.5px;font-weight:700;color:var(--ctf-text);background:#f4f5f7;border:1px solid var(--ctf-line);border-radius:999px;
}
.ctf-locations .ctf-loc-device:hover .ctf-loc-parts li{background:#fff;border-color:#ffd7dc}
