/* About-page visual design only. Existing HTML, JS, text and SEO are unchanged. */
:root {
  color-scheme: dark;
  --bg: #10191f;
  --panel: #172228;
  --text: #f3f5f7;
  --muted: #bec7ce;
  --accent: #079dff;
  --line: #35424b;
  --content: 1280px;
  --header: 1280px;
  --gutter: clamp(16px, 5.5vw, 96px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { text-wrap: balance; }
::selection { background: var(--accent); color: #fff; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Two-tier header, using the original phone number and navigation. */
header { position: relative; z-index: 20; background: linear-gradient(110deg, #10191e, #1a242b); }
.upper-sector-header {
  max-width: var(--header);
  margin-inline: auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.info-phone-facebook-sector { display: flex; flex-direction: row-reverse; align-items: center; gap: 24px; }
.info-phone-facebook-sector p { font-size: 14px; font-weight: 700; white-space: nowrap; }
.info-phone-facebook-sector .fa-phone { color: var(--accent); }
.info-phone-facebook-sector .social-icon { font-size: 20px; }
.links-header-sector { display: flex; align-items: center; gap: 30px; }
.links-header-sector a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  font-size: 14px;
  font-weight: 700;
}
.links-header-sector a:nth-child(2) { color: var(--accent); }
.links-header-sector a:nth-child(2)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--accent);
}
.links-header-sector a:hover { color: var(--accent); }
.lower-sector-header {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid #303b43;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 16px 24px;
}
/* The visual brand requested earlier; no change to the HTML or its headings. */
.lower-sector-header::before {
  content: "ПРОБИВАНЕ НА ОТВОРИ";
  display: block;
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--accent);
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(20px, 1.65vw, 29px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.035em;
  line-height: 1.15;
  white-space: nowrap;
}
.hamburger-menu-container { min-width: 0; max-width: 920px; flex: 1 1 auto; }
.hamburger-menu { display: none; }
.links-container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.links-container a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s, border-color .2s, background-color .2s;
}
.links-container a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 27px;
  color: #aeb7be;
}
.links-container a:nth-child(1)::before { content: "\f1cd"; }
.links-container a:nth-child(2)::before { content: "\f013"; }
.links-container a:nth-child(3)::before { content: "\f6e3"; }
.links-container a:nth-child(4)::before { content: "\f51a"; }
.links-container a:nth-child(5)::before { content: "\f0d1"; }
.links-container a:first-child { color: var(--accent); border-color: #344956; background: #0b1218; }
.links-container a:first-child::before, .links-container a:hover::before { color: var(--accent); }
.links-container a:hover { color: var(--accent); border-color: #344956; background: #0b1218; }


/* Approved About-page main content. */

footer { border-top: 1px solid #46515a; background: linear-gradient(115deg, #111b21, #1b252b); padding: 26px var(--gutter) 32px; }
.footer-container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr); align-items: start; gap: 40px; max-width: var(--header); margin-inline: auto; }
footer .for-us, footer .contact-us { min-width: 0; }
footer .contact-us { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; border-left: 1px solid #46515a; padding-left: 28px; }
.contact-us .footer-title { grid-column: 1; grid-row: 1; }
.footer-title { margin-bottom: 8px; font-size: 19px; line-height: 1.3; }
.footer-title::before { font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); margin-right: 12px; }
.for-us .footer-title::before { content: "\f0c0"; }
.contact-us .footer-title::before { content: "\f3c5"; }
footer p { font-size: 14px; color: #d4dce1; line-height: 1.65; }
.sofia-varna { font-weight: 700; margin-bottom: 5px; }
.tagline { margin-top: 8px; }
.contact-info { display: contents; list-style: none; }
.contact-info > li { margin-top: 7px; font-size: 14px; }
.contact-info > li:nth-child(1) { grid-column: 1; grid-row: 2; }
.contact-info > li:nth-child(2) { grid-column: 1; grid-row: 3; }
.contact-info > li:nth-child(3) { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; border-left: 1px solid #46515a; padding-left: 24px; font-size: 17px; font-weight: 700; }
.contact-info a { display: inline-block; padding-block: 4px; overflow-wrap: anywhere; }
.contact-info i { width: 22px; color: var(--accent); }
.contact-info a:hover { color: var(--accent); }
.working-hours { list-style: none; margin: 6px 0 0 26px; }
.working-hours li { padding-block: 3px; border-bottom: 1px solid #ffffff10; font-size: 14px; font-weight: 400; }

/* Content: existing plain text is formatted without adding HTML wrappers. */
main {
  position: relative;
  padding: 34px max(var(--gutter), calc((100% - var(--content)) / 2)) 40px;
  background:
    linear-gradient(125deg, transparent 0 6%, #008ee520 6% 7%, transparent 7% 94%, #008ee520 94% 95%, transparent 95%),
    repeating-linear-gradient(135deg, #ffffff02 0 1px, transparent 1px 7px),
    radial-gradient(ellipse at 25% 0, #26394460, transparent 70%),
    var(--bg);
}
main > h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.035em;
}
main > h1::before,
main > h2::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--accent);
}
main > p {
  padding: 20px 26px;
  border: 1px solid #30414c;
  border-left: 6px solid var(--accent);
  border-radius: 7px;
  background: linear-gradient(110deg, #1b2b3570, #16232b80);
  color: #e4ebef;
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.8;
}
main > h2 {
  margin: 28px 0 20px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
}
main > ul { display: grid; list-style: none; gap: 20px; }
main > ul > li {
  position: relative;
  min-width: 0;
  border: 1px solid #344854;
  border-bottom: 2px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(120deg, #172831, #132029);
  color: #d5e0e7;
  line-height: 1.7;
  box-shadow: 0 5px 16px #00000014;
  transition: border-color .2s, box-shadow .2s;
}
main > ul > li:hover { border-color: #079dff80; border-bottom-color: var(--accent); box-shadow: 0 8px 24px #00000025; }
main > ul > li::before {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #081820;
  color: var(--accent);
  box-shadow: inset 0 0 16px #079dff08;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  line-height: 1;
}
main > ul > li > strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

/* Four services, two columns. Each existing link remains a working link. */
main > ul:first-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); }
main > ul:first-of-type > li {
  padding: 24px 26px 86px 112px;
  font-size: 15px;
}
main > ul:first-of-type > li > strong { margin-bottom: 10px; font-size: 20px; }
main > ul:first-of-type > li::before { top: 24px; left: 22px; width: 66px; height: 66px; font-size: 30px; }
main > ul:first-of-type > li:nth-child(1)::before { content: "\f3a5"; }
main > ul:first-of-type > li:nth-child(2)::before { content: "\f013"; }
main > ul:first-of-type > li:nth-child(3)::before { content: "\f6e3"; }
main > ul:first-of-type > li:nth-child(4)::before { content: "\f0d1"; }
main > ul:first-of-type > li > a {
  position: absolute;
  bottom: 22px;
  left: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  max-width: calc(100% - 136px);
  padding: 10px 18px;
  border-radius: 12px;
  background: #079dff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 12px #00000020;
  transition: background-color .2s;
}
main > ul:first-of-type > li > a::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
main > ul:first-of-type > li > a:hover { background: #007fdd; }

/* Four reasons, with all original text fully visible. */
main > ul:last-of-type { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
main > ul:last-of-type > li { padding: 22px 18px 24px 78px; font-size: 14px; }
main > ul:last-of-type > li > strong { margin-bottom: 10px; font-size: 17px; }
main > ul:last-of-type > li::before { top: 22px; left: 16px; width: 48px; height: 48px; font-size: 22px; }
main > ul:last-of-type > li:nth-child(1)::before { content: "\f0c0"; }
main > ul:last-of-type > li:nth-child(2)::before { content: "\f5a2"; }
main > ul:last-of-type > li:nth-child(3)::before { content: "\f007"; }
main > ul:last-of-type > li:nth-child(4)::before { content: "\f51e"; }

/* Header and footer retain the same responsive design as the home page. */
@media (max-width: 1390px) {
  .upper-sector-header { margin-inline: 32px; }
  .lower-sector-header { gap: 22px; padding-inline: 32px; }
  .links-container { gap: 4px; }
  .links-container a { gap: 8px; padding-inline: 9px; font-size: 12px; }
  .links-container a::before { font-size: 22px; }
  .lower-sector-header::before { font-size: 22px; }
}
@media (min-width: 901px) { #dropdown-menu { display: flex !important; } }
@media (max-width: 1190px) and (min-width: 901px) {
  .lower-sector-header { flex-wrap: wrap; gap: 12px; }
  .lower-sector-header::before { margin-right: auto; }
  .hamburger-menu-container { flex-basis: 100%; max-width: none; }
}
@media (max-width: 1100px) {
  main > ul:last-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  main > ul:first-of-type > li { padding: 24px 24px 88px; }
  main > ul:first-of-type > li > strong { padding-left: 76px; min-height: 62px; display: flex; align-items: center; }
  main > ul:first-of-type > li::before { left: 24px; width: 58px; height: 58px; font-size: 27px; }
  main > ul:first-of-type > li > a { left: 24px; max-width: calc(100% - 48px); }
}
@media (max-width: 900px) {
  .upper-sector-header { margin-inline: 24px; }
  .lower-sector-header { position: relative; justify-content: space-between; gap: 12px; padding: 16px 24px; }
  .lower-sector-header::before { font-size: clamp(19px, 3.4vw, 25px); }
  .hamburger-menu-container { flex: 0 0 auto; max-width: none; }
  .hamburger-menu { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #38505f; border-radius: 9px; color: var(--accent); font-size: 24px; line-height: 1; }
  .hamburger-menu.clicked { background: #079dff20; border-color: var(--accent); }
  .links-container { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; padding: 12px 24px 18px; flex-direction: column; align-items: stretch; gap: 5px; border-bottom: 1px solid #38505f; background: #10191f; box-shadow: 0 10px 24px #00000055; z-index: 30; }
  .hamburger-menu.clicked + .links-container { display: flex; }
  .links-container a { min-height: 48px; font-size: 15px; gap: 14px; }
  .links-container a::before { width: 28px; font-size: 23px; text-align: center; }
  .footer-container { gap: 28px; }
  footer .contact-us { display: block; padding-left: 24px; }
  .contact-info { display: block; }
  .contact-info > li:nth-child(3) { margin-top: 7px; border-left: none; padding-left: 0; font-size: 14px; font-weight: 400; }
}
@media (max-width: 650px) {
  main > ul:first-of-type, main > ul:last-of-type { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  main > ul:first-of-type > li { font-size: 16px; line-height: 1.75; }
  main > ul:last-of-type > li { font-size: 15px; }
  main > ul:last-of-type > li > strong { font-size: 19px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .upper-sector-header { margin-inline: 16px; flex-wrap: wrap; gap: 4px; padding-top: 10px; padding-bottom: 4px; }
  .info-phone-facebook-sector { justify-content: space-between; width: 100%; }
  .links-header-sector { justify-content: space-between; width: 100%; gap: 12px; }
  .links-header-sector a { justify-content: center; min-height: 44px; flex: 1; }
  .lower-sector-header { padding-inline: 16px; }
  .lower-sector-header::before { font-size: clamp(18px, 5.1vw, 24px); }
  main { padding-top: 28px; padding-bottom: 32px; }
  main > h1 { font-size: 40px; }
  main > h2 { margin-top: 28px; font-size: 26px; }
  main > p { padding: 18px; font-size: 16px; line-height: 1.75; }
  main > ul:first-of-type > li { padding: 22px 20px 88px; }
  main > ul:first-of-type > li > strong { padding-left: 68px; min-height: 58px; font-size: 20px; margin-bottom: 14px; }
  main > ul:first-of-type > li::before { top: 22px; left: 20px; width: 52px; height: 52px; font-size: 25px; }
  main > ul:first-of-type > li > a { left: 20px; max-width: calc(100% - 40px); }
  .footer-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  footer .contact-us { border-left: none; border-top: 1px solid #46515a; padding: 24px 0 0; }
  footer p, .contact-info > li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
