:root {
  --dark: #0b1f4d;
  --dark-soft: #163a7a;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --light-gray: #dce3ef;
  --text-gray: #5f6875;
  --accent: #c62828;
  --accent-dark: #961b1b;
  --max-width: 1200px; 
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

button {
  font: inherit;
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--light-gray);
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation a {
  color: #353535;
  font-size: 0.95rem;
  font-weight: 600;
}

.navigation a:hover {
  color: var(--accent);
}

.header-call-button {
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 700;
}

.header-call-button:hover {
  background: var(--accent);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-size: 1.7rem;
  cursor: pointer;
}

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
background:
    linear-gradient(
        90deg,
        rgba(16, 16, 16, 0.75) 0%,
        rgba(16, 16, 16, 0.55) 50%,
        rgba(16, 16, 16, 0.20) 100%
    ),
    url("website images/am1.png") center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  padding: 100px 0;
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -4px;
  margin-bottom: 28px;
}

.hero h1 span {
  display: block;
  color: var(--white);
}

.hero-description {
  max-width: 650px;
  color: #dedede;
  font-size: 1.12rem;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  font-weight: 800;
}

.primary-button {
  background: var(--accent);
  color: var(--white);
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.secondary-button:hover {
  background: var(--white);
  color: var(--dark);
}

.hero-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 38px;
}

.hero-phone span {
  color: #c8c8c8;
  font-size: 0.9rem;
}

.hero-phone a {
  font-size: 1.35rem;
  font-weight: 800;
}

.trust-section {
   background: var(--dark);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  padding: 30px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.9rem;
}

.section {
  padding: 105px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 85px;
  align-items: start;
}

.two-column h2,
.section-heading h2,
.contact-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -2px;
}

.two-column p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-weight: 800;
}

.text-link:hover {
  transform: translateX(4px);
}

.services-section {
  background: var(--off-white);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading > p:last-child {
  color: var(--text-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 275px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--light-gray);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-number {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-gray);
}

/* PROJECT CAROUSEL */
.projects-section {
  background: var(--white);
}

.project-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: clamp(430px, 62vw, 680px);
  overflow: hidden;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.42) 34%,
    rgba(0, 0, 0, 0.05) 68%,
    transparent 100%
  );
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 6vw, 72px);
  bottom: clamp(28px, 6vw, 65px);
  z-index: 2;
  max-width: 760px;
  color: var(--white);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.carousel-caption h3 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.carousel-caption p {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
}

.carousel-button:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.carousel-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.carousel-button-prev {
  left: 18px;
}

.carousel-button-next {
  right: 18px;
}

.carousel-dots {
  min-height: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
}

.carousel-dot.active {
  width: 42px;
  border-radius: 999px;
  background: var(--accent);
}

.carousel-dot:hover {
  background: var(--accent-dark);
}

/* QUOTE FORM */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 800px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote-form label {
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  font-size: 1rem;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(193, 18, 31, 0.35);
  border-color: var(--accent);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form button {
  width: fit-content;
  cursor: pointer;
}

.contact-section {
  padding: 95px 0;
  background: var(--dark);
  color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.light-label {
   color: var(--accent);
}

.contact-section h2 {
  margin-bottom: 20px;
}

.contact-section p {
  max-width: 650px;
  color: #c9c9c9;
}

.contact-card {
  padding: 35px;
  background: var(--dark-soft);
  border: 1px solid #3f3f3f;
}

.contact-card span {
  display: block;
  color: #bcbcbc;
  margin-bottom: 6px;
}

.contact-phone {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-button {
  width: 100%;
}

.site-footer {
  padding: 26px 0;
  background: #0f0f0f;
  color: #a9a9a9;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.site-footer a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .header-call-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    width: 100%;
    padding: 14px 0;
  }

  .hero {
    min-height: 610px;
  }

  .hero h1 {
    letter-spacing: -2.5px;
  }

  .two-column,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 75px 0;
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 3.1rem;
    letter-spacing: -2px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .services-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    height: 500px;
  }

  .carousel-button {
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
  }

  .carousel-button-prev {
    left: 10px;
  }

  .carousel-button-next {
    right: 10px;
  }

  .carousel-caption {
    left: 22px;
    right: 22px;
    bottom: 26px;
  }

  .quote-form button {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
  }
}