/*
Theme Name: Bio Guard
Theme URI: https://bioguard.hu
Author: Bio Guard
Description: Egyedi WordPress sablon a Bio Guard Kártevőirtás & Gázosítás vállalkozás számára. Lakossági és céges kártevőirtási szolgáltatások, ár kalkulátor, tudástár és kapcsolati űrlap. Színvilág: sötétzöld (#233d19) és búzasárga (#b68d37).
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bioguard
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --bg: #fbfbf9;
  --bg-alt: #f2f1ea;
  --green: #233d19;
  --green-dark: #172a10;
  --green-soft: #e7ede2;
  --gold: #b68d37;
  --gold-dark: #96721f;
  --text: #1c1c1c;
  --muted: #55605a;
  --white: #ffffff;
  --border: #e2e0d6;
  --shadow: 0 10px 30px rgba(35, 61, 25, 0.1);
  --shadow-lg: 0 20px 50px rgba(35, 61, 25, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --head: "Georgia", "Times New Roman", serif;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--gold-dark);
}
h1,
h2,
h3,
h4 {
  font-family: var(--head);
  color: var(--green);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}
p {
  margin: 0 0 1.1em;
}
ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}
strong {
  color: var(--green-dark);
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 72px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--green {
  background: var(--green);
  color: #eef2ea;
}
.section--green h1,
.section--green h2,
.section--green h3 {
  color: #fff;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}
.eyebrow {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: var(--font);
  margin-bottom: 12px;
}
.text-center {
  text-align: center;
}
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.lead {
  font-size: 1.18rem;
  color: var(--muted);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s;
  line-height: 1.1;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 20px rgba(182, 141, 55, 0.35);
}
.btn--gold:hover {
  background: var(--gold-dark);
  color: #fff;
}
.btn--green {
  background: var(--green);
  color: #fff;
}
.btn--green:hover {
  background: var(--green-dark);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: #fff;
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--green);
}
.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   5. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 249, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand img {
  width: 58px;
  height: 58px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--head);
  font-weight: 700;
  color: var(--green);
  font-size: 1.15rem;
}
.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.main-nav {
  margin-left: auto;
}
body.nav-open-body .main-nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  display: block;
  padding: 11px 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-dark);
  border-radius: 8px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--gold-dark);
  background: var(--green-soft);
}
.main-nav .menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 6px;
  opacity: 0.7;
}
/* Submenus */
.main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
}
.main-nav li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav ul ul a {
  padding: 10px 14px;
  font-weight: 500;
}
.header-cta {
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
  margin: 5px 0;
  transition:
    transform 0.3s,
    opacity 0.2s;
}
/* hamburger morphs into an X when the menu is open */
.nav-open-body .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-open-body .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open-body .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-backdrop {
  display: none;
} /* activated only in the mobile media query */

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  text-align: left;
  background-color: var(--green-dark);
  background-image:
    linear-gradient(
      115deg,
      rgba(23, 42, 16, 0.92) 0%,
      rgba(23, 42, 16, 0.55) 55%,
      rgba(35, 61, 25, 0.35) 100%
    ),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 24px;
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero .hero-sub {
  font-size: 1.25rem;
  max-width: 46ch;
  color: #f2efe6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 32px;
}
.hero .hero-accent {
  color: var(--gold);
}
.page-hero {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  background-image: linear-gradient(120deg, var(--green), var(--green-dark));
}
.page-hero h1 {
  color: #fff;
}
.page-hero p {
  color: #d7e0cf;
  max-width: 60ch;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.85rem;
  color: #b9c6ad;
  margin-bottom: 10px;
}
.breadcrumb a {
  color: #e7edda;
}

/* ==========================================================================
   7. Cards & features
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}
.card--service {
  border-top: 4px solid var(--gold);
}
.card h3 {
  margin-top: 0;
}
.card ul {
  list-style: none;
  padding: 0;
}
.card ul li {
  padding: 8px 0 8px 30px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.card ul li:last-child {
  border-bottom: 0;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.8rem;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--head);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step h3 {
  margin: 4px 0 6px;
}

/* Process icons row */
.process-grid {
  counter-reset: step;
}

/* Checklist (green ticks) */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 6px 0 6px 34px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

/* Two-column media/text */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.media-split > * {
  min-width: 0;
} /* allow columns to shrink so wide SVGs don't overflow */
.media-split.reverse .media-split__media {
  order: 2;
}
.media-split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media-placeholder {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-soft), #d7e0cf);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 3rem;
}

/* ==========================================================================
   8. Accordion (Tudástár, GYIK, iparágak)
   ========================================================================== */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.accordion__item + .accordion__item {
  border-top: 1px solid var(--border);
}
.accordion__head {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--head);
  color: var(--green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion__head:hover {
  background: var(--bg-alt);
}
.accordion__head .plus {
  font-size: 1.5rem;
  transition: transform 0.25s;
  color: var(--gold);
  flex-shrink: 0;
}
.accordion__item.open .accordion__head .plus {
  transform: rotate(45deg);
}
.accordion__body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.accordion__item.open .accordion__body {
  padding: 4px 24px 24px;
  max-height: 1200px;
}

/* ==========================================================================
   9. Price calculator
   ========================================================================== */
.calc {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc__steps {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.calc__step-tab {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-alt);
  font-size: 0.95rem;
}
.calc__step-tab.active {
  background: #fff;
  color: var(--green);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.calc__panel {
  padding: 32px;
}
.calc__panel h3 {
  margin-top: 0;
}
.calc__options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.calc__opt {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  transition: 0.15s;
  text-align: left;
}
.calc__opt:hover {
  border-color: var(--gold);
}
.calc__opt.selected {
  border-color: var(--green);
  background: var(--green-soft);
}
.calc__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
.calc__result {
  text-align: center;
  padding: 32px;
  background: var(--green-soft);
  border-radius: var(--radius);
}
.calc__price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--head);
  margin: 8px 0 4px;
}
.calc__note {
  color: var(--muted);
}
.calc__hidden {
  display: none;
}

/* ==========================================================================
   10. Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--green-dark);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.form-field textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-side .card {
  margin-bottom: 20px;
}
.contact-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-badge .icon-circle {
  margin: 0;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}
.form-notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-notice--ok {
  background: #e5f2df;
  color: #256a1e;
  border: 1px solid #b9dcae;
}
.form-notice--err {
  background: #f8e3e3;
  color: #a12525;
  border: 1px solid #e6b8b8;
}

/* CTA band */
.cta-band {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: #d7e0cf;
  max-width: 52ch;
  margin: 0 auto 24px;
}
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cta-phone-card {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-phone-card h3 {
  color: #fff;
}
.cta-phone-card .phone-big {
  font-size: 1.9rem;
  font-weight: 700;
  font-family: var(--head);
  margin: 8px 0 20px;
  letter-spacing: 0.01em;
}

/* Coverage / megyék */
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.region-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.region-list li::before {
  content: "📍";
}

/* Hungary county map */
.hu-map-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.hu-map {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(35, 61, 25, 0.14));
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-legend i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
}
.map-legend .swatch-gold {
  background: var(--gold);
}
.map-legend .swatch-soft {
  background: var(--green-soft);
  border: 1px solid var(--border);
}

/* Ferret ("vadászgörény") icon */
.bg-ferret {
  display: block;
}
.icon-circle .bg-ferret {
  width: 36px;
  height: 36px;
  color: var(--green);
}
.media-placeholder .bg-ferret {
  width: 130px;
  height: 130px;
  color: var(--green);
}

/* ==========================================================================
   11. Blog / posts
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.post-card__body {
  padding: 24px;
}
.post-card__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.entry-content {
  max-width: 780px;
  margin: 0 auto;
}
.entry-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  background: var(--green-dark);
  color: #cdd6c4;
  padding: 64px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.6fr;
  gap: 36px;
}
.footer-grid > * {
  min-width: 0;
}
.footer-contact-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.footer-contact-line a {
  word-break: break-word;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--head);
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.site-footer a {
  color: #cdd6c4;
}
.site-footer a:hover {
  color: var(--gold);
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li {
  padding: 5px 0;
}
.footer-brand img {
  width: 64px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 0 #fff);
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa891;
}

/* Floating call button (mobile) */
.floating-call {
  display: none;
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-3,
  .grid-4,
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-split,
  .contact-grid,
  .cta-split {
    grid-template-columns: 1fr;
  }
  .media-split.reverse .media-split__media {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc__options {
    grid-template-columns: 1fr;
  }
}
/* Tablet & down: the 7 long menu items only fit above ~1200px, so below that
   we switch the crowded horizontal nav to the off-canvas hamburger menu.
   The panel stays fully inside the viewport (fade/drop-in) so it never causes
   horizontal scroll — which is what made the container look narrow in this range. */
@media (max-width: 1200px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: 86vw;
    max-width: 340px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    margin: 0;
    padding: 84px 20px 30px;
    overflow-y: auto;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }
  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(23, 42, 16, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 999;
    border: 0;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .main-nav ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--green-soft);
    border-radius: 0;
    padding: 0 0 0 12px;
    margin: 2px 0 8px;
  }
  .main-nav .menu-item-has-children > a::after {
    content: "";
  }
  .nav-open-body {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 52px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .post-grid {
    grid-template-columns: 1fr;
  }
  .header-cta .header-phone span {
    display: none;
  }
  .hu-map-wrap {
    max-width: 300px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-call {
    display: flex;
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .hero-inner {
    padding: 80px 24px;
  }
}

/* Narrow phones: shrink the header so the phone icon always fits. */
@media (max-width: 430px) {
  .header-inner {
    gap: 10px;
    padding: 8px 14px;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .brand-tag {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }
  .header-cta .header-phone {
    font-size: 1.35rem;
  }
}
@media (max-width: 360px) {
  .brand-tag {
    display: none;
  } /* keep only logo + name on very small screens */
  .brand img {
    width: 38px;
    height: 38px;
  }
}
