/*------------------------------------------------------------------
  THEME OVERRIDE — Medical Trust Design System
  Palette: teal primary, slate navy, white/light backgrounds
-------------------------------------------------------------------*/

/* ========== DESIGN TOKENS ========== */
:root {
  --c-primary:        #0d9488;
  --c-primary-dark:   #0f766e;
  --c-primary-deeper: #115e59;
  --c-primary-light:  #ccfbf1;
  --c-primary-bg:     #f0fdfa;
  --c-navy:           #0f172a;
  --c-navy-light:     #1e293b;
  --c-text:           #1e293b;
  --c-text-muted:     #475569;
  --c-text-light:     #64748b;
  --c-white:          #ffffff;
  --c-bg:             #ffffff;
  --c-bg-off:         #f8fafc;
  --c-bg-alt:         #f1f5f9;
  --c-border:         #e2e8f0;
  --c-border-light:   #f1f5f9;
  --radius-sm:        6px;
  --radius:           10px;
  --radius-lg:        16px;
  --radius-xl:        24px;
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
  --sp-xs:   8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;
  --container-max: 1140px;
  --article-max:   800px;
  --transition: all 0.25s ease;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--c-bg);
  color: var(--c-text-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-text);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.1rem; font-weight: 700; }

p {
  color: var(--c-text-muted);
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--c-text-muted);
  transition: var(--transition);
  text-decoration: none !important;
}
a:hover { color: var(--c-primary); }

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

ul, ol { padding-left: 0; }
li { list-style: none; }

/* ========== LAYOUT UTILITIES ========== */
.section-py       { padding-top: var(--sp-2xl); padding-bottom: var(--sp-2xl); }
.section-py-lg    { padding-top: 80px; padding-bottom: 80px; }
.section-py-sm    { padding-top: var(--sp-xl); padding-bottom: var(--sp-xl); }

/* Section header block — reusable */
.section-header {
  margin-bottom: var(--sp-lg);
}
.section-header h2 {
  position: relative;
  padding-bottom: 16px;
}
.section-header h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 2px;
}
.section-header.centered { text-align: center; }
.section-header.centered h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-primary);
  color: #fff !important;
  border: 2px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 14px 32px;
  min-width: 180px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:hover, .btn:focus {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--c-primary) !important;
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff !important;
}
.btn-white {
  background: #fff;
  color: var(--c-primary) !important;
  border-color: #fff;
}
.btn-white:hover {
  background: var(--c-primary-light);
  border-color: var(--c-primary-light);
  color: var(--c-primary-dark) !important;
}
/* Legacy btn-1 (banner) */
.btn-1 {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.8);
}
.btn-1:hover {
  background: #fff !important;
  color: var(--c-primary) !important;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-control {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
  outline: none;
}

/* ========== HEADER / NAV ========== */
header.navbar-fixed-top {
  background: var(--c-white) !important;
  box-shadow: 0 1px 0 var(--c-border), var(--shadow-xs);
  min-height: 76px;
  display: flex;
  align-items: center;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
header .logo {
  display: flex;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
}
.logo-img { height: 56px; width: auto; }

header nav.webimenu {
  display: flex;
  align-items: center;
}
.ownmenu-spacing { padding-top: 0 !important; }

header nav li a {
  color: var(--c-text-muted) !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 28px 14px !important;
  letter-spacing: 0.2px;
  position: relative;
}
header nav li a::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
header nav li a:hover::after,
header nav li.active a::after {
  transform: scaleX(1);
}
header nav li a:hover,
.ownmenu > li:hover > a,
.ownmenu > li.active > a {
  color: var(--c-primary) !important;
}

/* Phone CTA in header */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  padding: 10px 20px;
  background: var(--c-primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
}
.header-cta:hover {
  background: var(--c-primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.header-cta i { font-size: 16px; }

/* ========== BANNER ========== */
.main-bnr {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 55%, var(--c-primary-deeper) 100%) !important;
}
.main-bnr-text {
  padding: 18% 8% 10% !important;
  text-align: left;
}
.main-bnr-text h1 {
  color: #fff !important;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}
.main-bnr-text p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.main-bnr-text .btn {
  border-color: rgba(255,255,255,0.8);
  color: #fff !important;
}

.go-down a {
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--c-primary) !important;
}
.go-down a:hover { background: #fff; }

/* ========== SUB-BANNER ========== */
.sub-banner {
  background: url(../images/slider-images/sub-bnr-bg.webp) center center no-repeat;
  background-size: cover;
  margin-top: 76px !important;
}

/* Fixed header offset on subpages */
.content.fix-nav-space .sub-banner {
  margin-top: 0 !important;
}
.sub-banner .overlay {
  background: rgba(15,23,42,0.72) !important;
  padding: 88px 0 72px !important;
}
.sub-banner h1,
.sub-banner h3 {
  color: #fff !important;
  margin: 0 0 12px 0;
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.sub-banner-container { padding-top: 0 !important; margin-top: 0 !important; }

/* Breadcrumb */
.breadcrumb {
  background: rgba(255,255,255,0.15) !important;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.25);
}
.breadcrumb a,
.breadcrumb > .active,
.breadcrumb > li+li:before {
  color: rgba(255,255,255,0.9) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== MAIN CONTENT ========== */
main.content { background: var(--c-bg); }

/* ========== WHY CHOOSE (#why-choose) ========== */
#why-choose {
  background: var(--c-bg-off);
  padding: var(--sp-2xl) 0;
}
.why-choose-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-light);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--c-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  flex-shrink: 0;
}
.feature-card__icon i {
  font-size: 26px;
  color: var(--c-primary);
}
.feature-card h6 {
  color: var(--c-text);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.why-choose-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-choose-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ========== SERVICES (removed strip) ========== */
#services { display: none; }

/* ========== FOUNDER / ARTICLE CONTENT ========== */
#founder {
  background: var(--c-white);
  padding: var(--sp-2xl) 0;
}
.content-article {
  max-width: var(--article-max);
  margin: 0 auto;
}
.content-article > p { margin-bottom: 1.25rem; }

.article-section {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border-light);
}
.article-section .tittle { margin-bottom: var(--sp-md); }

/* ========== DEPARTMENT TABS ========== */
.department {
  background: var(--c-bg-off);
  padding: var(--sp-2xl) 0;
}
.dep-sec-nav.ab-cnter {
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  background: transparent;
}
.department .nav-tabs {
  background: transparent !important;
  border-bottom: 2px solid var(--c-border);
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.department .nav-tabs li {
  width: auto !important;
  flex: 1 1 auto;
  border: none !important;
  margin: 0 !important;
}
.department .nav-tabs li a {
  color: var(--c-text-muted) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  display: block;
  text-align: center;
  transition: var(--transition);
}
.department .nav-tabs li a:hover {
  background: var(--c-primary-bg) !important;
  color: var(--c-primary) !important;
  border-bottom-color: var(--c-primary) !important;
}
.department .nav-tabs li.active a {
  color: var(--c-primary) !important;
  background: transparent !important;
  border-bottom-color: var(--c-primary) !important;
}
.department .nav-tabs li.active a::before { display: none !important; }

.department .tab-content {
  background: var(--c-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: auto !important;
  margin-top: 0 !important;
}
.department .dep-sec-img,
.department .img-bg-dep {
  display: none !important;
}
.department .dep-sec-txt {
  width: 100% !important;
  float: none !important;
  padding: var(--sp-xl) var(--sp-lg) !important;
  text-align: left !important;
}
.department .dep-sec-txt .tittle { margin-bottom: var(--sp-md); }
.department .dep-sec-txt h2 {
  font-size: clamp(1.2rem, 3vw, 1.7rem) !important;
  font-weight: 700 !important;
  color: var(--c-text) !important;
}
.department .fact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: var(--sp-md) 0 !important;
}
.department .fact li {
  width: auto !important;
  float: none !important;
  padding: 12px 16px;
  background: var(--c-bg-off);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-primary);
}
.department .fact li p {
  font-size: 15px !important;
  margin: 0 !important;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.department .fact li p i {
  color: var(--c-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ========== BLOG SECTION ========== */
.blog {
  background: var(--c-white);
  padding: var(--sp-2xl) 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}
.blog-card {
  background: var(--c-bg-off);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
}
.blog-card .tittle { margin-bottom: var(--sp-md); }
.blog-card h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  line-height: 1.35 !important;
}
.blog-card p { font-size: 15.5px; }

.list-styled {
  padding: 0;
  margin: var(--sp-md) 0 0;
}
.list-styled li {
  list-style: none;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--c-border-light);
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  counter-increment: blog-counter;
}
.list-styled { counter-reset: blog-counter; }
.list-styled li::before {
  content: counter(blog-counter);
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.list-styled li:last-child { border-bottom: none; }

/* ========== TESTIMONIALS / ARTICLE SECTIONS ========== */
.section-testimonials {
  background: var(--c-primary-bg) !important;
  padding: var(--sp-2xl) 0 !important;
}
.section-testimonials .content-article {}
.highlight-block {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--c-primary);
  padding: var(--sp-lg);
  margin-top: var(--sp-xl);
  box-shadow: var(--shadow-sm);
}
.highlight-block .tittle { margin-bottom: var(--sp-md); }
.highlight-block h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem) !important;
}

/* ========== INTRO / CTA SECTION ========== */
.intro {
  background: var(--c-bg-off);
  padding: var(--sp-2xl) 0;
}
.intro .content-article { margin-bottom: var(--sp-xl); }

.cta-box {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl) var(--sp-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-box .tittle { margin-bottom: var(--sp-md); }
.cta-box h2 {
  color: #fff !important;
  font-size: clamp(1.2rem, 3vw, 1.75rem) !important;
  line-height: 1.3 !important;
}
.cta-box p {
  color: rgba(255,255,255,0.88) !important;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 1rem;
}
.cta-box .cta-highlight {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  font-style: italic;
  margin-top: var(--sp-md);
}

/* ========== PRICING ========== */
.pricing-section { padding: var(--sp-2xl) 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}
.pricing-box {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pricing-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--c-primary);
}
.pricing-head {
  background: var(--c-bg-off) !important;
  border-bottom: 1.5px solid var(--c-border);
  padding: 28px 24px !important;
  border-radius: 0 !important;
}
.pricing-head h6 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  color: var(--c-text-light) !important;
  margin-bottom: 6px;
}
.pricing-head h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text) !important;
  margin: 0;
}
.pricing-cost {
  padding: 28px 24px;
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-primary) !important;
  line-height: 1;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-light);
}
.pricing-cost span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-text-light) !important;
  vertical-align: super;
}
.pricing-content {
  padding: 24px 24px 32px !important;
}
.pricing-content ul {
  padding: 0;
  margin: 0 0 24px;
}
.pricing-content ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border-light);
  color: var(--c-text-muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-content ul li:last-child { border-bottom: none; }
.pricing-content ul li i { color: var(--c-primary); flex-shrink: 0; }

.pricing-box.featured {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
}
.pricing-box.featured .pricing-head {
  background: var(--c-primary) !important;
  border-bottom: none;
}
.pricing-box.featured .pricing-head h6,
.pricing-box.featured .pricing-head h3 {
  color: #fff !important;
}
.pricing-box.featured .pricing-cost {
  background: var(--c-primary-bg);
}

/* ========== CONTACT INFO ========== */
.contact-info {
  background: var(--c-bg-off) !important;
  padding: var(--sp-2xl) 0;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-md);
}
.contact-card i {
  font-size: 2.5rem;
  color: var(--c-primary);
  width: 72px;
  height: 72px;
  background: var(--c-primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-primary);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-card p { margin: 0; color: var(--c-text); font-weight: 500; font-size: 17px; }

/* ========== SECTION CONTENT (subpages) ========== */
.section-spacing {
  padding: var(--sp-2xl) 0;
  margin: 0 !important;
}
.content-block {
  margin-top: var(--sp-xl) !important;
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border-light);
}
.content-block:first-child {
  margin-top: 0 !important;
  padding-top: 0;
  border-top: none;
}

.tittle, .title { margin-bottom: var(--sp-md); }
.tittle h2, .title h2 { line-height: 1.3; }
.tittle-spacing { margin-bottom: var(--sp-md); }
.tittle-divider {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--c-primary);
  border: none;
  border-radius: 2px;
  margin: 16px 0 var(--sp-md);
}

.text-left-force { text-align: left !important; }
.mt-block { margin-top: var(--sp-xl) !important; }

/* Subpage text content */
.subpage-content .list-styled {
  margin-top: var(--sp-md);
}
.subpage-content .list-styled li {
  font-size: 16px;
  padding: 14px 0 14px 40px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--c-navy) !important;
  padding: var(--sp-2xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}
.footer-col {}
.footer-logo {
  width: 130px;
  margin-bottom: var(--sp-md);
}
.footer-tagline {
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  max-width: 240px;
}
.footer-col-title {
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: var(--sp-md) !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav-list {
  padding: 0;
  margin: 0;
}
.footer-nav-list li {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-nav-list li:last-child { border-bottom: none; }
.footer-nav-list li a {
  color: #94a3b8 !important;
  font-size: 14px;
  padding: 9px 0;
  display: block;
  transition: var(--transition);
}
.footer-nav-list li a:hover {
  color: #fff !important;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-contact-item:last-child { border-bottom: none; }
.footer-contact-item i {
  color: var(--c-primary);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item p {
  color: #94a3b8 !important;
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.rights {
  background: rgba(0,0,0,0.3) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.rights p {
  color: #475569 !important;
  font-size: 13px !important;
  margin: 0 !important;
}

/* Map */
.map-container {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========== LEGACY CLEANUP ========== */
.small-info { display: none !important; }
.latest-tweet { display: none !important; }
.timing { display: none; }
.links { display: none; }
.clearfix { clear: both; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .feature-cards-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .footer-col:first-child { grid-column: 1 / -1; }
  .header-cta { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root {
    --sp-2xl: 64px;
    --sp-xl: 48px;
    --sp-lg: 32px;
  }
  .feature-cards-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer-col:first-child { grid-column: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .department .fact { grid-template-columns: 1fr; }
  .department .nav-tabs li a {
    font-size: 11px !important;
    padding: 12px 8px !important;
    letter-spacing: 0 !important;
  }
  .main-bnr-text {
    padding: 20% 6% 12% !important;
  }
  .main-bnr-text h1 { font-size: 1.7rem; }
  .sub-banner .overlay { padding: 60px 0 48px !important; }
  .cta-box { padding: var(--sp-lg) var(--sp-md); border-radius: var(--radius-lg); }
  .dep-sec-txt { padding: var(--sp-md) !important; }
  .section-spacing { padding: var(--sp-xl) 0; }
  header nav { float: none; width: 100%; }
  .menu-toggle { position: absolute; top: -54px; right: 0; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .blog-card, .feature-card { padding: var(--sp-md); }
  .highlight-block { padding: var(--sp-md); }
}

/* =======================================================
   MOBILE RESPONSIVE FIX — max-width 768px
   Zasady: min font-size 16px, paddingi boczne ≤16px,
   nagłówki czytelne, tekst akapitów 16px.
======================================================= */
@media (max-width: 768px) {

  /* ── FONT SIZES ──────────────────────────────────── */
  /* Body text base */
  body { font-size: 16px !important; }

  /* Wszystkie akapity → 16px */
  p { font-size: 16px !important; line-height: 1.7 !important; }

  /* Inline font-size: 1.6rem (= ~25px) → 16px */
  [style*="font-size: 1.6rem"] { font-size: 16px !important; }

  /* Inline font-size: 1.55rem → 16px */
  [style*="font-size: 1.55rem"] { font-size: 16px !important; }

  /* Inline font-size: 1.8rem → 16px */
  [style*="font-size: 1.8rem"] { font-size: 16px !important; }

  /* Duże napisy w sekcji "Nie oceniamy..." */
  [style*="font-size: 2.75rem"] { font-size: 20px !important; }

  /* "Pamiętaj..." boks z motywacją */
  [style*="font-size: 2.5rem"] { font-size: 20px !important; }

  /* h3 inline 2.25rem → 20px */
  h3[style*="font-size: 2.25rem"] { font-size: 20px !important; }

  /* Globalne nagłówki */
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 20px !important; }

  /* h2 z inline clamp */
  h2[style*="clamp"] { font-size: 22px !important; }

  /* h2 z font-size inline */
  h2[style*="font-size"] { font-size: 22px !important; }

  /* Mniejsze etykiety/badges */
  [style*="font-size: 1.2rem"],
  [style*="font-size: 1.3rem"] { font-size: 13px !important; }

  /* Napisy w kartach (1.4rem, 1.45rem, 1.7rem) */
  [style*="font-size: 1.4rem"]  { font-size: 14px !important; }
  [style*="font-size: 1.45rem"] { font-size: 14px !important; }
  [style*="font-size: 1.7rem"]  { font-size: 17px !important; }

  /* Nagłówki w kartach (2rem, 2.2rem) */
  [style*="font-size: 2rem"]   { font-size: 20px !important; }
  [style*="font-size: 2.2rem"] { font-size: 20px !important; }

  /* ── PADDING SEKCJI ──────────────────────────────── */
  /* Sekcje z inline padding 100px i 120px — boczne 12px */
  section[style*="padding: 100px 20px"] {
    padding: 48px 12px !important;
  }
  section[style*="padding: 120px 20px"] {
    padding: 48px 12px !important;
  }

  /* Founder section */
  #founder[style*="padding: 100px"] {
    padding: 48px 12px !important;
  }

  /* ── WEWNĘTRZNE KARTY / KONTENERY ────────────────── */
  /* Biała karta w Deep Info: padding: 80px 60px */
  div[style*="padding: 80px 60px"] {
    padding: 24px 16px !important;
    border-radius: 20px !important;
  }

  /* Blockquote / podświetlona ramka */
  div[style*="padding: 32px 40px"] {
    padding: 20px 16px !important;
  }

  /* Cytat "Pamiętaj..." */
  div[style*="padding: 32px 60px"] {
    padding: 24px 16px !important;
    margin-bottom: 40px !important;
  }

  /* "Nie oceniamy..." blok */
  div[style*="padding: 50px 40px"] {
    padding: 24px 16px !important;
  }

  /* Blog numbered list items */
  ul[style*="max-width: 900px"] li {
    padding: 16px 14px !important;
    gap: 14px !important;
  }
  ul[style*="max-width: 900px"] li span {
    font-size: 16px !important;
  }

  /* ── GRIDY → JEDNOKOLUMNOWE ──────────────────────── */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* ── MARGINESY ───────────────────────────────────── */
  /* "Dlaczego My?" karty margin-bottom */
  #why-choose > .container > div[style*="margin-bottom: 80px"] {
    margin-bottom: 32px !important;
  }

  /* Intro margin-bottom 120px (czerwony boks) */
  [style*="margin-bottom: 120px"] {
    margin-bottom: 40px !important;
  }

  /* Nagłówek margin-bottom */
  h2[style*="margin-bottom: 32px"] { margin-bottom: 16px !important; }

  /* ── LOGO NAV ─────────────────────────────────────── */
  .logo-name { font-size: 1.6rem !important; }
  .logo-sub  { font-size: 13px !important; letter-spacing: 0.1em !important; }
}

/* =======================================================
   LOGO TEXT RESPONSIVE SIZES
======================================================= */

.logo-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  white-space: nowrap;
  display: block;
  font-size: 2rem;
}

.logo-sub {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .logo-name { font-size: 2.5rem; }
  .logo-sub  { font-size: 1.05rem; }
}

@media (min-width: 1200px) {
  .logo-name { font-size: 2.75rem; }
  .logo-sub  { font-size: 1.1rem; }
}

/* =======================================================
   STAGE 1 QUICK WINS (LAPTOP/DESKTOP READABILITY)
======================================================= */

@media (min-width: 992px) {
  #founder .container,
  .blog .container,
  .intro .container,
  .oferta-section .container,
  .pricing-page .container,
  .container-narrow {
    max-width: 920px !important;
  }
}
