/* BH Secure — styles adaptés de bhabitat.ch */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-v31-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-v31-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
  --forest-dark: #142820;
  --forest: #1B3326;
  --forest-light: #234237;
  --gold: #CDA35A;
  --gold-light: #D4B87A;
  --gold-muted: rgba(205, 163, 90, 0.14);
  --cream: #F5F0E8;

  --page-light: #F7F5EF;
  --surface-light: #FFFFFF;
  --text-dark: #183128;
  --text-muted-dark: #52645A;
  --border-light: rgba(27, 51, 38, 0.14);
  --shadow-soft: 0 10px 28px rgba(27, 51, 38, 0.08);

  --bg: var(--page-light);
  --bg-secondary: #F0EDE5;
  --card: var(--surface-light);
  --white: var(--cream);
  --text: var(--text-muted-dark);
  --border: var(--border-light);
  --shadow: var(--shadow-soft);
  --radius: 24px;
  --transition: 0.35s ease;
  --container: 1200px;
  --header-h: 82px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: var(--page-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-muted-dark); }

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  color: var(--forest);
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 40px;
  font-size: 1.05rem;
  color: var(--text-muted-dark);
}

section {
  padding: 100px 0;
  background: var(--page-light);
}

/* Utility spacing (replaces inline styles) */
.stack-mt-sm { margin-top: 12px; }
.stack-mt { margin-top: 18px; }
.stack-mt-md { margin-top: 22px; }
.stack-mt-lg { margin-top: 24px; }
.field-stack { margin-top: 12px; }
.checkbox-field--spaced { margin: 14px 0; }
.langs-note {
  margin-top: 18px;
  font-size: 0.92rem;
}
.contact-map {
  margin-top: 24px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.contact-map img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* —— Header —— */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(27, 51, 38, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(205, 163, 90, 0.18);
}

.navbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-desktop a {
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--cream);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 16px !important;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest-dark) !important;
  font-weight: 600;
  font-size: 0.85rem !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); color: var(--forest-dark) !important; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch button {
  background: transparent;
  border: 0;
  color: rgba(245, 240, 232, 0.72);
  cursor: pointer;
  font: inherit;
  padding: 4px 2px;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--gold-light);
}

.lang-switch .sep { color: rgba(184, 196, 188, 0.35); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(205, 163, 90, 0.28);
  border-radius: 12px;
  background: transparent;
  color: var(--gold-light);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 28px;
  background: var(--forest);
  border-bottom: 1px solid rgba(205, 163, 90, 0.18);
}

.nav-mobile[hidden] { display: none; }
.nav-mobile:not([hidden]) { display: flex; }

.nav-mobile a {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(205, 163, 90, 0.14);
  color: var(--cream);
}

.nav-mobile a.nav-cta {
  margin-top: 8px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest-dark);
  font-weight: 600;
  text-align: center;
}

.nav-mobile .lang-switch {
  margin: 16px 0 8px;
  justify-content: flex-start;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--forest-dark);
  box-shadow: 0 10px 28px rgba(205, 163, 90, 0.22);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(27, 51, 38, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: rgba(27, 51, 38, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
  background:
    linear-gradient(
      105deg,
      rgba(20, 40, 32, 0.62) 0%,
      rgba(20, 40, 32, 0.42) 48%,
      rgba(27, 51, 38, 0.20) 100%
    ),
    url("../images/site/hero.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0 100px;
  border-radius: 28px;
  background: linear-gradient(
    90deg,
    rgba(20, 40, 32, 0.72) 0%,
    rgba(20, 40, 32, 0.45) 55%,
    rgba(20, 40, 32, 0.08) 100%
  );
  padding-left: clamp(18px, 3vw, 36px);
  padding-right: clamp(18px, 4vw, 48px);
}

@media (max-width: 700px) {
  .hero-content {
    background: rgba(27, 51, 38, 0.78);
    padding: 36px 20px 48px;
    border-radius: 22px;
  }

  .hero .btn-secondary {
    background: rgba(245, 240, 232, 0.16);
    border-color: rgba(245, 240, 232, 0.55);
    color: var(--cream);
  }
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(20, 40, 32, 0.35);
}
.hero h1 span { color: var(--gold-light); }

.hero-lead {
  max-width: 560px;
  font-size: 1.08rem;
  margin-bottom: 32px;
  color: rgba(245, 240, 232, 0.94);
  text-shadow: 0 1px 8px rgba(20, 40, 32, 0.28);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero .btn-secondary {
  background: rgba(245, 240, 232, 0.12);
  border: 1px solid rgba(245, 240, 232, 0.42);
  color: var(--cream);
}

.hero .btn-secondary:hover {
  background: rgba(245, 240, 232, 0.2);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  max-width: 520px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(245, 240, 232, 0.94);
  font-size: 0.92rem;
  text-shadow: 0 1px 6px rgba(20, 40, 32, 0.25);
}

.hero-points i {
  color: var(--gold);
  margin-top: 4px;
}

/* —— Cards / grids —— */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

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

@media (max-width: 1100px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 163, 90, 0.4);
  box-shadow: 0 14px 32px rgba(27, 51, 38, 0.1);
}

.card-media {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: var(--page-light);
  object-fit: cover;
}

.card h3 { margin-bottom: 10px; color: var(--text-dark); }
.card p { font-size: 0.95rem; color: var(--text-muted-dark); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--gold-muted);
  color: var(--forest);
  font-size: 1.25rem;
}

/* —— Offers —— */
.offers {
  background: var(--forest);
}

.offers .section-label {
  color: var(--gold);
}

.offers h2,
.offers .section-intro,
.offers-disclaimer {
  color: rgba(245, 240, 232, 0.92);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.offer-card {
  position: relative;
  background: var(--forest-dark);
  border: 1px solid rgba(205, 163, 90, 0.22);
  border-radius: 28px;
  padding: 18px 18px 28px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.offer-badge-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.offer-badge-line {
  display: inline-block;
  background: var(--gold);
  color: var(--forest-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.offer-card h3 {
  margin: 14px 0 12px;
  color: var(--cream);
}

.offer-includes {
  text-align: left;
  margin: 0 auto 20px;
  max-width: 280px;
  padding: 0;
  list-style: none;
}
.offer-includes li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 6px;
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.85rem;
  line-height: 1.45;
}
.offer-includes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.offer-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 4px;
}

.offer-price--quote { font-size: 1.45rem; }

.card-note {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--gold-light);
}

.summary-row.hidden { display: none; }

.summary-panel.quote-only .summary-row:not(:last-child) { opacity: 0.65; }

.offer-price {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.offer-note {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(245, 240, 232, 0.78);
}
.offer-note + .offer-note {
  margin-top: -4px;
  margin-bottom: 18px;
}
.offer-list {
  text-align: left;
  margin: 0 auto 20px;
  max-width: 260px;
}
.offer-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.9rem;
}
.offer-list i { color: var(--gold); margin-top: 3px; }

.offers .btn-secondary {
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(205, 163, 90, 0.35);
  color: var(--cream);
}

.offers-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.92rem;
}

.offers-disclaimer--legal {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #A8B8AE;
}

/* —— Notre approche —— */
.method {
  background: var(--page-light);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: 48px;
}

.method-step {
  padding: 0;
  border: none;
  background: none;
}

.method-num {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: rgba(205, 163, 90, 0.7);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.method-step p:last-child {
  margin: 0;
  font-size: 1.02rem;
  max-width: 28ch;
  color: var(--text-muted-dark);
}

.method .fade {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .method-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .method-step p:last-child {
    max-width: none;
  }
}

/* —— Why Ajax —— */
.why-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 32px;
}

.why-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 700px) {
  .why-visuals {
    grid-template-columns: 1fr;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.why-item {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.why-links a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.why-links a:hover {
  color: var(--gold);
}

/* —— Configurator —— */
.configurator {
  background: var(--page-light);
}

.config-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.config-panel {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 28px;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
}

.progress-wrap { margin-bottom: 24px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}
.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 51, 38, 0.08);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.config-step[hidden] { display: none; }
.config-step h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.config-step > p {
  margin-bottom: 22px;
  font-size: 0.95rem;
  color: var(--text-muted-dark);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 110px;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  color: var(--text-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.choice-btn i { font-size: 1.4rem; color: var(--forest); }
.choice-btn:hover,
.choice-btn[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(205, 163, 90, 0.12);
}

.contact-pref {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}
.contact-pref legend {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-dark);
}
.choice-grid--prefs {
  grid-template-columns: 1fr 1fr;
}
.choice-btn--pref {
  min-height: 88px;
  position: relative;
  cursor: pointer;
}
.choice-btn--pref input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-btn--pref:has(input:checked),
.choice-btn--pref:has(input:focus-visible) {
  border-color: var(--gold);
  background: rgba(205, 163, 90, 0.12);
}

.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.qty-row label { color: var(--text-dark); font-weight: 500; }

.qty-row .included-hint {
  flex-basis: 100%;
  margin: -4px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

.config-subhead {
  margin: 16px 0 10px;
  color: var(--text-dark);
  font-weight: 500;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--page-light);
  color: var(--forest);
  font-size: 1.2rem;
  cursor: pointer;
}

.qty-controls input {
  width: 64px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  color: var(--text-dark);
  padding: 10px;
  font: inherit;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.toggle-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}

.config-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.summary-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.summary-panel h3 {
  margin-bottom: 14px;
  color: var(--forest);
}

.summary-list {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
  max-height: 280px;
  overflow: auto;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(27, 51, 38, 0.08);
}

.summary-totals {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 0.92rem;
}

.summary-totals .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-muted-dark);
}

.summary-totals .total {
  color: var(--forest);
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 10px;
}

.summary-maintenance {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--forest);
  font-weight: 500;
}

.summary-hint {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.mobile-summary-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
}

/* Quote form inside configurator */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

input, textarea, select {
  width: 100%;
  background: var(--page-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text-dark);
  font: inherit;
  outline: none;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(205, 163, 90, 0.55);
  background: var(--surface-light);
}

select option { color: #111; }

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted-dark);
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.form-feedback.visible { display: block; }
.form-feedback.success {
  background: rgba(27, 51, 38, 0.06);
  border: 1px solid rgba(27, 51, 38, 0.18);
  color: var(--text-dark);
}
.form-feedback.error {
  background: rgba(182, 80, 80, 0.08);
  border: 1px solid rgba(200, 120, 120, 0.28);
  color: #6B2E2E;
}

button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* —— About / languages / contact —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  min-height: 420px;
}

.lang-banner {
  background:
    linear-gradient(rgba(20, 40, 32, 0.55), rgba(27, 51, 38, 0.62)),
    url("../images/site/footer-lifestyle.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(205, 163, 90, 0.18);
  border-bottom: 1px solid rgba(205, 163, 90, 0.18);
}

.lang-banner .section-label {
  color: var(--gold);
}

.lang-banner h2,
.lang-banner .section-intro,
.lang-banner .langs-note,
.lang-banner p {
  color: rgba(245, 240, 232, 0.94);
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lang-pills span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(205, 163, 90, 0.35);
  background: rgba(245, 240, 232, 0.1);
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact { background: var(--bg-secondary); }

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

.contact-box {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.contact-points li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-muted-dark);
}

.contact-points i { color: var(--gold); margin-top: 4px; }

.privacy-box {
  margin-top: 40px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.privacy-box h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.05rem;
}

.privacy-box p { font-size: 0.9rem; color: var(--text-muted-dark); }

/* —— Footer —— */
footer {
  padding: 0 0 36px;
  border-top: 1px solid rgba(205, 163, 90, 0.18);
  background: var(--forest-dark);
  text-align: center;
}

.footer-visual {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(205, 163, 90, 0.14);
}

.footer-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
}

.footer-logo {
  height: 88px;
  width: auto;
  margin: 0 auto 20px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}

.footer-links a {
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.9rem;
}

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

.footer-social {
  margin: 8px 0 22px;
}

.footer-social-label {
  margin: 0 0 14px;
  color: rgba(245, 240, 232, 0.72);
  font-size: 0.9rem;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(205, 163, 90, 0.28);
  color: var(--cream);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(205, 163, 90, 0.1);
}

footer p {
  color: #A8B8AE;
  font-size: 0.88rem;
}

/* —— Animations —— */
.fade {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.75s ease;
}
.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--forest-dark);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .fade { opacity: 1; transform: none; }
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .offers-grid { grid-template-columns: 1fr; }
  .config-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .mobile-summary-toggle { display: inline-flex; }
  .summary-panel.collapsed-mobile { display: none; }
  .summary-panel.collapsed-mobile.is-open { display: block; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  section { padding: 80px 0; }
  .about-image img { min-height: 280px; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 28px, var(--container)); }
  .logo-img { height: 44px; }
  .card, .contact-box, .config-panel { padding: 22px; }
}
