:root {
  --bg: #e8d9c5;
  --tab: #d7cdc2;
  --tab-top: #ede7df;
  --tab-border: #b6ac9f;
  --tab-shadow: rgba(0,0,0,.25);
  --btn: rgb(216, 210, 207);
  --hover: rgb(215, 134, 126);
  --hover-dark: rgb(201, 118, 110);
  --gold-line: rgb(205, 167, 83);
  --text: rgb(123, 80, 69);
  --submenu-bg: rgba(215, 134, 126, 0.12);
  --submenu-shadow: rgba(215, 134, 126, 0.35);
  --white: #fff;
}

@media (max-width: 700px) {
  .site-footer { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-logos { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .footer-logos img { height: 30px; width: auto; }
  .footer-logos img + img { border-left: 0; margin-left: 0; padding-left: 0; }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background: url('../img/bg.png') center top / cover no-repeat fixed,
              radial-gradient(100% 60% at 50% 0%, #eddcc7 0%, #d7c7ad 60%, #cdbb9f 100%);
  opacity: 0.9;
}

.hero { position: relative; padding-top: 10px; }
.hero-inner { max-width: 1440px; margin: 0 auto; position: relative; }

header { position: relative; }
.topbar { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 22px;  }
.brand-top { max-height: 38px; height: auto; width: auto; max-width: 48vw; object-fit: contain; }
.menu-toggle { display: none; padding: 8px 12px; border-radius: 20px; border: 1px solid var(--tab-border); background: rgba(255,255,255,.65); color: var(--text); font-weight: 600; }

.nav-overlay { position: fixed; inset: 0; display: none; background: rgba(0,0,0,.45); z-index: 69; }

.menu-close { display: none; }
.menu-logo { display: none; }
.menu-header { display: none; }

.lang-switcher { display: flex; align-items: center; gap: 14px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; background: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.topbar .lang-switcher { margin-left: auto; }
.lang-switcher .lang { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 18px; color: #fff; font-weight: 600; text-decoration: none; }
.lang-switcher .lang img { width: 24px; height: 18px; border-radius: 2px; }
.lang-switcher .lang.active { background: rgba(0,0,0,.25); }
.lang-switcher .lang:hover { background: rgba(0,0,0,.15); }

.topbar-actions { display: none; align-items: center; gap: 10px; }
.lang-current { display: none; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 18px; border: 1px solid var(--tab-border); background: rgba(255,255,255,.75); color: var(--text); font-weight: 600; }
.lang-current img { width: 24px; height: 18px; border-radius: 2px; }

.brand-top { position: static; height: 54px; width: auto; z-index: 1; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }

.center-logos { position: absolute; left: 50%; top: 100px; transform: translateX(-50%); z-index: 3; text-align: center; }
.logo-main { height: 120px; width: auto; display: block; margin: 0 auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.logo-slogan { height: 28px; margin-top: 6px; width: auto; opacity: .95; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.logo-slogan-mobile { display: none; height: 24px; margin-top: 6px; width: auto; opacity: .98; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }

.hero-collage { width: 100%; max-width: 680px; margin: 0 auto; display: block; position: relative; z-index: 1; }

.crest-badge { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); width: 100%; z-index: 4; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }

.nav-tabs { display: none; }

.nav-tabs { display: flex; justify-content: center; margin-top: 18px; position: relative; z-index: 50; }
.nav-tabs ul { list-style: none; display: flex; gap: 12px; padding: 0 16px; margin: 0 auto; max-width: 1440px; width: 100%; }
.nav-tabs ul { gap: 12px; }
.nav-tabs ul > li { flex: 1 1 0; }
.nav-tabs .nav-lang { display: none; }
.nav-tabs a { text-decoration: none; color: var(--text); font-weight: 500; letter-spacing: .2px; text-transform: uppercase; }

.nav-tabs li { position: relative; }
.nav-tabs li > a {
  display: block; padding: 8px 16px; border-radius: 12px; min-width: 0; text-align: center; width: 100%;
  background: linear-gradient(var(--btn), color-mix(in srgb, var(--btn) 86%, #000 14%));
  border: 1px solid var(--tab-border);
}
.nav-tabs li.has-dropdown > a { position: relative; padding-right: 28px; }
.nav-tabs li.has-dropdown > a::before { content: "\25BE"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; opacity: .7; }
.nav-tabs li.open > a::before { transform: translateY(-50%) rotate(180deg); }
.nav-tabs li > a::after {
  content: ""; display: block; height: 2px; width: 60%; margin: 6px auto 0; border-radius: 2px;
  background: var(--gold-line);
}
.nav-tabs li:hover > a, .nav-tabs li.active > a {
  background: linear-gradient(var(--hover), var(--hover-dark)); color: #fff; border-color: #b96565;
}
.nav-tabs li:hover > a::after, .nav-tabs li.active > a::after {
  background: rgba(255, 255, 255, 0.8);
}

.dropdown-panel {
  position: absolute; left: 0; top: calc(100% + 8px);
  width: 240px; padding: 12px; border-radius: 10px;
  background: var(--submenu-bg);
  border: 1px solid var(--tab-border);
  box-shadow: 0 10px 20px var(--submenu-shadow);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  z-index: 60;
  transition: all .18s ease-out;
}
.nav-tabs li.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }

@media (min-width: 901px) {
  .has-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
}

.dropdown-title { display:block; color: var(--text); padding: 4px 2px 8px; margin-bottom: 6px; font-weight: 600; }
.dropdown-primary { display:block; background: linear-gradient(var(--hover), var(--hover-dark)); color:#fff; border:1px solid var(--tab-border); border-radius:8px; padding:10px 12px; margin-bottom:10px; font-weight:700; }
.dropdown-item {
  display: block; background: linear-gradient(var(--btn), color-mix(in srgb, var(--btn) 86%, #000 14%));
  border: 1px solid var(--tab-border); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 8px; color: var(--text); font-weight: 500;
}
.dropdown-item:hover { background: linear-gradient(var(--hover), var(--hover-dark)); color: #fff; }

.slider-section { max-width: 1440px; margin: 16px auto 24px; padding: 0 16px; }
.hero-swiper { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.3); height: 520px; }
.hero-swiper .swiper-wrapper { height: 100%; }
.hero-swiper .swiper-slide { position: relative; height: 100%; }
.hero-swiper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-weight: 800; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }

.swiper-button-next, .swiper-button-prev { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.swiper-pagination-bullet { background: rgba(255,255,255,.8); opacity: .8; }
.swiper-pagination-bullet-active { background: #fff; }

.nav-overlay { display:none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 69; }
body.menu-open .nav-overlay { display: block; }
body.lang-open .nav-overlay { display: block; }

.lang-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 80; background: rgba(0,0,0,.45); padding: 16px; }
.lang-modal[aria-hidden="false"], body.lang-open .lang-modal { display: flex; }
.lang-modal-content { width: min(520px, 92vw); background: rgba(255,255,255,.95); border: 1px solid var(--tab-border); border-radius: 12px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.lang-modal-header { font-weight: 700; color: var(--text); margin-bottom: 12px; }
.modal-lang { background: transparent; border: 0; backdrop-filter: none; padding: 0; }
.modal-lang .lang { color: var(--text); background: rgba(0,0,0,.04); }
.modal-lang .lang:hover { background: rgba(0,0,0,.08); }
.modal-lang .lang.active { background: rgba(0,0,0,.1); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 16px; margin: 32px auto; border-top: 1px solid rgba(0,0,0,.08); max-width: 1440px; }
.footer-logos { display: flex; align-items: center; }
.footer-logos img { height: 36px; width: auto; display: block; }
.footer-logos img + img { margin-left: 14px; padding-left: 14px; border-left: 2px solid #7b5045; }
.footer-links { display: flex; align-items: center; gap: 18px; }
.footer-links a { color: #3a2f27; font-weight: 600; text-decoration: none; }
.footer-links .site-link img { height: 22px; width: auto; display: block; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.1); font-weight: 800; color: #6b5a4b; overflow: hidden; }
.socials img { width: 32px; height: 32px; object-fit: contain; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.15)); }
.socials a:hover { background: rgba(255,255,255,.95); }

.page-content { max-width: 1200px; margin: 32px auto; padding: 0 16px; color: var(--text); }
.page-header { text-align: center; margin-bottom: 24px; }
.page-header h1 { font-family: 'Marcellus', serif; letter-spacing: .5px; margin: 0 0 8px; color: var(--text); }
.page-header .lead { max-width: 920px; margin: 0 auto; opacity: .9; }
.page-section { margin: 24px 0; }
.page-section h2 { margin: 0 0 10px; color: var(--text); }
.page-section h3 { margin: 16px 0 8px; color: var(--text); }
.page-section ul { margin: 0 0 8px 18px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 24px; align-items: start; }

.videos-section {  margin: 24px auto 40px; padding: 0 16px; color: var(--text); }
.videos-section h2 { text-align: center; margin: 0 0 16px; font-family: 'Marcellus', serif; }
.videos-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.video-card { display: flex; flex-direction: column; gap: 8px; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.18); border: 1px solid rgba(0,0,0,.08); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-title { text-align: center; font-weight: 600; opacity: .9; }

.map-wrap { max-width: 1200px; margin: 24px auto; padding: 0 16px; }
.map-canvas { width: 100%; height: 420px; border-radius: 12px; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 8px 24px rgba(0,0,0,.16); overflow: hidden; background: #eaeaea; }
.gm-iw { font-size: 14px; line-height: 1.4; }
.locations-wrap { max-width: 1200px; margin: 12px auto 40px; padding: 0 16px; }
.locations-wrap h2 { font-family: 'Marcellus', serif; margin: 8px 0 12px; text-align: center; }
.locations-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.location-item { border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 12px; background: rgba(255,255,255,.85); box-shadow: 0 4px 16px rgba(0,0,0,.08); cursor: pointer; }
.location-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.loc-title { font-weight: 700; margin-bottom: 6px; color: var(--text); }
.loc-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; opacity: .9; }
.loc-meta a { color: #3a2f27; font-weight: 600; text-decoration: none; }
.loc-address { margin-top: 6px; font-size: 14px; opacity: .9; }

.contact-page .map-wrap { max-width: 1200px; margin: 16px auto; padding: 0 16px; }
.map-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.16); border: 1px solid rgba(0,0,0,.12); background: #eaeaea; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.contact-wrap { max-width: 1200px; margin: 8px auto 40px; padding: 0 16px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.contact-form { background: rgba(255,255,255,.86); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--tab-border); background: #fff; color: var(--text); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #b96565; box-shadow: 0 0 0 3px rgba(185,101,101,.18); }
.form-row { margin-bottom: 12px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; align-items: center; gap: 12px; }
.btn-primary { display: inline-block; padding: 10px 16px; border-radius: 12px; border: 1px solid #b96565; background: linear-gradient(var(--hover), var(--hover-dark)); color: #fff; font-weight: 700; cursor: pointer; }
.btn-primary:hover { filter: brightness(1.05); }
.form-note { font-size: 14px; }
.contact-info { background: rgba(255,255,255,.86); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.contact-info h3 { margin: 0 0 10px; font-family: 'Marcellus', serif; }
.contact-info ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.contact-info a { color: #3a2f27; font-weight: 600; text-decoration: none; }

.products-section { max-width: 1200px; margin: 16px auto 40px; padding: 0 16px; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.product-card { display: block; background: rgba(255,255,255,.86); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.12); color: inherit; text-decoration: none; }
.product-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.16); transform: translateY(-1px); }
.product-image { position: relative; width: 100%; padding-top: 66%; border-radius: 10px; overflow: hidden; background: #eee; }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.product-title { margin: 10px 6px 2px; font-size: 16px; font-weight: 700; color: var(--text); text-align: center; }

.product-detail { max-width: 1200px; margin: 24px auto 40px; padding: 0 16px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.product-media { background: rgba(255,255,255,.86); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.product-media a { display: block; border-radius: 10px; overflow: hidden; }
.product-media img { width: 100%; height: auto; display: block; border-radius: 10px; object-fit: cover; }
.product-info h1 { margin: 6px 0 10px; font-family: 'Marcellus', serif; color: var(--text); }
.product-info p { opacity: .92; }
.product-features { margin: 10px 0 16px 18px; }

.lb-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: none; align-items: center; justify-content: center; z-index: 1000; }
.lb-overlay.open { display: flex; }
.lb-content { max-width: min(92vw, 1100px); max-height: 92vh; }
.lb-content img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.lb-close { position: fixed; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); border: 1px solid rgba(0,0,0,.15); font-weight: 800; color: #333; line-height: 40px; text-align: center; cursor: pointer; z-index: 1001; }

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .map-canvas { height: 360px; }
  .locations-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-detail { grid-template-columns: 1fr; }

  .nav-tabs { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: radial-gradient(120% 60% at 50% 0%, rgba(185,101,101,.06), transparent 60%), rgba(255,255,255,.97); display: none !important; margin-top: 0; z-index: 70; overflow-y: auto; padding: 125px 12px 16px; box-shadow: inset 0 0 120px rgba(0,0,0,.28), inset 0 0 240px rgba(185,101,101,.38), inset 0 0 60px rgba(185,101,101,.22); opacity: 0; visibility: hidden; transform: translateX(-36px); transition: opacity .36s ease-in-out, transform .36s ease-in-out, visibility .36s ease-in-out; pointer-events: none; }
  body.menu-open .nav-tabs { display: flex !important; opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }

  .menu-header { position: fixed; left: 12px; right: 12px; top: 40px; z-index: 71; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .menu-logo { display: inline-block; height: 35px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
  .menu-close { display: inline-block; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--tab-border); background: rgba(255,255,255,.95); color: var(--text); font-weight: 800; font-size: 22px; line-height: 38px; text-align: center; }

  .nav-tabs > ul { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; width: 100%; max-width: 820px; }
  .nav-tabs ul { flex-direction: column; width: 100%; max-width: 820px; margin: 0 auto; gap: 10px; justify-content: flex-start; }
  .nav-tabs ul > li { flex: 0 0 auto !important; }
  .nav-tabs li { margin: 0; }
  .nav-tabs li > a { display: flex; align-items: center; justify-content: center; width: 75%; margin: 0 auto; font-size: 15px; height: 44px; padding: 0 12px; line-height: 1.2; }
  .nav-tabs li > a::after { display: none; }
  .topbar .lang-switcher { display: none; }
}
@media (max-width: 640px) {
  .videos-grid { grid-template-columns: 1fr; }
  .map-canvas { height: 300px; }
  .locations-list { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-swiper { height: 380px; }
  .footer-logos img + img { border-left: 0; padding-left: 0; }
  .logo-main { height: 96px; }
  .logo-slogan { height: 20px; margin-top:15px; }
  .brand-top { max-height: 38px; height: auto; width: auto; max-width: 48vw; object-fit: contain; }
  .topbar { display: flex; align-items: center; gap: 8px; }
  .topbar-actions { margin-left: auto; gap: 8px; align-items: center; }
  .hero-collage { max-width: 720px; }
  .menu-toggle { display: inline-block; }
  .lang-current { display: inline-flex; }
  .topbar-actions { display: flex; }
  .topbar .lang-switcher { display: none; }
  .two-cols { grid-template-columns: 1fr; }
  .nav-tabs > ul { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; width: 100%; max-width: 820px; }
  body.menu-open .nav-tabs { display: flex; }
  .nav-lang .lang { color: var(--text); font-weight: 600; background: transparent; border-radius: 18px; padding: 6px 10px; }
  .nav-lang .lang.active { background: rgba(0,0,0,.06); }
  .nav-tabs ul { flex-direction: column; width: 100%; max-width: 820px; margin: 0 auto; gap: 10px; justify-content: flex-start; }
  .nav-tabs ul > li { flex: 0 0 auto !important; }
  .nav-tabs li { margin: 0; }
  .nav-tabs li > a { display: flex; align-items: center; justify-content: center; width: 75%; margin: 0 auto; font-size: 15px; height: 44px; padding: 0 12px; line-height: 1.2; }
  .nav-tabs li > a::after { display: none; }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; background: var(--submenu-bg); box-shadow: 0 8px 16px var(--submenu-shadow); border: 0; margin-top: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .28s ease, margin-top .2s ease, border-color .2s ease, padding .2s ease; }
  .nav-tabs li.open .dropdown-panel { max-height: 1000px; margin-top: 6px; border: 1px solid #b96565; padding: 6px 10px; }
  .has-dropdown:hover .dropdown-panel { opacity: 0; visibility: hidden; }
}
@media (max-width: 640px) {
  .nav-tabs ul { gap: 10px; }
  .nav-tabs li > a { min-width: auto; padding: 0 10px; border-radius: 10px; font-weight: 600; }
  .hero-collage { max-width: 80vw; }
  .topbar { gap: 6px; padding: 4px 6px; }
  .brand-top { max-width: 52vw; }
  .hero-swiper { height: 260px; }
  .logo-slogan { display: none; }
  .logo-slogan-mobile { display: block; }
  .dropdown-panel { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: 0; width: 100%; }
  .crest-badge { bottom: 6px; height: 80px; }
  .lang-modal .modal-lang { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .lang-modal .modal-lang .lang { width: 100%; justify-content: flex-start; }
}

.container-1440 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}