/* ==========================================================================
   K2MODUL — static site styles
   Brand: muted gold + charcoal, warm cream backgrounds, editorial serif
   ========================================================================== */

:root {
  --gold: #c1974e;
  --gold-dark: #a67c33;
  --gold-soft: #d9c199;
  --charcoal: #3d3d3f;
  --ink: #2a2a2b;
  --cream: #faf8f3;
  --sand: #efe9dd;
  --sand-line: #e3dccc;
  --white: #ffffff;
  --muted: #7a756c;

  --font-serif: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gap: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --shadow: 0 12px 40px rgba(40, 35, 25, 0.10);
  --shadow-sm: 0 4px 16px rgba(40, 35, 25, 0.08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  display: block;
}

.lead { font-size: 1.18rem; color: #55524c; max-width: 62ch; }

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--charcoal); color: #f3efe8; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead { color: #d9d4ca; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95em 2em;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.nav__logo img { height: 46px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav__link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.4em 0;
  position: relative;
  white-space: nowrap;
  background: none; border: none; cursor: pointer;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

/* dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 190px;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 0.6em 0.9em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-radius: 3px;
}
.nav__dropdown a:hover { background: var(--sand); color: var(--gold-dark); }

.nav__right { display: flex; align-items: center; gap: 1rem; }

/* language switcher */
.lang { position: relative; }
.lang__toggle {
  display: flex; align-items: center; gap: 0.4em;
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none; border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 0.5em 0.8em; cursor: pointer; color: var(--charcoal);
}
.lang__toggle:hover { border-color: var(--gold); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--sand-line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 0.4rem; min-width: 150px;
  display: none; z-index: 120;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu button {
  display: flex; width: 100%; align-items: center; gap: 0.5em;
  background: none; border: none; cursor: pointer;
  padding: 0.55em 0.8em; font-size: 0.85rem; font-family: var(--font-sans);
  color: var(--charcoal); border-radius: 3px; text-align: left;
}
.lang__menu button:hover { background: var(--sand); }
.lang__menu button.is-active { color: var(--gold-dark); font-weight: 700; }

/* burger */
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: 0.3s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(30,28,24,0.72) 0%, rgba(30,28,24,0.35) 55%, rgba(30,28,24,0.15) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: 0.5rem; }
.hero .lead { color: #f0ece3; font-size: 1.3rem; margin-bottom: 2rem; max-width: 34ch; }
.hero .eyebrow { color: var(--gold-soft); }

/* compact page hero variant (image right) */
.pagehero { padding-block: clamp(3rem, 7vw, 5.5rem); }

.modeko-wordmark { width: min(460px, 78%); margin: 0.5rem auto 1.5rem; }
.pagehero .eyebrow { }

/* ==========================================================================
   Feature strip (icons band)
   ========================================================================== */
.featureband { background: var(--white); border-block: 1px solid var(--sand-line); }
.featureband img { margin-inline: auto; width: 100%; max-width: 1100px; }

/* ==========================================================================
   Paths (3 cards)
   ========================================================================== */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: 3rem; }
.pathcard {
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pathcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pathcard__img { aspect-ratio: 3/2; background: var(--sand); overflow: hidden; }
.pathcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pathcard__body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.pathcard h3 { margin-bottom: 0.4rem; }
.pathcard p { color: #5f5b53; font-size: 0.98rem; flex: 1; }
.pathcard .arrow { color: var(--gold-dark); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 1rem; }

/* ==========================================================================
   Split (image + text)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.split__body { max-width: 40rem; }

.tech-img { width: 100%; max-width: 1100px; margin: 2.5rem auto 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.imgrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.imgrow img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Interior styles / model cards
   ========================================================================== */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.stylecard { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand-line); }
.stylecard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stylecard__body { padding: 1.4rem 1.4rem 1.6rem; }
.stylecard h3 { margin-bottom: 0.3rem; }
.stylecard p { color: #5f5b53; font-size: 0.96rem; margin: 0; }

/* model (spacious) */
.model { border-top: 1px solid var(--sand-line); padding-top: clamp(2rem, 5vw, 3.5rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.model:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.model__tag { font-family: var(--font-serif); font-size: clamp(1.8rem,4vw,2.6rem); color: var(--gold-dark); }
.model__dim { font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-left: 0.5rem; }

/* ==========================================================================
   Modeko compositions (pdf downloads)
   ========================================================================== */
.pricepill {
  display: inline-block; background: var(--sand); border: 1px solid var(--sand-line);
  border-radius: 100px; padding: 0.6em 1.4em; font-weight: 600; color: var(--gold-dark);
  font-family: var(--font-sans); font-size: 1.05rem;
}
.downloads { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.download {
  display: inline-flex; align-items: center; gap: 0.6em;
  background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius);
  padding: 0.9em 1.3em; font-weight: 600; font-size: 0.9rem; color: var(--charcoal);
  transition: all 0.2s ease;
}
.download:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }
.download svg { flex-shrink: 0; }

.contactcols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem,4vw,3rem); margin-top: 2.5rem; }
.contactcol h4 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--gold-dark); margin-bottom: 0.6rem; }
.contactcol p { margin: 0; color: #5f5b53; }

/* ==========================================================================
   Contact / form
   ========================================================================== */
.contactgrid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem;
  padding: 0.85em 1em; border: 1px solid var(--sand-line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 130px; }
.form__success { display: none; padding: 1em 1.2em; background: #eef5ec; border: 1px solid #cfe3c8; border-radius: var(--radius); color: #3c6b34; }
.form.is-sent .form__success { display: block; }

.infoblock + .infoblock { margin-top: 1.8rem; }
.infoblock h4 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--gold-dark); margin-bottom: 0.5rem; }
.infoblock p { margin: 0; color: #55524c; }
.infoblock a { color: var(--gold-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal); color: #d9d4ca; padding-block: 3.5rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.footer__brand { font-family: var(--font-serif); }
.footer__brand strong { display: block; font-size: 1.6rem; letter-spacing: 0.3em; color: #fff; }
.footer__brand span { font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-soft); }
.footer__meta { font-size: 0.85rem; line-height: 1.8; }
.footer__meta a { color: var(--gold-soft); }
.footer__social { display: flex; gap: 1rem; }
.footer__social a { color: #d9d4ca; transition: color 0.2s; }
.footer__social a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.78rem; color: #9a948a; }

/* ==========================================================================
   Project videos (YouTube facades + vertical clips)
   ========================================================================== */
.videogrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin-top: 3rem;
}
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yt-facade:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  background: rgba(30, 28, 24, 0.75);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.yt-facade:hover .play { background: var(--gold); }
.yt-facade .play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.yt-facade .vtitle {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(20, 18, 15, 0.85));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
}
.clipsrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin-top: clamp(1rem, 2.5vw, 1.8rem);
}
.clip { position: relative; }
.clip video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-sm);
  display: block;
}
.clip figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: center;
}
.videos-cta { text-align: center; margin-top: 2.5rem; }
@media (max-width: 900px) {
  .videogrid { grid-template-columns: 1fr; }
  .clipsrow { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
}
@media (max-width: 560px) {
  .clipsrow { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: #25d366;
  color: #fff;
  padding: 0.7em 1.1em 0.7em 0.85em;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float__label { white-space: nowrap; }
@media (max-width: 560px) {
  .wa-float { padding: 0.8em; }
  .wa-float__label { display: none; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* keyboard focus */
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .paths, .grid3, .imgrow { grid-template-columns: 1fr; }
  .split, .grid2, .contactgrid, .contactcols { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .form__row { grid-template-columns: 1fr; }

  .nav__menu, .nav__right .lang { }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start;
    background: var(--white); border-bottom: 1px solid var(--sand-line);
    padding: 1.2rem 1.5rem 2rem; gap: 0.3rem;
    transform: translateY(-120%); transition: transform 0.3s ease;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__item { width: 100%; }
  .nav__link { padding: 0.8em 0; font-size: 0.95rem; }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 1rem; min-width: 0;
  }
  .nav__dropdown a { padding: 0.5em 0; }
  .nav__burger { display: block; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .imgrow { grid-template-columns: 1fr 1fr; }
  .hero .lead { font-size: 1.1rem; }
}

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

/* ==========================================================================
   Cookie / privacy notice bar
   ========================================================================== */
.cookiebar {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 210;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.cookiebar[hidden] { display: none; }
.cookiebar p { margin: 0; font-size: 0.85rem; color: #55524c; line-height: 1.55; }
.cookiebar a { color: var(--gold-dark); text-decoration: underline; }
.cookiebar__ok {
  align-self: flex-start;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.7em 1.6em; border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper, #fff); cursor: pointer;
  transition: opacity 0.2s;
}
.cookiebar__ok:hover { opacity: 0.85; }
@media (max-width: 560px) {
  .cookiebar { left: 0.7rem; right: 0.7rem; bottom: 0.7rem; max-width: none; }
}

/* footer bottom: copyright + privacy link on one row */
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; }
.footer__bottom a { color: var(--gold-soft); }
.footer__bottom a:hover { color: var(--gold); }

/* ==========================================================================
   Legal / policy page
   ========================================================================== */
.legal { max-width: 60rem; margin-inline: auto; }
.legal h1 { margin-bottom: 0.3rem; }
.legal .legal__updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2.4rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6rem; }
.legal p, .legal li { color: #45413a; font-size: 0.98rem; line-height: 1.75; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--gold-dark); text-decoration: underline; }
.legal .legal__lang-sep { border: none; border-top: 1px solid var(--sand-line); margin: 4rem 0; }
