/* ===========================
   ALAP BEÁLLÍTÁSOK
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* ===========================
   SZÍNPALETTA – VILÁGOS
   =========================== */

:root {
  --bg: #f5f5f7;
  --bg-soft: #f9fafb;
  --bg-hero: #0b1120;
  --bg-card: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;

  --primary: #0f766e;
  --primary-dark: #0b524d;
  --accent: #f59e0b;

  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* ===========================
   SÖTÉT TÉMA
   =========================== */

body.dark {
  --bg: #020617;
  --bg-soft: #020617;
  --bg-hero: #020617;
  --bg-card: #020617;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --border-soft: #1f2937;

  --primary: #22c55e;
  --primary-dark: #16a34a;
  --accent: #facc15;

  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.7);
}

/* ===========================
   ALAP
   =========================== */

body {
  background-color: var(--bg);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 32rem;
}

/* nagyobb cím / szélesebb szöveg (Szolgáltatások, Típusházak, Referenciák) */
.big-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.wide-text {
  font-size: 1.15rem;
  max-width: 900px;
}

/* ===========================
   FEJLÉC + NAVBAR
   =========================== */

header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ===========================
   TÉMAVÁLTÓ – VILLANYKAPCSOLÓ
   =========================== */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background-color: var(--bg-soft);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

body.dark .theme-toggle {
  background-color: #020617;
}

.theme-toggle:hover {
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.12);
}

.switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.switch-base {
  width: 28px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  padding: 1px;
  display: flex;
  align-items: center;
  transition: background-color 0.15s ease;
}

.switch-handle {
  width: 10px;
  height: 12px;
  border-radius: 6px;
  background-color: var(--primary);
  transform: translateX(0);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

body.dark .switch-base {
  background-color: var(--primary);
}

body.dark .switch-handle {
  background-color: #0f172a;
  transform: translateX(10px);
}

.switch-text {
  min-width: 52px;
}

/* ===========================
   HERO
   =========================== */

.hero {
  background-color: var(--bg-hero);
  color: #f9fafb;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.3),
    rgba(245, 158, 11, 0.2)
  );
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

body.dark .hero::before {
  background-image: radial-gradient(
    circle at top,
    rgba(34, 197, 94, 0.4),
    transparent 60%
  );
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  margin-bottom: 1rem;
}

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

.hero-text p {
  color: #e5e7eb;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.25);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(12px);
  background-color: rgba(15, 23, 42, 0.6);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #22c55e;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* HERO kép – ne vágja le a fotót */

.hero-image-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-box img {
  max-width: 460px;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.7);
  background-color: #020617;
}

/* ===========================
   GRID-EK, KÁRTYÁK
   =========================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-tag {
  font-size: 0.8rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* ===========================
   BEMUTATKOZÁS / ABOUT
   =========================== */

.about {
  background: radial-gradient(circle at top left, #e5e7eb, #f9fafb);
}

body.dark .about {
  background: radial-gradient(circle at top left, #020617, #020617);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about-main p {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.stat-pill {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-soft);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.stat-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-box {
  background-color: var(--bg-card);
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.about-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.about-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.about-list {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-list li + li {
  margin-top: 0.2rem;
}

.about-small {
  font-size: 0.85rem;
}

/* Véleményezzen minket + QR-kód */

.about-feedback {
  margin-top: 1.5rem;
}

.about-box-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.about-feedback-text {
  flex: 1 1 auto;
}

.about-feedback-qr {
  flex: 0 0 auto;
}

.about-feedback-qr img {
  display: block;
  width: 110px;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  background-color: #ffffff;
}

/* ===========================
   REFERENCIA GRID
   =========================== */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ref-card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.ref-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #e5e7eb;
  background-position: center;
  background-size: cover;
}

.ref-body {
  padding: 1rem 1.25rem 1rem;
}

.ref-body h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* ===========================
   SZOLGÁLTATÁSOK NAGYOBB SZÖVEGGEL
   =========================== */

.service-block {
  margin-top: 2.5rem;
  padding: 1.8rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.service-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-text {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-list {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-left: 1.3rem;
}

.service-list li {
  margin-bottom: 0.4rem;
}

/* ===========================
   LEIER TÍPUSHÁZAK – KÁRTYÁK
   =========================== */

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.type-card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.type-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.type-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.type-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}

.type-links a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-dark);
}

.type-links a:hover {
  text-decoration: underline;
}

/* ===========================
   REFERENCIÁK – LENYÍLÓ GALÉRIA
   =========================== */

.gallery-toggle {
  margin-top: 2.5rem;
  background-color: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 1.1rem 1.2rem;
}

.gallery-toggle > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-toggle > summary::-webkit-details-marker {
  display: none;
}

.gallery-toggle > summary::after {
  content: "▾";
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.gallery-toggle[open] > summary::after {
  content: "▴";
}

/* ===========================
   GOMBOK
   =========================== */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background-color 0.1s ease, color 0.1s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #f9fafb;
  box-shadow: 0 15px 35px rgba(15, 118, 110, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(249, 250, 251, 0.5);
}

body.dark .btn-secondary {
  color: #e5e7eb;
}

.btn-secondary:hover {
  background-color: rgba(15, 23, 42, 0.8);
}

.btn-sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

/* ===========================
   ŰRLAP ELEMEK
   =========================== */

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft);
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  background-color: var(--bg-card);
  color: var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===========================
   ÚSZÓ MINI ÜZENETKÜLDŐ PANEL
   (Kapcsolat oldal)
   =========================== */

.floating-contact {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.floating-contact-btn {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #f9fafb;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.4);
}

.floating-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.55);
}

.floating-contact-panel {
  width: 340px;
  max-height: 80vh;
  background-color: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1rem 0.9rem;
  display: none;
}

.floating-contact-panel.open {
  display: block;
}

.floating-contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.floating-contact-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
}

.floating-contact-form .form-group {
  margin-bottom: 0.65rem;
}

.floating-contact-form input,
.floating-contact-form textarea {
  font-size: 0.9rem;
}

.floating-contact-form textarea {
  min-height: 120px;
}

/* ===========================
   LÁBLÉC
   =========================== */

footer {
  background-color: #0b1120;
  color: #9ca3af;
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
}

body.dark footer {
  background-color: #020617;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.footer-links {
  font-size: 0.9rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
  color: #6b7280;
}

/* ===========================
   RESZPONZÍV
   =========================== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-box {
    order: -1;
  }

  .grid-3,
  .ref-grid,
  .about-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .nav-right {
    gap: 0.75rem;
  }

  .nav-links {
    display: none; /* ha akarsz mobil menüt, ezt később bővíthetjük */
  }

  .menu-toggle {
    display: block;
  }

  .logo-sub {
    display: none;
  }

  .floating-contact {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-contact-panel {
    width: min(360px, 94vw);
  }

  .about-box-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-feedback-qr img {
    width: 130px;
  }
}

@media (max-width: 768px) {
  .big-title {
    font-size: 1.9rem;
  }

  .wide-text,
  .service-text,
  .service-list {
    font-size: 1.1rem;
  }

  .service-block {
    padding: 1.4rem;
  }
}

/* ===========================
   LEIER TÍPUSHÁZAK – LISTÁS NÉZET
   =========================== */

.type-group {
  margin-top: 2rem;
}

.type-group h2 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.type-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.type-links-line a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-dark);
}

.type-links-line a:hover {
  text-decoration: underline;
}

/* ===========================
   TÍPUSHÁZ LISTA + ELŐNÉZET
   =========================== */

.house-view {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

/* LISTA BAL OLDALT */

.house-list {
  background-color: var(--bg-card);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  max-height: 70vh;
  overflow-y: auto;
}

.house-list-title {
  font-size: 1rem;
  margin: 0.5rem 0 0.3rem;
}

.house-list ul {
  list-style: none;
  margin-bottom: 0.7rem;
}

.house-list li + li {
  margin-top: 0.1rem;
}

.house-list button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.25rem 0.1rem;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 0.4rem;
}

.house-list button:hover {
  background-color: var(--bg-soft);
  color: var(--primary-dark);
}

.house-list button.active {
  background-color: var(--primary);
  color: #f9fafb;
}

/* ELŐNÉZET JOBB OLDALT */

.house-preview {
  background-color: var(--bg-card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.house-preview-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 1.2rem;
  border: 1px solid var(--border-soft);
}

.house-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.house-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.house-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.house-data div {
  margin-bottom: 0.3rem;
}

.house-data dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.house-data dd {
  margin-left: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.house-btn {
  margin: 0.9rem 0 0.5rem;
}

.house-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobil nézet: lista felül, kép alul */

@media (max-width: 960px) {
  .house-view {
    grid-template-columns: 1fr;
  }

  .house-list {
    max-height: none;
  }
}

/* ================================================
   MOBIL HAMBURGER MENÜ – MŰKÖDÉSI KIEGÉSZÍTÉS
   (desktopot NEM érinti)
   ================================================ */

@media (max-width: 960px) {

  /* alapból rejtve legyen a menü */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 1.5rem;
    top: 70px;
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    z-index: 999;
    gap: 1rem;
  }

  /* amikor a JS ráteszi a nav-open osztályt → megjelenik */
  .nav-links.nav-open {
    display: flex !important;
  }

  /* a hamburger ikon legyen mutatósabb és kattinthatóbb mobilon */
  .menu-toggle {
    display: block;
    font-size: 1.9rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    user-select: none;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 1.5rem;
    top: 70px;
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    z-index: 999;
    gap: 1rem;
  }

  .nav-links.nav-open {
    display: flex !important;
  }

  .menu-toggle {
    display: block;
    font-size: 1.9rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    user-select: none;
  }
}

/* Google űrlap beágyazás – kapcsolati doboz */
.google-form-wrapper {
  margin-top: 1.8rem;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.google-form-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ===========================
   LANGUAGE SWITCHER – FLAGS
   =========================== */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-item img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
  opacity: 0.8;
  transition: transform 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease;
}

.lang-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

.lang-item.active img {
  opacity: 1;
  box-shadow: 0 0 0 1px var(--primary);
}

@media (max-width: 960px) {
  .lang-switch {
    margin-left: 0.25rem;
  }
}


