/* RM Import IT Services — site stylesheet */

:root {
  --brand: #a21e22;
  --brand-dark: #7e181b;
  --brand-tint: #f7e9e9;
  --ink: #1c1c1e;
  --muted: #62626a;
  --bg: #ffffff;
  --bg-soft: #faf7f6;
  --line: #ece5e4;
  --radius: 14px;
  --shadow: 0 10px 30px -14px rgba(28, 28, 30, 0.18);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.15s;
}

.main-nav a:hover { color: var(--brand); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.lang-switch a,
.lang-switch span {
  padding: 2px 4px;
}

.lang-switch a:hover { color: var(--brand); }

.lang-switch .current {
  color: var(--brand);
}

.lang-sep { color: var(--line); }

.nav-toggle {
  display: none;
  appearance: none;
  border: none;
  background: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */

.hero {
  overflow: hidden;
  padding: 88px 0 76px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-graphic {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  color: var(--brand);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(162, 30, 34, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand-tint);
}

/* Section headings */

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Services */

.services {
  padding: 88px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.12rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.6;
}

/* Idea band */

.idea-band {
  padding: 72px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.idea-band h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 14px;
}

.idea-band p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Contact */

.contact {
  padding: 88px 0 96px;
  text-align: center;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 260px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-card .service-icon { margin-bottom: 0; flex-shrink: 0; }

.contact-card .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

.contact-card .value {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Footer */

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-brand img { height: 22px; }

/* Responsive */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-graphic { justify-self: center; max-width: 280px; order: -1; margin-bottom: 8px; }
  .hero { padding: 48px 0 56px; text-align: left; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    display: none;
  }

  .site-header.nav-open .main-nav { display: flex; }

  .lang-switch { order: 2; }
}

@media (max-width: 520px) {
  .contact-card { min-width: 100%; }
  .services { padding: 64px 0; }
  .contact { padding: 64px 0 72px; }
  .idea-band { padding: 56px 0; }
}
