/* --------------------------------------------------------------------------
   PALKOM – Usługi Kominiarskie Radosław Paluch
   Główny arkusz stylów CSS (Optymalizowany pod hosting FTP)
   -------------------------------------------------------------------------- */

:root {
  --bg: #0b0d0f;
  --bg2: #13171b;
  --orange: #f47716;
  --orange2: #ff8b2b;
  --white: #ffffff;
  --muted: #c9cdd1;
  --line: #292f35;
  --paper: #f5f4f1;
  --ink: #111417;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

section, section[id], [id] {
  scroll-margin-top: 20px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
}

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

.wrap {
  width: min(1180px, 92%);
  margin: auto;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e1e4e8;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  white-space: nowrap;
  color: var(--ink);
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.25));
}

.logo {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 0.9;
  color: #111417;
}

.logo b {
  color: #dc2626;
}

.logo small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 4px;
  font-weight: 800;
  color: #666c72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-links a,
nav a {
  transition: color 0.2s ease;
  color: #111417 !important;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.15;
  text-align: center;
}

.nav-links a.multiline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  white-space: nowrap;
}

.nav-links a.multiline span {
  display: block;
  white-space: nowrap;
  line-height: 1.15;
}

.nav-links a:hover,
nav a:hover {
  color: #dc2626 !important;
}

.menu-btn {
  display: none;
  font-size: 26px;
  color: #dc2626;
  cursor: pointer;
  user-select: none;
}

.nav-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #444a50;
  background: #f4f6f8;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #dce0e5;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}

.icon-svg {
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-1px);
}

.contact-item:hover .icon-svg {
  transform: scale(1.15);
}

.phone-item {
  color: #dc2626;
  font-weight: 900;
  font-size: 13px;
  border-color: rgba(220, 38, 38, 0.35);
  background: #fef2f2;
}

.phone-item:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.wa-item {
  background: #eefbf3;
  border-color: rgba(37, 211, 102, 0.35);
  color: #0d8a43;
}

.wa-item .wa-svg {
  color: #25D366;
}

.wa-item:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.wa-item:hover .wa-svg {
  color: #ffffff;
}

.fb-item {
  background: #eff6ff;
  border-color: rgba(24, 119, 242, 0.35);
  color: #1877F2;
}

.fb-item .fb-svg {
  color: #1877F2;
}

.fb-item:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.fb-item:hover .fb-svg {
  color: #ffffff;
}

.mail-item {
  color: #4b5563;
}

.mail-item:hover {
  background: #111417;
  border-color: #111417;
  color: #ffffff !important;
}

/* Mobile Sub-Header Contact Bar */
.mobile-contact-bar {
  display: none;
}

/* Mobile Nav Drawer */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #ffffff !important;
  padding: 20px 24px;
  border-bottom: 2px solid #dce0e5;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  gap: 12px;
  z-index: 100;
}

.nav-links.mobile-open a {
  color: #111417 !important;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.nav-links.mobile-open a:hover {
  color: #dc2626 !important;
}

/* Hero Section */
.hero {
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(180, 190, 200, 0.08), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(220, 38, 38, 0.08), transparent 40%),
    linear-gradient(135deg, #0a0c0e 0%, #121519 55%, #0e1114 100%);
  color: var(--white);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #0a0c0e 0%, rgba(10, 12, 14, 0.95) 30%, rgba(10, 12, 14, 0.3) 65%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 40px 0 100px;
}

.hero-copy {
  max-width: 620px;
  padding: 20px 0;
  z-index: 4;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-img-seamless {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Seamless transition on both left edge (towards text) and right edge (towards border) */
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, black 38%, black 80%, rgba(0, 0, 0, 0.3) 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, black 38%, black 80%, rgba(0, 0, 0, 0.3) 93%, transparent 100%);
  filter: grayscale(0.2) contrast(1.05) brightness(0.92);
}

.kicker {
  font-size: 14px;
  color: #dc2626;
  font-weight: 900;
  letter-spacing: 2px;
}

h1 {
  font-size: 67px;
  line-height: 0.98;
  margin: 12px 0 18px;
  letter-spacing: -3px;
}

h1 span {
  color: #dc2626;
}

.lead {
  font-size: 21px;
  line-height: 1.45;
  max-width: 560px;
}

.anim {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 900;
  font-size: 19px;
  min-height: 28px;
}

.anim .fixed {
  color: var(--white);
}

.anim .word {
  color: #dc2626;
  display: inline-block;
  transition: 0.35s;
  min-width: 260px;
}

.anim .word.hide {
  opacity: 0;
  transform: translateY(-10px);
}

/* Trust Bar */
.trust {
  position: relative;
  z-index: 5;
  background: #0b0e10;
  color: #fff;
  border-top: 1px solid #24292d;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 25px 22px;
  border-right: 1px solid #272d31;
}

.trust-item:last-child {
  border: 0;
}

.trust-item strong {
  display: block;
  color: #dc2626;
  font-size: 16px;
  margin-bottom: 6px;
}

.trust-item span {
  font-size: 13px;
  color: #d4d7d9;
  line-height: 1.45;
}

/* Common Section Layouts */
section {
  padding: 78px 0;
}

.light {
  background: var(--paper);
  color: var(--ink);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.eyebrow {
  color: #dc2626;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.5px;
}

h2 {
  font-size: 42px;
  margin: 8px 0 15px;
  letter-spacing: -1.5px;
}

p {
  line-height: 1.65;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.cech-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--ink);
}

.cech-card:hover {
  transform: translateY(-5px);
  border-color: #dc2626;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.16);
}

.cech-logo-wrap {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.cech-img {
  max-width: 220px;
  max-height: 95px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cech-card:hover .cech-img {
  transform: scale(1.06);
}

.cech-tag {
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.cech-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 8px 0 12px;
  color: #111417;
}

.cech-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}

.cech-btn {
  display: inline-block;
  background: #111417;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cech-btn .arr {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cech-card:hover .cech-btn {
  background: var(--orange);
  transform: translateY(-2px);
}

.cech-card:hover .cech-btn .arr {
  transform: translate(3px, -3px);
}

.generation {
  border-left: 4px solid #dc2626;
  padding: 14px 0 14px 20px;
  font-size: 18px;
  font-weight: 800;
  margin: 25px 0;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pillar-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 14px;
  border: 1px solid #e1e4e8;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: #dc2626;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.16);
}

.pillar-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: #111417;
  transition: color 0.3s ease;
}

.pillar-card:hover h3 {
  color: #dc2626;
}

.pillar-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Services Grid & Cards */
.services {
  background: #0d1012;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  background: #111417;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 24px 20px 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  color: #ffffff;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9) contrast(1.1);
  z-index: 1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.04) 0%, rgba(10, 12, 15, 0.75) 60%, rgba(10, 12, 15, 0.96) 100%);
  transition: opacity 0.35s ease, background 0.35s ease;
  z-index: 2;
}

.card-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.card-info {
  flex: 1;
}

.card-info h3 {
  font-size: 17.5px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.card-info p {
  font-size: 12.5px;
  color: #e5e7eb;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);
}

.card .more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.35);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #dc2626;
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.28);
}

.card:hover::before {
  transform: scale(1.08);
  filter: brightness(1.02) contrast(1.12);
}

.card:hover .more {
  background: #dc2626;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.55);
}

/* Service Card Background Images */
.svc-card-0::before { background-image: url('../images/svc_inspection.png'); }
.svc-card-1::before { background-image: url('../images/svc_cleaning.png'); }
.svc-card-2::before { background-image: url('../images/svc_camera.png'); }
.svc-card-3::before { background-image: url('../images/svc_airflow.jpeg'); }
.svc-card-4::before { background-image: url('../images/svc_ceeb.png'); }
.svc-card-5::before { background-image: url('../images/svc_acceptance.png'); }
.svc-card-6::before { background-image: url('../images/svc_gas.png'); }
.svc-card-7::before { background-image: url('../images/svc_advisory.png'); }

/* History Section */
.history {
  background: #fff;
  color: #151719;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.history-box {
  padding: 35px;
  border-radius: 14px;
  background: #121518;
  color: #fff;
}

.history-box strong {
  color: #dc2626;
}

/* For Business Section */
.forbiz {
  background: #121518;
}

.biz-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.check {
  padding: 15px 17px;
  background: #191e22;
  border: 1px solid #2a3035;
  border-radius: 9px;
}

.check:before {
  content: "✓";
  color: #dc2626;
  font-weight: 900;
  margin-right: 9px;
}

/* Legal Regulations Section */
.legal {
  background: #f4f4f2;
  color: #111417;
}

.legal-intro {
  max-width: 850px;
  margin-bottom: 28px;
}

.frequency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0 38px;
}

.freq {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.freq strong {
  font-size: 27px;
  color: #dc2626;
  display: block;
  margin-bottom: 8px;
}

.freq.big {
  border: 2px solid #dc2626;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 9px;
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 22px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  user-select: none;
}

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

.accordion summary:after {
  content: "+";
  color: #dc2626;
  font-size: 22px;
}

.accordion details[open] summary:after {
  content: "−";
}

.legal-body {
  padding: 0 22px 22px;
  color: #34383b;
  line-height: 1.65;
}

.legal-note {
  margin-top: 25px;
  padding: 18px 20px;
  background: #111417;
  color: #fff;
  border-radius: 10px;
  border-left: 5px solid #dc2626;
}

/* Contact Section */
.contact-section {
  background: #0d0f12;
  color: #ffffff;
  padding: 85px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-map-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
  display: block;
}

.seo-coverage-box {
  background: #15181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px;
}

.seo-coverage-box h3 {
  font-size: 17px;
  color: #ffffff;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-coverage-box h3 svg {
  color: #dc2626;
}

.seo-coverage-box p {
  font-size: 13.5px;
  color: #9ca3af;
  margin-bottom: 16px;
  line-height: 1.5;
}

.towns-inline-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.6;
}

.towns-inline-list span {
  white-space: nowrap;
  color: #e5e7eb;
  font-weight: 400;
}

.towns-inline-list .sep {
  color: #dc2626;
  font-weight: 900;
  font-size: 14px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.company-card {
  background: #15181c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.brand-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.brand-title strong {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.detail-row-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  gap: 12px;
}

.detail-row-text .lbl {
  color: #9ca3af;
  font-weight: 400;
}

.detail-row-text .val {
  color: #e5e7eb;
  font-weight: 400;
  text-align: right;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.contact-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

.contact-btn strong {
  font-size: 14px;
  display: block;
  white-space: nowrap;
}

.mail-btn strong {
  font-size: 13px;
  white-space: nowrap;
}

.phone-btn {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.phone-btn:hover {
  background: #b91c1c;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
}

.wa-btn {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-btn:hover {
  background: #1eaf53;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.mail-btn {
  background: #1f2937;
  border: 1px solid #374151;
  color: #ffffff;
}

.mail-btn:hover {
  background: #374151;
}

.fb-btn {
  background: #1877F2;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.fb-btn:hover {
  background: #1464cc;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45);
}

/* Footer */
footer {
  padding: 30px 0;
  background: #080a0b;
  color: #9ea5aa;
  font-size: 13px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Service Modal Pop-up */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  padding: 24px;
  overflow: auto;
}

.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modalbox {
  width: min(760px, 96%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  color: #151719;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modalhead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;
}

.modalhead h2 {
  font-size: 30px;
  margin: 0;
  color: var(--ink);
}

.close {
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.close:hover {
  background: #dc2626;
}

.modalbox h3 {
  margin-top: 24px;
  color: #dc2626;
}

.modalbox li {
  margin: 9px 0;
  line-height: 1.5;
}

.modalcta {
  display: inline-block;
  margin-top: 20px;
  background: #dc2626;
  color: #fff;
  padding: 14px 18px;
  border-radius: 7px;
  font-weight: 900;
  transition: background 0.2s ease;
}

.modalcta:hover {
  background: #b91c1c;
}

/* Media Queries for Responsiveness */
@media (max-width: 1160px) {
  .nav-contacts span {
    display: none;
  }
}

@media (max-width: 900px) {
  header {
    border-bottom: none !important;
  }
  .nav-contacts {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav {
    height: 70px;
  }
  .mobile-contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: #111417;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: none !important;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  }
  .m-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease;
  }
  .m-contact-item:active {
    transform: scale(0.96);
  }
  .m-contact-item.icon-only {
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .m-contact-item.icon-only svg {
    display: block;
  }
  .m-contact-item.phone {
    color: #ff5252;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(255, 82, 82, 0.4);
    font-weight: 900;
  }
  .m-contact-item.wa {
    color: #25D366;
    background: rgba(37, 211, 102, 0.18);
    border: 1px solid rgba(37, 211, 102, 0.4);
  }
  .m-contact-item.fb {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.4);
  }
  .m-contact-item.mail {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 0 50px;
    min-height: auto;
  }
  .hero-visual {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 250px;
    z-index: 1;
  }
  .hero-img-seamless {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 100%);
  }
  .hero-copy {
    padding: 0 0 20px;
    margin-top: -25px;
    max-width: 100%;
    position: relative;
    z-index: 4;
  }
  .hero:before {
    background:
      radial-gradient(circle at 50% 20%, rgba(244, 119, 22, 0.15), transparent 50%),
      linear-gradient(180deg, rgba(9, 11, 13, 0.4) 0%, rgba(9, 11, 13, 0.95) 60%);
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item {
    padding: 16px;
  }
  .about-grid, .history-grid, .biz-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .anim {
    display: block;
  }
  .anim .word {
    display: block;
    margin-top: 5px;
  }
  .frequency {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .logo {
    font-size: 27px;
  }
  .wrap {
    width: 90%;
  }
  h1 {
    font-size: 42px;
  }
  .hero-copy {
    padding-top: 42px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item strong {
    font-size: 14px;
  }
  .trust-item span {
    font-size: 11px;
  }
  section {
    padding: 58px 0;
  }
  h2 {
    font-size: 34px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .contact .bigphone {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .contact-btn {
    padding: 12px 14px;
  }
  .contact-btn strong {
    font-size: clamp(11.5px, 3.4vw, 14px);
    white-space: nowrap;
  }
}
