*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --ice: #eef4fa;
  --ice-muted: #d8e6f2;
  --accent-blue: #5a9fd4;
  --text-on-panel: #1a4a7a;
  --text-on-dark: #e8f2fb;
  --page-pad: clamp(1rem, 4vw, 2rem);
  --content-max: 900px;
  --font-sans: "Montserrat", Arial, Helvetica, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 18px;
}

@media (min-width: 768px) {
  html {
    font-size: 19px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 20px;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-on-dark);
  line-height: 1.45;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: #081525;
  background-image:
    linear-gradient(155deg, transparent 40%, rgba(46, 117, 182, 0.22) 40%, rgba(46, 117, 182, 0.22) 56%, transparent 56%),
    linear-gradient(215deg, transparent 26%, rgba(31, 78, 121, 0.28) 26%, rgba(31, 78, 121, 0.28) 46%, transparent 46%),
    linear-gradient(88deg, rgba(5, 14, 28, 0.98) 0%, rgba(14, 42, 74, 0.94) 42%, rgba(8, 22, 42, 0.98) 100%);
  background-attachment: fixed;
}

.serif {
  font-family: var(--font-serif);
}

.page {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--page-pad) var(--page-pad) clamp(2rem, 5vw, 3rem);
}

/* Hero – business card header */

.hero {
  text-align: center;
  margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
}

.hero-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  min-height: clamp(7rem, 22vw, 9.5rem);
  padding-top: 0.25rem;
}

.hero-side {
  color: var(--accent-blue);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.3;
  text-align: center;
  margin: 0;
  max-width: 13rem;
  transform-origin: center center;
}

.hero-side-left {
  transform: rotate(-14deg);
}

.hero-side-right {
  transform: rotate(14deg);
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.logo {
  width: clamp(100px, 20vw, 124px);
  height: clamp(100px, 20vw, 124px);
  border-radius: 50%;
  background: linear-gradient(145deg, #3a8fd4 0%, #2568a8 100%);
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 24px rgba(90, 159, 212, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 5.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  position: relative;
  flex-shrink: 0;
}

.logo-degree {
  position: absolute;
  top: 17%;
  right: 15%;
  font-size: 0.38em;
  font-weight: 700;
  line-height: 1;
}

.hero-eyebrow {
  margin: 0 0 0.35rem;
  font-size: clamp(0.78rem, 1.8vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
  text-shadow:
    0 0 10px rgba(120, 185, 245, 0.65),
    0 0 22px rgba(70, 140, 210, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.tagline-secondary {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--accent-blue);
}

/* Content panels – biz card phone-block style */

.panel {
  background: var(--ice);
  color: var(--text-on-panel);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.services-section {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.services-box {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.25rem), 0 100%);
}

.panel-header {
  background: rgba(26, 74, 122, 0.12);
  color: var(--text-on-panel);
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-bottom: 2px solid rgba(26, 74, 122, 0.2);
}

.panel-header--inline {
  background: transparent;
  border-bottom: none;
  margin: 0 0 1rem;
  padding: 0;
}

.panel-body {
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
}

.services-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.services-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.45;
}

.services-list li {
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}

.services-list li::marker {
  color: #2e75b6;
}

.standalone-heading {
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin: 0 0 0.25rem;
}

.services-bottom {
  border-top: 1px solid rgba(26, 74, 122, 0.22);
  margin-top: 1rem;
  padding-top: 0.85rem;
}

.services-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

/* Maintenance */

.maintenance-section {
  margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
}

.maintenance-box {
  padding: clamp(1.1rem, 3.5vw, 1.5rem) clamp(1rem, 3.5vw, 1.75rem);
  clip-path: polygon(0 1.25rem, 100% 0, 100% 100%, 0 100%);
}

.maintenance-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.45;
}

.maintenance-list li {
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

.maintenance-list li::marker {
  color: #2e75b6;
}

/* Contact – original simple style on dark background */

.contact-section {
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-tagline {
  color: var(--accent-blue);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  margin: 0 0 0.75rem;
  padding: 0 0.25rem;
}

.contact-phone {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  text-shadow: 0 0 14px rgba(120, 185, 245, 0.4);
}

.contact-phone a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 0.15rem 0.25rem;
}

.contact-phone a:hover {
  color: var(--accent-blue);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin: 0;
  padding: 0 0.25rem;
  line-height: 1.5;
  color: rgba(232, 242, 251, 0.9);
}

.contact-details a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.contact-sep {
  opacity: 0.7;
}

/* Responsive */

@media (min-width: 540px) {
  .services-bottom-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }
}

@media (min-width: 640px) {
  .services-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

@media (min-width: 768px) {
  .hero-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem 1.25rem;
    min-height: 7.5rem;
    padding-top: 0.5rem;
  }

  .hero-side {
    max-width: 15rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  }

  .hero-side-left {
    justify-self: end;
    text-align: right;
    transform: rotate(-15deg);
    margin-right: -0.25rem;
  }

  .hero-side-right {
    justify-self: start;
    text-align: left;
    transform: rotate(15deg);
    margin-left: -0.25rem;
  }

  .logo-wrap {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 767px) {
  .hero-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem 0.5rem;
    align-items: end;
    min-height: auto;
    padding-bottom: 0.25rem;
  }

  .hero-top .logo-wrap {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-top .hero-side-left {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    text-align: right;
    max-width: 11rem;
    transform: rotate(-14deg);
  }

  .hero-top .hero-side-right {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    text-align: left;
    max-width: 11rem;
    transform: rotate(14deg);
  }
}

@media (max-width: 359px) {
  .contact-sep {
    display: none;
  }

  .contact-details {
    flex-direction: column;
    gap: 0.25rem;
  }
}
