* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0f172a;
  --card: #1e293b;
  --card-dark: #111827;
  --text: #f1f5f9;
  --muted: #cbd5e1;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --border: #334155;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.38);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #172554 0%, var(--bg) 42%, #020617 100%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

.container,
.services,
.bottomPage,
.newBottom,
#footerContent {
  width: min(1200px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.mainHeader {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

#logo img {
  width: 112px;
  max-width: 100%;
  display: block;
}

#logo h3 {
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

#topPage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.heroImage,
.heroImage img {
  width: 100%;
  height: 100%;
}

.heroImage {
  position: absolute;
  inset: 0;
}

.heroImage img {
  display: block;
  object-fit: cover;
  filter: blur(4px) brightness(0.55);
  transform: scale(1.02);
}

#topPage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.28));
  z-index: 1;
}

.heroText {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  padding: 4rem;
}

.heroText h1 {
  color: var(--accent);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.heroText p {
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.services {
  padding: 4rem 0 2rem;
}

.logoGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.logoGrid figure {
  background: rgba(30, 41, 59, 0.96);
  padding: 1.75rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
  text-align: center;
  min-height: 100%;
}

.logoGrid figure:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.45);
}

.logoGrid img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.logoGrid h2 {
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--accent);
}

.logoGrid p {
  font-size: 1.05rem;
  color: var(--muted);
}

.bottomPage {
  padding: 2rem 0;
}

#infoGrid {
  background: rgba(30, 41, 59, 0.96);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  box-shadow: var(--shadow);
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

#infoGrid h1 {
  grid-column: 1 / -1;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.25rem;
}

#infoGrid dl {
  color: var(--muted);
}

#infoGrid dt {
  font-weight: 700;
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--text);
}

#infoGrid dt:first-child {
  margin-top: 0;
}

#infoGrid dd {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

#infoGrid img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.newBottom {
  background: rgba(30, 41, 59, 0.96);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

#left,
#right {
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

#left {
  background: linear-gradient(145deg, var(--card), var(--card-dark));
  padding: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  align-items: center;
}

.chooseCard {
  text-align: left;
}

.chooseCard h2 {
  color: var(--accent);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.chooseCard p {
  color: var(--muted);
  font-size: 1.12rem;
  margin-bottom: 1rem;
}

.chooseCard p:last-child {
  margin-bottom: 0;
}

#right {
  background: var(--card-dark);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.contactSection h2 {
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-size: 2rem;
  text-align: center;
}

.contactForm {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contactSection label {
  text-align: left;
  color: var(--text);
  font-weight: 700;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 1rem;
  color: #0f172a;
  background: #f8fafc;
}

.contactForm input:focus,
.contactForm textarea:focus {
  outline: 3px solid rgba(56, 189, 248, 0.35);
  border-color: var(--accent);
}

.contactForm button {
  margin-top: 0.5rem;
  padding: 0.95rem;
  background: var(--accent);
  color: #0f172a;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
}

.contactForm button:hover {
  background: var(--accent-dark);
}

#footerContent {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  color: var(--muted);
}

#footerContent img {
  width: 96px;
  display: block;
  margin: 0 auto 0.75rem;
}

.hiddenField {
  display: none;
}

.thankYouPage {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.thankYouCard {
  width: 100%;
  max-width: 700px;
  background: var(--card);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.thankYouCard h1 {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thankYouCard p {
  color: var(--muted);
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.thankYouCard a {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  background: var(--accent);
  color: #0f172a;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.thankYouCard a:hover {
  background: var(--accent-dark);
}

@media screen and (max-width: 1200px) {
  .logoGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1050px) {
  .logoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #infoGrid,
  .newBottom {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 700px) {
  .container,
  .services,
  .bottomPage,
  .newBottom,
  #footerContent,
  .mainHeader {
    width: min(100% - 1rem, 1200px);
  }

  #logo img {
    width: 96px;
  }

  #topPage,
  .heroText {
    min-height: 440px;
  }

  .heroText {
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem;
  }

  #topPage::before {
    background: rgba(2, 6, 23, 0.72);
  }

  .logoGrid {
    grid-template-columns: 1fr;
  }

  .logoGrid figure {
    padding: 1.5rem;
  }

  #infoGrid,
  .newBottom {
    padding: 1.25rem;
  }

  #left,
  #right {
    padding: 1.35rem;
  }
}


/* Site navigation and extra pages */
.mainHeader {
  flex-direction: column;
  gap: 1rem;
}

#logo {
  color: inherit;
  text-decoration: none;
}

.siteNav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.siteNav a,
.quickLinks a,
.ctaPanel a,
.estimatePanel a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.siteNav a {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.siteNav a:hover {
  color: var(--text);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-1px);
}

.siteNav .navButton,
.quickLinks a,
.ctaPanel a,
.estimatePanel a {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.22);
}

.siteNav .navButton:hover,
.quickLinks a:hover,
.ctaPanel a:hover,
.estimatePanel a:hover {
  background: var(--accent-dark);
  color: #0f172a;
}

.quickLinks {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.quickLinks a,
.ctaPanel a,
.estimatePanel a {
  display: inline-block;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
}

.pageHero,
.detailGrid,
.ctaPanel,
.storyGrid,
.valueStrip,
.pricingLayout,
.estimatePanel {
  width: min(1200px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.pageHero {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(17, 24, 39, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pageHero h1 {
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.pageHero p {
  color: var(--muted);
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.eyebrow {
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.85rem !important;
  margin-bottom: 0.75rem !important;
}

.detailGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 3rem 0 1.5rem;
}

.detailCard,
.storyCard,
.pricingCard,
.ctaPanel,
.estimatePanel,
.valueStrip {
  background: rgba(30, 41, 59, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.24);
}

.detailCard,
.storyCard,
.pricingCard {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.detailCard img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.detailCard h2,
.storyCard h2,
.pricingCard h2,
.ctaPanel h2,
.estimatePanel h2 {
  color: var(--accent);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.detailCard p,
.storyCard p,
.pricingCard p,
.ctaPanel p,
.estimatePanel p,
.detailCard li,
.pricingCard li {
  color: var(--muted);
  font-size: 1.08rem;
}

.detailCard ul,
.pricingCard ul {
  margin: 1rem 0 0 1.25rem;
}

.detailCard li,
.pricingCard li {
  margin-bottom: 0.45rem;
}

.ctaPanel,
.estimatePanel {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-top: 1rem;
}

.ctaPanel p,
.estimatePanel p {
  max-width: 760px;
  margin: 0 auto 1.35rem;
}

.aboutHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.aboutHero p {
  margin-left: 0;
}

.aboutHero img {
  width: 180px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.storyGrid,
.pricingLayout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 3rem 0 1.5rem;
}

.largeStory,
.featuredPricing {
  grid-column: 1 / -1;
}

.storyCard p + p,
.pricingCard p + p {
  margin-top: 1rem;
}

.valueStrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1rem;
}

.valueStrip div {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.62);
}

.valueStrip strong {
  display: block;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.valueStrip span,
.noteBox {
  color: var(--muted);
}

.noteBox {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.18);
}


.serviceAreaCard {
  overflow: hidden;
}

.serviceAreaContent {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 1.5rem;
  align-items: stretch;
}

.mapEmbed {
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  background: rgba(15, 23, 42, 0.72);
}

.mapEmbed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

@media screen and (max-width: 850px) {
  .detailGrid,
  .storyGrid,
  .pricingLayout,
  .valueStrip,
  .aboutHero,
  .serviceAreaContent {
    grid-template-columns: 1fr;
  }

  .aboutHero {
    text-align: center;
  }

  .aboutHero p {
    margin-left: auto;
  }

  .siteNav {
    gap: 0.45rem;
  }

  .siteNav a {
    font-size: 0.95rem;
    padding: 0.55rem 0.7rem;
  }
}

@media screen and (max-width: 520px) {
  .quickLinks a,
  .siteNav a {
    width: 100%;
    text-align: center;
  }

  .detailCard img {
    margin-left: auto;
    margin-right: auto;
  }

  .detailCard {
    text-align: center;
  }

  .detailCard ul,
  .pricingCard ul {
    text-align: left;
  }
}
