/* ARR Statyba — brand: navy #1A202C, orange #F68B1E */
:root {
  --navy: #1a202c;
  --navy-soft: #252d3d;
  --orange: #f68b1e;
  --orange-hover: #e07d15;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-300: #c5cad3;
  --gray-600: #5c6578;
  --text: #2d3748;
  --shadow: 0 4px 24px rgba(26, 32, 44, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 32, 44, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --header-h: 76px;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --max: 1140px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange-hover);
}

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

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo-link {
  flex-shrink: 0;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.header-phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.header-phone:hover {
  background: rgba(246, 139, 30, 0.12);
  border-color: rgba(246, 139, 30, 0.25);
  color: var(--navy);
}

.header-phone-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
}

.header-phone-number {
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover {
  background: var(--gray-50);
  color: var(--orange);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem !important;
  background: var(--orange) !important;
  color: var(--white) !important;
}

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

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.02) 40px,
    rgba(255, 255, 255, 0.02) 41px
  );
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: var(--orange);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}

.hero-accent-border {
  position: absolute;
  top: 0;
  right: 42%;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: skewX(-12deg);
  transform-origin: top right;
  opacity: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 34rem;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(246, 139, 30, 0.15);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  opacity: 0.92;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

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

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

.hero-contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.hero-contact-card h2 {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  border-radius: 50%;
  color: var(--white);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.contact-list a:hover {
  color: var(--orange);
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-header .underline {
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto 1.25rem;
  background: var(--orange);
  border-radius: 2px;
}

.section-header p {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* —— Service categories —— */
.services-categories {
  background: var(--gray-50);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 139, 30, 0.12);
  border-radius: var(--radius);
  color: var(--orange);
}

.category-card .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.category-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

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

/* —— Detailed services —— */
.services-detail .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  transition: background var(--transition);
}

.service-item:hover {
  background: var(--gray-100);
}

.service-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  background: var(--orange);
  border-radius: 50%;
}

.service-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.service-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.about-content .underline {
  width: 56px;
  height: 4px;
  margin: 0 0 1.5rem;
  background: var(--orange);
  border-radius: 2px;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--gray-600);
}

.values-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--navy);
}

.values-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.about-visual {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: var(--orange);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.25;
}

.about-quote {
  position: relative;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
}

.about-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  color: var(--orange);
}

/* —— FAQ —— */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--gray-50);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item a {
  font-weight: 600;
}

/* —— CTA band —— */
.cta-band {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: var(--navy);
  border-color: var(--navy);
}

.cta-band .btn-primary:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

/* —— Contact —— */
.contact-section {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

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

.contact-info .contact-list li {
  border-color: var(--gray-100);
}

.contact-info .contact-list strong {
  color: var(--gray-600);
  opacity: 1;
}

.contact-info .contact-list a,
.contact-info .contact-list span {
  color: var(--navy);
}

.contact-info .contact-icon {
  width: 40px;
  height: 40px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-row label .req {
  color: var(--orange);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(246, 139, 30, 0.2);
}

.form-row input.is-invalid,
.form-row textarea.is-invalid {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c62828;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}


.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  height: 6px;
  background: var(--orange);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
  padding: 0.35rem 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 22rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer-bottom p {
  margin: 0;
}

/* —— Responsive —— */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-accent {
    width: 55%;
    opacity: 0.4;
  }

  .hero-contact-card {
    max-width: 28rem;
  }

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

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

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

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

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

  .header-phone {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-accent {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
