/* ===== Location Page Styles ===== */

/* --- Hero --- */
.loc-hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30,115,190,.18), transparent 60%),
    linear-gradient(180deg, #0a1f38 0%, #0f2a4a 60%, #123359 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.loc-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9c66, #d71d24);
}
.loc-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
}
.loc-hero .loc-crumb {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}
.loc-hero .loc-crumb a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.loc-hero .loc-crumb a:hover { color: #fff; }
.loc-hero .loc-crumb .sep {
  margin: 0 8px;
  opacity: .5;
}
.loc-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
}
.loc-hero h1 em {
  font-style: normal;
  color: #a8d8ff;
}
.loc-hero .loc-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.loc-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.loc-btn:hover { transform: translateY(-1px); }
.loc-btn-primary {
  background: #D71D24;
  color: #fff;
}
.loc-btn-primary:hover { background: #C51B21; color: #fff; }
.loc-btn-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.loc-btn-secondary:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* --- Stats Row --- */
.loc-stats {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.loc-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.loc-stat + .loc-stat::before {
  content: "\00b7";
  margin-right: 6px;
  color: rgba(255,255,255,.4);
  font-size: 18px;
  line-height: 1;
}
.loc-stat-num {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.loc-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* --- Section defaults --- */
.loc-section {
  padding: 64px 0;
}
.loc-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
}
.loc-section-inner.loc-wide {
  max-width: 1200px;
}
.loc-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #222;
}
/* Split header: h2 left + intro right */
.loc-split-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.loc-split-header::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: #D71D24;
  border-radius: 2px;
  grid-column: 1;
  margin-bottom: -8px;
}
.loc-split-header h2 {
  grid-column: 1;
  margin: 0;
  font-size: 36px;
}
.loc-split-header p {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  align-self: center;
}
@media (max-width: 768px) {
  .loc-split-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .loc-split-header p {
    grid-column: 1;
    grid-row: auto;
  }
  .loc-split-header h2 { font-size: 28px; }
}
.loc-section h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #222;
}
.loc-section p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 16px;
}
.loc-section ul {
  padding-left: 22px;
  margin: 0 0 20px;
}
.loc-section li {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}
.loc-section a {
  color: var(--accent);
  text-decoration: underline;
}
.loc-section a:hover { color: var(--contrast); }

.loc-bg-white { background: #fff; }
.loc-bg-light { background: var(--base-2); }
.loc-bg-gray  { background: var(--base); }

/* --- Intro 2-Column --- */
.loc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.loc-intro-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}
.loc-intro-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 16px;
}
.loc-intro-text p:last-child {
  margin-bottom: 0;
}

.loc-grid-40-60 {
  grid-template-columns: 1fr 1fr;
}
.loc-grid-40-60 .loc-intro-img {
  height: 100%;
}
.loc-grid-40-60 .loc-intro-img img {
  height: 100%;
  object-fit: cover;
}

/* --- Service Highlights Grid --- */
.loc-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* --- Neighborhoods / Areas --- */
.loc-areas-list {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  padding: 0;
}
.loc-areas-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  break-inside: avoid;
}
.loc-areas-list li i {
  color: var(--accent);
  margin-right: 8px;
  width: 16px;
}

/* --- IT Problems (icon + text blocks) --- */
.loc-problems {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.loc-problem {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.loc-problem-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.loc-problem h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.loc-problem p {
  margin: 0;
}

/* --- Industries Grid --- */
.loc-industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.loc-ind-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px 20px 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.loc-ind-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff9c66, #d71d24);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.loc-ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.6);
}
.loc-ind-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}
.loc-ind-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #DDEEFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #194461;
  margin-bottom: 4px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.loc-ind-card:hover .loc-ind-icon {
  background: #d71d24;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(215, 29, 36, 0.5);
}
.loc-ind-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.loc-ind-card p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.65;
}

/* --- FAQ Accordion --- */
.loc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.loc-faq-item {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.loc-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #222;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 12px;
  font-family: inherit;
}
.loc-faq-q:hover { background: var(--accent); color: #fff; }
.loc-faq-q:hover .faq-icon { color: #fff; }
.loc-faq-q .faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--accent);
  transition: transform .25s;
}
.loc-faq-item.open .loc-faq-q .faq-icon {
  transform: rotate(45deg);
}
.loc-faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
.loc-faq-item.open .loc-faq-a {
  display: block;
}

/* --- Reviews section on location page --- */
.loc-reviews-section {
  text-align: center;
}
.loc-reviews-section h2 {
  text-align: center;
}
.loc-reviews-section .loc-reviews-sub {
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

/* --- Contact Section (unscoped homepage Elementor overrides for location page) --- */

/* Eliminate GeneratePress .site-main > * { margin-bottom:20px } gap */
.location-page .site-main > .elementor-section {
  margin-bottom: 0;
}

/* gray-fade header section */
.location-page .elementor-element-f7e5418:not(.elementor-motion-effects-element-type-background) {
  background-color: #FAFAFA;
}
.location-page .elementor-element-f7e5418 > .elementor-container {
  max-width: 1150px;
}
.location-page .elementor-element-f7e5418 {
  padding: 65px 0px 0px 0px;
  margin-bottom: 0;
}
.location-page .elementor-element-f7e5418 > .elementor-container > .elementor-column > .elementor-widget-wrap {
  align-content: center;
  align-items: center;
}
.location-page .elementor-element-d5b685d > .elementor-element-populated {
  padding: 20px;
}
.location-page .elementor-element-7472ee1 > .elementor-element-populated {
  padding: 20px;
}

/* gray-bubbles contact cards section */
.location-page .elementor-element-e6b26e7:not(.elementor-motion-effects-element-type-background) {
  background-color: #FAFAFA;
}
.location-page .elementor-element-e6b26e7 > .elementor-container {
  max-width: 1150px;
}
.location-page .elementor-element-e6b26e7 {
  padding: 0px 0px 90px 0px;
  margin-top: 0;
}
.location-page .elementor-element-e6b26e7 > .elementor-container > .elementor-column > .elementor-widget-wrap {
  align-content: center;
  align-items: center;
}

/* Card columns (#test) */
.location-page .elementor-element-9b90f56 > .elementor-element-populated,
.location-page .elementor-element-16729a7 > .elementor-element-populated {
  padding: 30px 20px;
}

/* Red divider (ffd8423) */
.location-page .elementor-element-ffd8423 {
  --divider-border-style: solid;
  --divider-color: #C51B21;
  --divider-border-width: 3.5px;
}
.location-page .elementor-element-ffd8423 .elementor-divider-separator {
  width: 40px;
  margin: 0;
}
.location-page .elementor-element-ffd8423 .elementor-divider {
  text-align: left;
  padding-block-start: 2px;
  padding-block-end: 2px;
}

/* Heading "Inquire About Our Services" (5a82985) */
.location-page .elementor-element-5a82985 > .elementor-widget-container {
  margin: -10px 0px 0px 0px;
}

/* Text "Prefer a real conversation..." (8009a56) */
.location-page .elementor-element-8009a56 > .elementor-widget-container {
  margin: -10px 0px 0px 0px;
}
.location-page .elementor-element-8009a56 {
  font-size: 16px;
}

/* Phone number link (dbdcb4f) */
.location-page .elementor-element-dbdcb4f > .elementor-widget-container {
  margin: -10px 0px 0px 0px;
}
.location-page .elementor-element-dbdcb4f {
  --e-icon-list-icon-size: 14px;
  --icon-vertical-offset: 0px;
}
.location-page .elementor-element-dbdcb4f .elementor-icon-list-item > .elementor-icon-list-text,
.location-page .elementor-element-dbdcb4f .elementor-icon-list-item > a {
  font-size: 19px;
  font-weight: 600;
}
.location-page .elementor-element-dbdcb4f .elementor-icon-list-text {
  color: var(--e-global-color-text);
  transition: color 0.3s;
}

/* "Working hours" label (a843a65) */
.location-page .elementor-element-a843a65 > .elementor-widget-container {
  margin: 10px 0px 0px 0px;
}
.location-page .elementor-element-a843a65 {
  font-size: 15px;
  text-transform: uppercase;
}

/* Inner section for hours (fa70832) */
.location-page .elementor-element-fa70832 {
  margin-top: -15px;
  margin-bottom: 30px;
}

/* Hours columns padding */
.location-page .elementor-element-4541d38 > .elementor-element-populated,
.location-page .elementor-element-ce3bec3 > .elementor-element-populated {
  padding: 0;
}

/* Mon-Fri (948450a) */
.location-page .elementor-element-948450a > .elementor-widget-container {
  margin: 0;
}
.location-page .elementor-element-948450a {
  font-size: 16px;
  font-weight: 700;
}

/* Emergency (3805f25) */
.location-page .elementor-element-3805f25 > .elementor-widget-container {
  margin: -15px 0px 0px 0px;
}
.location-page .elementor-element-3805f25 {
  font-size: 16px;
  font-weight: 700;
}

/* 8:00 AM - 5:00 PM (ef9736f) */
.location-page .elementor-element-ef9736f > .elementor-widget-container {
  margin: 0;
}
.location-page .elementor-element-ef9736f {
  font-size: 16px;
  font-weight: normal;
}

/* 24/7 on-call (40b5de3) */
.location-page .elementor-element-40b5de3 > .elementor-widget-container {
  margin: -15px 0px 0px 0px;
}
.location-page .elementor-element-40b5de3 {
  font-size: 16px;
  font-weight: normal;
}

/* Google Maps (65aa331) */
.location-page .elementor-element-65aa331 > .elementor-widget-container {
  border-radius: 15px;
  overflow: hidden;
}
.location-page .elementor-element-65aa331 iframe {
  width: 100%;
  height: 500px;
}
.location-page .elementor-custom-embed {
  width: 100%;
}

/* "Tell us what you're working on" (476942c) */
.location-page .elementor-element-476942c > .elementor-widget-container {
  margin: -10px 0px 0px 0px;
}
.location-page .elementor-element-476942c {
  font-weight: 700;
}

/* "Share a few details..." (87d621e) */
.location-page .elementor-element-87d621e > .elementor-widget-container {
  margin: -10px 0px 0px 0px;
}
.location-page .elementor-element-87d621e {
  font-size: 16px;
}

/* Description text in header (1d10010) */
.location-page .elementor-element-1d10010 {
  font-size: 16px;
}

/* #test card styling (from post-1195 custom CSS) */
.location-page #test {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  margin-left: 10px;
  margin-right: 10px;
}

/* Gravity Forms styling (from post-1195 custom CSS) */
.location-page #gform_wrapper_1 {
  max-width: 720px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.location-page #gform_wrapper_1 .gform_fields,
.location-page #gform_wrapper_1 .gfield,
.location-page #gform_wrapper_1 .ginput_container,
.location-page #gform_wrapper_1 .ginput_container_name {
  display: block;
  width: 100%;
}
.location-page #gform_wrapper_1 .gfield_label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
}
.location-page #gform_wrapper_1 .gfield_required {
  color: #D71D24;
}
.location-page #gform_wrapper_1 input[type="text"],
.location-page #gform_wrapper_1 input[type="email"],
.location-page #gform_wrapper_1 input[type="tel"],
.location-page #gform_wrapper_1 input[type="number"],
.location-page #gform_wrapper_1 input[type="url"],
.location-page #gform_wrapper_1 input[type="password"],
.location-page #gform_wrapper_1 textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: #111827;
  background-color: #f9fafb;
  box-shadow: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.location-page #gform_wrapper_1 .ginput_complex input[type="text"] {
  width: 100%;
}
.location-page #gform_wrapper_1 textarea {
  border-radius: 14px;
  min-height: 140px;
  resize: vertical;
}
.location-page #gform_wrapper_1 ::placeholder {
  color: #9ca3af;
}
.location-page #gform_wrapper_1 input[type="text"]:focus,
.location-page #gform_wrapper_1 input[type="email"]:focus,
.location-page #gform_wrapper_1 input[type="tel"]:focus,
.location-page #gform_wrapper_1 input[type="number"]:focus,
.location-page #gform_wrapper_1 input[type="url"]:focus,
.location-page #gform_wrapper_1 input[type="password"]:focus,
.location-page #gform_wrapper_1 textarea:focus {
  outline: none;
  border-color: #D71D24;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(215, 29, 36, 0.18);
}
.location-page #gform_wrapper_1 .gform_footer,
.location-page #gform_wrapper_1 .gform_page_footer {
  margin-top: 16px;
}
.location-page #gform_wrapper_1 .gform_button,
.location-page #gform_wrapper_1 .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  border: none;
  background-color: #D71D24;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: none;
  box-shadow: 0 12px 30px rgba(215, 29, 36, 0.35);
  transition: background-color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}
.location-page #gform_wrapper_1 .gform_button:hover,
.location-page #gform_wrapper_1 .button:hover {
  background-color: #b5161d;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(215, 29, 36, 0.45);
}
.location-page .gform_required_legend {
  display: none;
}
.location-page #input_1_1_6 {
  margin-left: -10px;
  margin-top: 10px !important;
}
@media (max-width: 767px) {
  .location-page #input_1_1_6 {
    margin-left: 0;
  }
}
@media (max-width: 1024px) {
  .location-page .elementor-element-f7e5418 {
    padding: 60px 0px 0px 0px;
  }
  .location-page .elementor-element-e6b26e7 {
    padding: 0px 10px 70px 10px;
  }
  .location-page .elementor-element-9b90f56,
  .location-page .elementor-element-16729a7 {
    width: 100% !important;
  }
  .location-page #test {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .location-page .elementor-element-e6b26e7 {
    padding: 5px 5px 70px 5px;
  }
}

/* --- Location Links Grid --- */
.loc-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.loc-city-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #e8e8e8;
  transition: border-color .2s, box-shadow .2s;
}
.loc-city-link:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(30,115,190,.12);
  color: var(--accent);
}
.loc-city-link i {
  color: var(--accent);
  font-size: 14px;
}

/* --- CTA Strip --- */
.loc-cta-strip {
  background: linear-gradient(135deg, #194461 0%, #1e73be 100%);
  color: #fff;
  text-align: center;
  padding: 56px 30px;
}
.loc-cta-strip h2 {
  color: #fff;
  font-size: 32px;
  margin: 0 0 12px;
}
.loc-cta-strip h2 em {
  font-style: normal;
  color: #a8d8ff;
}
.loc-cta-strip p {
  color: rgba(255,255,255,.88);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* --- .site-main margin fix --- */
.location-page .site-main {
  margin: 0 !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .loc-hero h1 { font-size: 36px; }
  .loc-highlights { grid-template-columns: repeat(3, 1fr); }
  .loc-cities-grid { grid-template-columns: repeat(3, 1fr); }
  .loc-intro-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .loc-hero { padding: 56px 0 44px; }
  .loc-hero h1 { font-size: 28px; }
  .loc-hero .loc-subtitle { font-size: 16px; }
  .loc-stats { gap: 16px; padding: 8px 20px; }
  .loc-stat-num { font-size: 14px; }
  .loc-section { padding: 44px 0; }
  .loc-section h2 { font-size: 26px; }
  .loc-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .loc-highlights { grid-template-columns: 1fr; }
  .loc-areas-list { columns: 1; }
  .loc-industries { grid-template-columns: 1fr; }
  .loc-contact-grid { grid-template-columns: 1fr; }
  .loc-contact-card { margin: 0; }
  .loc-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-form-row { grid-template-columns: 1fr; }
  .loc-problem { flex-direction: column; }
  .loc-cta-strip { padding: 40px 20px; }
  .loc-cta-strip h2 { font-size: 26px; }
}
@media (max-width: 480px) {
  .loc-stats { flex-direction: column; gap: 8px; }
  .loc-cities-grid { grid-template-columns: 1fr; }
  .loc-hero-btns { flex-direction: column; align-items: center; }
}

/* Cities we serve that do not have a dedicated page yet. Rendered as static
   chips rather than links so the service-area copy keeps its geo signal
   without shipping dead nav. Swap back to .loc-city-link anchors as each
   city page goes live. */
.loc-city-soon {
  cursor: default;
}

.loc-city-soon:hover {
  border-color: #e8e8e8;
  box-shadow: none;
  color: #222;
}
