/* ===== Innis Electric Inc — Design Tokens ===== */
:root {
  --navy: #0c1c30;
  --navy-deep: #071322;
  --navy-mid: #142c48;
  --steel: #aebbca;
  --steel-light: #e7ecf2;
  --red: #e5231c;
  --red-dark: #b91912;
  --off-white: #f5f7f9;
  --charcoal: #1c232d;
  --gray-text: #4c5867;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5,
.font-head {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

a {
  text-decoration: none;
}

section {
  scroll-margin-top: 76px;
}

.section-pad {
  padding: 6rem 0;
}

.eyebrow {
  font-family: var(--font-head);
  color: var(--red);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lede {
  color: var(--gray-text);
  max-width: 640px;
}

.divider-accent {
  width: 64px;
  height: 4px;
  background: var(--red);
  border: none;
  margin: 1.1rem 0 1.6rem;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--navy-deep);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-transform: uppercase;
}

.navbar-brand img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.navbar-nav .nav-link {
  color: var(--steel-light) !important;
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.15s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--red) !important;
}

.nav-phone {
  color: #fff !important;
  font-family: var(--font-head);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-phone i {
  color: var(--red);
}

.btn-estimate {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-estimate:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 25% / cover no-repeat;
  padding-top: 76px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(7,19,34,0.45) 0%, rgba(7,19,34,0.10) 100%),
    linear-gradient(to bottom, rgba(7,19,34,0.55) 0%, rgba(7,19,34,0.25) 45%, rgba(7,19,34,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(780px, calc(100% - 2rem));
  box-sizing: border-box;
  padding: 2.75rem 2.25rem;
  margin: 0 auto;
  background: rgba(7,19,34,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-eyebrow {
  color: #ff5951;
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0.75rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: var(--steel-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-btns {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  font-size: 0.95rem;
}

.btn-hero-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-hero-outline {
  background: rgba(255,255,255,0.06);
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  font-size: 0.95rem;
}

.btn-hero-outline:hover {
  background: #fff;
  color: var(--navy);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0.85;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== About / Trust ===== */
.about-section {
  background: #fff;
}

.about-copy p {
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.stat-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  color: #fff;
}

.stat-card i {
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 0.6rem;
  display: block;
}

.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
}

.stat-card .stat-label {
  color: var(--steel);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* ===== Services ===== */
.services-section {
  background: var(--off-white);
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.6rem;
  height: 100%;
  border: 1px solid #e6e9ed;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(12,28,48,0.12);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-icon i {
  color: var(--red);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--gray-text);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== Gallery ===== */
.gallery-section {
  background: var(--navy-deep);
}

.gallery-section .section-heading,
.gallery-section .eyebrow-alt {
  color: #fff;
}

.gallery-section .section-lede {
  color: var(--steel);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 1rem 0.7rem;
  background: linear-gradient(to top, rgba(7,19,34,0.92), rgba(7,19,34,0));
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== Reviews ===== */
.reviews-section {
  background: #fff;
}

.review-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  border-left: 3px solid var(--red);
}

.review-card i.bi-chat-quote-fill {
  color: var(--red);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  display: block;
}

.review-card p {
  color: var(--charcoal);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.review-name {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== Careers ===== */
.careers-section {
  background: var(--navy);
  color: #fff;
}

.careers-section .section-heading {
  color: #fff;
}

.careers-section .section-lede {
  color: var(--steel);
}

.role-card {
  background: var(--navy-mid);
  border-radius: 8px;
  padding: 1.8rem;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.08);
}

.role-card i {
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  display: block;
}

.role-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.role-card p {
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.trait-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trait-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: var(--steel-light);
  font-size: 0.95rem;
}

.trait-list i {
  color: var(--red);
  margin-top: 0.15rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.offer-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.1rem;
  text-align: center;
}

.offer-card i {
  color: var(--red);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

.offer-card span {
  font-size: 0.85rem;
  color: var(--steel-light);
  line-height: 1.4;
  display: block;
}

.btn-apply {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-size: 0.95rem;
  display: inline-block;
}

.btn-apply:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--off-white);
}

.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e6e9ed;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
}

.contact-card i {
  color: var(--red);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-card h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 700;
}

.contact-card p, .contact-card a {
  color: var(--gray-text);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.contact-card a {
  color: var(--navy);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--red);
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e9ed;
  height: 100%;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: var(--steel);
  padding: 3.5rem 0 1.5rem;
}

.footer-logo-chip {
  background: var(--steel-light);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.footer-logo-chip img {
  height: 34px;
  width: auto;
  display: block;
}

.site-footer h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: var(--steel);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  margin-right: 0.6rem;
  font-size: 1.05rem;
  transition: background 0.15s ease;
}

.footer-social a:hover {
  background: var(--red);
}

.footer-divider {
  border-color: rgba(255,255,255,0.12);
  margin: 2.25rem 0 1.5rem;
}

.powered-by {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.9rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--steel-light);
  font-size: 0.88rem;
}

.powered-by a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid var(--red);
}

.powered-by a:hover {
  color: var(--red);
}

.copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: var(--navy-deep);
    margin-top: 0.75rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
  }
  .nav-phone {
    margin: 0.5rem 0;
    display: inline-block;
  }
  .btn-estimate {
    display: inline-block;
    margin-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4rem 0;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    padding: 2rem 1.4rem;
  }
  .hero-title {
    font-size: clamp(1.65rem, 7.2vw, 2.4rem);
  }
}

@media (max-width: 575.98px) {
  .stat-grid, .offer-grid {
    grid-template-columns: 1fr;
  }
}
