:root {
  --navy: #111b23;
  --navy-soft: #1b2933;
  --orange: #f36b21;
  --orange-dark: #d9530f;
  --paper: #f6f5f1;
  --white: #ffffff;
  --ink: #17212a;
  --text: #5f6970;
  --line: #dfe2e2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  height: 84px;
  padding: 0 max(5vw, calc((100vw - 1360px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--white);
  position: relative;
  z-index: 20;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-symbol {
  width: 43px; height: 43px; display: grid; place-items: center;
  background: var(--orange); color: white; border-radius: 5px 14px 5px 5px;
  font-size: 26px; font-weight: 900; font-style: italic;
}
.brand > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.brand strong { font-size: 17px; letter-spacing: -0.03em; text-transform: uppercase; }
.brand small { color: #7d8589; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 36px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
nav a { position: relative; padding: 9px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--orange); transition: right .2s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.nav-phone { display: flex; align-items: center; gap: 11px; }
.nav-phone i { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: #fff0e7; color: var(--orange); font-style: normal; }
.nav-phone span { display: flex; flex-direction: column; }
.nav-phone small { color: #7d8589; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-phone strong { margin-top: 2px; font-size: 16px; }

.hero { min-height: 720px; position: relative; display: flex; align-items: center; overflow: hidden; background: #111; color: white; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,19,.96) 0%, rgba(8,14,19,.83) 34%, rgba(8,14,19,.28) 68%, rgba(8,14,19,.12) 100%); }
.hero-content { width: min(1360px, 90vw); margin: 0 auto; padding: 75px 0 130px; position: relative; z-index: 2; }
.hero-label { display: flex; align-items: center; gap: 11px; color: #e2e5e6; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-label span { width: 32px; height: 3px; background: var(--orange); }
.hero h1 { margin: 22px 0 25px; font-size: clamp(66px, 8vw, 122px); line-height: .84; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.hero-content > p { max-width: 620px; color: #d7dadb; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; }
.hero-buttons { margin-top: 37px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 58px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; border-radius: 4px; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; transition: .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-orange { background: var(--orange); color: white; box-shadow: 0 10px 28px rgba(243,107,33,.24); }
.button-orange:hover { background: var(--orange-dark); }
.button-ghost { border: 1px solid rgba(255,255,255,.48); color: white; }
.button-ghost:hover { background: white; color: var(--ink); }
.hero-methods {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(1360px, 100%); min-height: 82px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 25px;
  background: rgba(16,27,35,.94); border-top: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px);
}
.hero-methods span { color: #aeb6ba; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-methods strong { padding-left: 28px; position: relative; font-size: 15px; }
.hero-methods strong::before { content: "✓"; position: absolute; left: 0; color: var(--orange); }

.problem-section, .services-section, .process-section { width: min(1360px, 90vw); margin: 0 auto; padding: 115px 0; }
.section-title { max-width: 650px; margin-bottom: 50px; }
.section-title.centered { margin: 0 auto 55px; text-align: center; }
.eyebrow { display: block; margin-bottom: 13px; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.section-title h2, .solution-copy h2, .industries h2, .contact-inner h2 {
  margin-bottom: 20px; font-size: clamp(40px, 4.5vw, 68px); line-height: 1; letter-spacing: -.055em; text-transform: uppercase;
}
.section-title p, .solution-copy > p { color: var(--text); font-size: 16px; line-height: 1.7; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: white; }
.problem-card { min-height: 285px; padding: 36px; border-right: 1px solid var(--line); }
.problem-card:last-child { border-right: 0; }
.problem-card > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff0e7; color: var(--orange); font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.problem-card h3 { margin: 34px 0 14px; font-size: 20px; line-height: 1.25; }
.problem-card p { color: var(--text); font-size: 14px; line-height: 1.7; }

.solution-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 650px; background: white; }
.solution-photo { min-height: 630px; position: relative; }
.solution-photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; right: 0; bottom: 0; width: 220px; padding: 25px; display: flex; flex-direction: column; background: var(--orange); color: white; }
.photo-badge strong { font-size: 19px; text-transform: uppercase; }
.photo-badge span { margin-top: 4px; font-family: Georgia, serif; font-size: 17px; font-style: italic; }
.solution-copy { padding: 80px max(5vw, calc((100vw - 1360px) / 2)); align-self: center; }
.solution-copy ul { margin: 30px 0 34px; padding: 0; list-style: none; }
.solution-copy li { padding: 16px 0; display: grid; grid-template-columns: 33px 1fr; border-top: 1px solid var(--line); }
.solution-copy li:last-child { border-bottom: 1px solid var(--line); }
.solution-copy li i { color: var(--orange); font-style: normal; font-weight: 900; }
.solution-copy li span { display: flex; flex-direction: column; gap: 5px; color: var(--text); font-size: 13px; line-height: 1.5; }
.solution-copy li strong { color: var(--ink); font-size: 14px; }
.text-link { display: inline-flex; gap: 34px; padding-bottom: 7px; border-bottom: 2px solid var(--orange); color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.services-section { padding-top: 130px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { overflow: hidden; background: white; box-shadow: 0 10px 35px rgba(17,27,35,.07); transition: transform .2s ease; }
.service-card:hover { transform: translateY(-7px); }
.service-image { height: 280px; position: relative; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.035); }
.service-image span { position: absolute; left: 22px; bottom: 0; width: 48px; height: 48px; display: grid; place-items: center; background: var(--orange); color: white; font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.service-copy { padding: 30px; }
.service-copy h3 { min-height: 56px; margin-bottom: 15px; font-size: 21px; line-height: 1.3; text-transform: uppercase; }
.service-copy p { min-height: 95px; color: var(--text); font-size: 14px; line-height: 1.7; }
.service-copy ul { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-copy li { margin: 9px 0; color: #455159; font-size: 13px; font-weight: 700; }
.service-copy li i { margin-right: 10px; color: var(--orange); font-style: normal; }

.industries { padding: 90px max(5vw, calc((100vw - 1360px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; background: var(--navy); color: white; }
.industries h2 { margin-bottom: 0; }
.eyebrow-light { color: #95a2a9; }
.industry-tags { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.16); }
.industry-tags span { min-height: 70px; padding: 0 18px; display: flex; align-items: center; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); color: #d9dddf; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.industry-tags span::before { content: "✓"; margin-right: 13px; color: var(--orange); }

.process-section { padding-top: 125px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 30px 30px 15px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-family: Georgia, serif; font-size: 18px; font-style: italic; }
.step h3 { margin: 25px 0 12px; font-size: 18px; text-transform: uppercase; }
.step p { color: var(--text); font-size: 13px; line-height: 1.65; }

.contact-section { padding: 115px 5vw; background: linear-gradient(115deg, rgba(17,27,35,.98), rgba(17,27,35,.86)), url("/images/svarec-hero.webp") center/cover; color: white; }
.contact-inner { width: min(1050px, 100%); margin: 0 auto; text-align: center; }
.contact-inner > p { max-width: 650px; margin: 0 auto 48px; color: #bec6ca; font-size: 16px; line-height: 1.7; }
.contact-actions { display: grid; grid-template-columns: .8fr 1.2fr; text-align: left; }
.contact-actions a { min-height: 100px; padding: 22px 28px; display: grid; grid-template-columns: 1fr auto; align-content: center; border: 1px solid rgba(255,255,255,.25); transition: background .2s ease; }
.contact-actions a + a { border-left: 0; }
.contact-actions a:hover { background: var(--orange); border-color: var(--orange); }
.contact-actions small { grid-column: 1 / -1; margin-bottom: 7px; color: #aab4b9; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-actions a:hover small { color: white; }
.contact-actions strong { overflow-wrap: anywhere; font-size: clamp(18px, 2.2vw, 28px); }
.contact-actions span { color: var(--orange); font-size: 24px; }
.contact-actions a:hover span { color: white; }

footer { min-height: 125px; padding: 25px max(5vw, calc((100vw - 1360px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #0b1217; color: white; }
footer p { margin: 0; color: #7f8a90; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
footer > a:last-child { justify-self: end; color: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.brand-footer small { color: #7f8a90; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { min-height: 660px; }
  .problem-grid, .service-list { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-card:last-child { border-bottom: 0; }
  .solution-section { grid-template-columns: 1fr; }
  .solution-photo { min-height: 520px; }
  .solution-copy { padding: 70px 5vw; }
  .service-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .service-image { height: auto; min-height: 360px; }
  .service-copy p, .service-copy h3 { min-height: 0; }
  .industries { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 35px 0; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 640px) {
  .site-header { height: 74px; padding: 0 18px; }
  .brand-symbol { width: 39px; height: 39px; }
  .brand strong { font-size: 13px; }
  .brand small, .nav-phone small, .nav-phone i { display: none; }
  .nav-phone strong { font-size: 13px; }
  .hero { min-height: 720px; align-items: flex-start; }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,14,19,.94), rgba(8,14,19,.52)); }
  .hero-content { padding: 80px 0 135px; }
  .hero h1 { font-size: clamp(60px, 20vw, 88px); }
  .hero-content > p { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-methods { min-height: 96px; padding: 16px 20px; flex-wrap: wrap; justify-content: flex-start; }
  .hero-methods span { display: none; }
  .problem-section, .services-section, .process-section { width: calc(100% - 40px); padding: 85px 0; }
  .section-title h2, .solution-copy h2, .industries h2, .contact-inner h2 { font-size: 40px; }
  .problem-card { padding: 28px; }
  .solution-photo { min-height: 440px; }
  .photo-badge { width: 190px; }
  .service-list { gap: 18px; }
  .service-card { display: block; }
  .service-image { height: 260px; min-height: 0; }
  .industries { padding: 75px 20px; gap: 45px; }
  .industry-tags { grid-template-columns: 1fr; }
  .industry-tags span { border-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 25px 0; display: grid; grid-template-columns: 60px 1fr; border-left: 0; border-top: 1px solid var(--line); }
  .step h3 { margin: 5px 0 8px; }
  .step p { grid-column: 2; }
  .contact-section { padding: 85px 20px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions a + a { border-left: 1px solid rgba(255,255,255,.25); border-top: 0; }
  footer { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
