:root {
  --black: #000000;
  --white: #ffffff;
  --red: #ed1c24;
  --gray-100: #f5f5f5;
  --gray-300: #d4d4d4;
  --gray-600: #525252;
  --gray-900: #171717;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #c91820 !important;
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--red);
}

.hero-content {
  position: relative;
  padding-block: 4rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--gray-300);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-primary:hover {
  background: #c91820;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* Sections */
.section {
  padding-block: 5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* About */
.about {
  background: var(--gray-100);
}

.about-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 720px;
  line-height: 1.75;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(237, 28, 36, 0.08);
}

.card-icon {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Why Us */
.why-us {
  background: var(--black);
  color: var(--white);
}

.why-us .section-label {
  color: var(--red);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.features li {
  padding-left: 1rem;
  border-left: 3px solid var(--red);
}

.features strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.features span {
  font-size: 0.95rem;
  color: var(--gray-300);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-info address {
  font-style: normal;
}

.contact-info address p {
  margin-bottom: 1.25rem;
}

.contact-info a {
  color: var(--red);
  transition: opacity 0.2s;
}

.contact-info a:hover {
  opacity: 0.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-status {
  font-size: 0.9rem;
}

.form-status--success {
  color: #15803d;
}

.form-status--error {
  color: var(--red);
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--gray-300);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer p {
  font-size: 0.85rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-300);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.5rem 0;
  }

  .nav-cta {
    text-align: center;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3.5rem;
  }
}
