:root {
  --bg: #d2d2d2;
  --surface: #eeeeee;
  --surface-2: #f7f7f7;
  --ink: #0a0a0a;
  --muted: #4a4a4a;
  --red: #f00000;
  --line: rgba(255, 255, 255, 0.92);
  --container: 1160px;
  --display: "Rajdhani", "Arial Narrow", Arial, sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  padding-top: 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-main {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding-block: 18px;
}

.brand {
  min-width: 0;
}

.brand img {
  width: 100%;
  max-width: 380px;
}

.header-details {
  min-width: 0;
  display: grid;
  gap: 5px;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-label {
  font-weight: 700;
}

.header-details > div,
.header-links {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.header-links a {
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
}

.main-nav a {
  min-width: 150px;
  padding: 14px 24px;
  border-right: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:first-child {
  border-left: 1px solid var(--line);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
  background: rgba(255, 255, 255, 0.28);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(240, 0, 0, 0.055) 72%),
    var(--bg);
}

.hero-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 64px;
  align-items: center;
  padding-block: 84px;
}

.hero-copy,
.hero-panel,
.section-heading,
.section-text,
.service-card,
.contact-item {
  min-width: 0;
}

.eyebrow,
.contact-label {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.84;
  letter-spacing: 0.055em;
}

.hero-lead {
  max-width: 690px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 2px solid var(--red);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: white;
  background: var(--red);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.3);
}

.hero-panel {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.hero-panel span,
.hero-panel strong {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}

.hero-panel span:nth-last-child(-n + 2),
.hero-panel strong:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-panel span {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
}

.hero-panel strong {
  border-left: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-block: 94px;
  border-bottom: 1px solid var(--line);
}

.section-light {
  background: var(--surface);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.split-section .section-heading {
  max-width: 760px;
}

.split-section .section-text {
  max-width: 820px;
}

.contact-layout {
  display: block;
}

.contact-layout .section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.65rem, 4.2vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: 0.035em;
  overflow-wrap: normal;
}

.section-text {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-text p {
  margin-top: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading-row > p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 350px;
  padding: 38px 32px;
  border-right: 1px solid white;
  background: rgba(255, 255, 255, 0.28);
}

.service-card:last-child {
  border-right: 0;
}

.service-number {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 34px 0 18px;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0.045em;
}

.service-card p,
.service-card li {
  color: var(--muted);
}

.service-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.service-card li + li {
  margin-top: 7px;
}

.contact-section {
  background:
    linear-gradient(90deg, transparent 0 76%, rgba(240, 0, 0, 0.05) 76%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.contact-item {
  min-height: 135px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-item:nth-child(2n) {
  border-right: 0;
}

.contact-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.contact-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-item a,
.contact-item address,
.contact-item > span:last-child {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-style: normal;
  text-decoration: none;
}

.contact-phone a {
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-footer {
  border-bottom: 9px solid var(--red);
  background: var(--bg);
}

.footer-grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .header-main {
    grid-template-columns: 1fr;
  }

  .brand img {
    max-width: 330px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 48px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .split-section,
  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-item {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .contact-item:nth-child(2n) {
    border-right: 0;
  }

  .contact-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .service-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid white;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 22px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    padding-top: 10px;
  }

  .header-main {
    gap: 20px;
    padding-block: 12px;
  }

  .brand img {
    max-width: 280px;
  }

  .header-details {
    font-family: var(--body);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .main-nav a {
    min-width: 0;
    padding: 12px 6px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .hero-grid {
    padding-block: 62px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12.8vw, 3.8rem);
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2 {
    font-size: clamp(2.15rem, 10.3vw, 3.25rem);
    letter-spacing: 0.015em;
    overflow-wrap: anywhere;
  }

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

  .contact-item,
  .contact-item:nth-child(2n),
  .contact-item:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-item:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
