/* ==========================================================================
   İNTERKABİN / INTER GLASS — Design System
   Aesthetic: architectural glass & aluminium — precise, industrial, editorial
   ========================================================================== */

:root {
  /* ink & neutrals */
  --ink:        #08161F;
  --ink-2:      #0E2634;
  --ink-3:      #1B3A4B;
  --slate:      #4A5B66;
  --slate-2:    #6B7C87;
  --line:       #DFE4E8;
  --line-soft:  #EDF0F2;
  --concrete:   #F3F5F6;
  --paper:      #FFFFFF;

  /* brand */
  --blue:       #0F6BB0;
  --blue-700:   #0B5289;
  --blue-300:   #66B7E4;
  --glass:      #4FBEEE;
  --glass-50:   #EAF6FD;
  --glass-100:  #D5EDFA;

  /* profile finishes (product swatches) */
  --f-black:  #1C1C1C;
  --f-gold:   #C8A54B;
  --f-bronze: #A9724A;
  --f-chrome: #C9D2D8;
  --f-white:  #F2F2F2;

  --bronze:   #A9724A;

  /* type */
  --font-display: "Archivo", "Segoe UI", Tahoma, sans-serif;
  --font-body:    "Manrope", "Segoe UI", Tahoma, sans-serif;

  /* space & shape */
  --wrap: 1280px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 31, .06);
  --shadow-md: 0 10px 30px -12px rgba(8, 22, 31, .18);
  --shadow-lg: 0 30px 70px -30px rgba(8, 22, 31, .35);

  /* z-scale */
  --z-nav: 50;
  --z-drawer: 60;
  --z-top: 70;
}

/* ------------------------------------------------------------ base reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-stretch: 108%; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -.01em; }
p  { margin: 0 0 1rem; max-width: 68ch; }

::selection { background: var(--glass); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; z-index: var(--z-top);
}
.skip:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------- utilities */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.muted { color: var(--slate); }
.hide { display: none !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--bronze); flex: none;
}
.eyebrow--light { color: var(--blue-300); }
.eyebrow--light::before { background: var(--glass); }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--slate); max-width: 62ch; }

.head-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

/* ---------------------------------------------------------------- button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--r-md);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-700); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--onDark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--onDark:hover { border-color: var(--glass); color: var(--glass); background: rgba(255,255,255,.05); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--blue);
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: .85rem; color: var(--blue-700); }
.link-arrow svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------- nav */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: .81rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; justify-content: space-between; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s ease; }
.topbar a:hover { color: var(--glass); }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
.topbar-group { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.nav__logo { flex: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav__menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .95rem;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--ink-2); border-radius: var(--r-md);
  transition: color .2s ease, background-color .2s ease;
}
.nav__menu a:hover { color: var(--blue); background: var(--glass-50); }
.nav__menu a[aria-current="page"] { color: var(--blue); }
.nav__cta { margin-left: .8rem; }
.nav__burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink);
}
.nav__burger svg { width: 22px; height: 22px; }

@media (max-width: 940px) {
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-drawer);
    max-height: calc(100vh - 120px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem, 4vw, 2.5rem) 1.4rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu a { min-height: 52px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__cta { margin: .9rem 0 0; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0A1D28 0%, #08161F 55%, #061119 100%);
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 20% 10%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 62%; height: 190%; top: -45%; right: -6%;
  background: linear-gradient(105deg, transparent 38%, rgba(79,190,238,.16) 50%, transparent 62%);
  transform: rotate(8deg);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.2rem, 8vw, 6.5rem);
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal; color: var(--glass);
  display: block;
}
.hero__lead { color: rgba(255,255,255,.72); font-size: clamp(1.03rem, 1.5vw, 1.18rem); max-width: 48ch; margin-top: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.4rem;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat strong {
  display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1;
}
.hero__stat span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.hero__visual {
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(79,190,238,.10), rgba(255,255,255,.02));
  padding: clamp(1.2rem, 3vw, 2.2rem);
}
.hero__visual .cabin { --panel-a: rgba(79,190,238,.30); --panel-b: rgba(79,190,238,.14); --frame: rgba(255,255,255,.78); --floor: rgba(255,255,255,.20); --mark: var(--glass); }
.hero__tag {
  position: absolute; bottom: -14px; left: clamp(1.2rem, 3vw, 2.2rem);
  background: var(--glass); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .5rem 1rem; border-radius: var(--r-sm);
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
}

/* ------------------------------------------------------ marquee / strip */
.strip {
  background: var(--concrete);
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
}
.strip__track {
  display: flex; gap: 3.2rem; align-items: center;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--slate-2);
  white-space: nowrap;
  animation: slide 38s linear infinite;
}
.strip__track span { display: inline-flex; align-items: center; gap: 3.2rem; }
.strip__track span::after { content: ""; width: 5px; height: 5px; background: var(--bronze); border-radius: 50%; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ cabin svg */
.cabin {
  --panel-a: #DCEEF9;
  --panel-b: #C2E2F5;
  --frame: #46525A;
  --floor: #E2E7EA;
  --mark: var(--blue);
  width: 100%; height: auto;
}

/* ------------------------------------------------------------ card grid */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.card__media {
  position: relative;
  background: linear-gradient(165deg, #F7FAFC 0%, #E9F1F6 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: 1.2rem 1.2rem .6rem;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
}
.card__code {
  position: absolute; top: .8rem; left: .9rem;
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; color: var(--slate-2);
}
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__series { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); font-weight: 700; font-family: var(--font-display); }
.card__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.card__desc { font-size: .88rem; color: var(--slate); margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .8rem; }
.chip {
  font-size: .74rem; font-weight: 600;
  padding: .28rem .6rem; border-radius: 999px;
  background: var(--glass-50); color: var(--blue-700); border: 1px solid var(--glass-100);
}
.chip--neutral { background: var(--concrete); color: var(--slate); border-color: var(--line); }
.card__link::after { content: ""; position: absolute; inset: 0; }

/* --------------------------------------------------------------- filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  min-height: 44px; padding: .55rem 1.1rem;
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  background: var(--paper); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--blue-300); color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter span { color: var(--slate-2); font-weight: 500; margin-left: .35rem; }
.filter[aria-pressed="true"] span { color: rgba(255,255,255,.55); }

/* -------------------------------------------------------- product detail */
.crumbs { font-size: .84rem; color: var(--slate-2); padding-block: 1.1rem; border-bottom: 1px solid var(--line-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.crumbs li::after { content: "/"; margin-left: .5rem; color: var(--line); }
.crumbs li:last-child::after { content: none; }
.crumbs a:hover { color: var(--blue); }

.detail { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }

.viewer {
  position: relative;
  background: linear-gradient(165deg, #F7FAFC 0%, #E4EEF4 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 4vw, 3rem);
  overflow: hidden;
}
.viewer::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(8,22,31,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8,22,31,.035) 1px, transparent 1px);
  background-size: 40px 40px;
}
.viewer .cabin { position: relative; }
.viewer__note {
  position: absolute; right: 1rem; bottom: 1rem;
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--slate-2);
}
.thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.thumb {
  width: 86px; aspect-ratio: 1; padding: .4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  display: grid; place-items: center; transition: border-color .2s ease;
}
.thumb:hover, .thumb[aria-pressed="true"] { border-color: var(--blue); }

.spec__series { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.spec__cat { color: var(--slate-2); font-size: .95rem; }
.spec__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--blue); letter-spacing: -.02em; margin: .25rem 0 1rem; }
.spec__desc { color: var(--ink-2); font-weight: 600; font-size: 1.02rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-soft); }

.spec__row { display: grid; grid-template-columns: 190px 1fr; gap: .8rem 1.2rem; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.spec__row dt { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink); }
.spec__row dd { margin: 0; color: var(--slate); }
@media (max-width: 520px) { .spec__row { grid-template-columns: 1fr; gap: .15rem; } }

.swatches { display: flex; flex-wrap: wrap; gap: 1rem; }
.swatch { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-2); }
.swatch i {
  width: 22px; height: 22px; border-radius: 50%; display: block; flex: none;
  border: 1px solid rgba(8,22,31,.18); box-shadow: inset 0 -3px 6px rgba(0,0,0,.18);
}

.sizes { width: 100%; border-collapse: collapse; margin-top: .4rem; font-size: .92rem; }
.sizes caption {
  text-align: left; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--ink); background: var(--concrete);
  padding: .7rem .9rem; border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.sizes td { border: 1px solid var(--line); padding: .7rem .9rem; color: var(--blue-700); font-variant-numeric: tabular-nums; }

.spec__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ---------------------------------------------------------------- tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: .3rem; flex-wrap: wrap; }
.tab {
  min-height: 48px; padding: .6rem 1.1rem; background: none; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--slate);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--blue); }
.tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.tabpanel { padding-top: 1.8rem; }

/* --------------------------------------------------------------- panels */
.feature {
  display: flex; gap: 1rem; padding: 1.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.feature__ico {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--glass-50); color: var(--blue);
  display: grid; place-items: center;
}
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { font-size: .9rem; color: var(--slate); margin: 0; }

.dark-band { background: var(--ink); color: rgba(255,255,255,.72); }
.dark-band h2 { color: #fff; }
.dark-band .lead { color: rgba(255,255,255,.62); }

.stepline { display: grid; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: var(--ink); padding: 1.7rem 1.5rem; }
.step__n { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--glass); }
.step h3 { color: #fff; font-size: 1.05rem; margin: .6rem 0 .4rem; }
.step p { font-size: .88rem; color: rgba(255,255,255,.6); margin: 0; }

/* -------------------------------------------------------- empty projects */
.empty-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.empty-card {
  aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, rgba(15,107,176,.03) 0 12px, transparent 12px 24px);
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  color: var(--slate-2);
}
.empty-card svg { width: 34px; height: 34px; margin: 0 auto .7rem; opacity: .5; }
.empty-card strong { font-family: var(--font-display); display: block; color: var(--ink); font-size: .95rem; }
.empty-card span { font-size: .82rem; }

.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem 1.3rem;
  background: var(--glass-50); border: 1px solid var(--glass-100);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-md);
  font-size: .92rem; color: var(--ink-2);
}
.notice svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  min-height: 48px; padding: .7rem .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,107,176,.14);
}
.field small { color: var(--slate-2); font-size: .8rem; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

.contact-card {
  display: flex; gap: 1rem; padding: 1.3rem;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper);
}
.contact-card__ico { width: 42px; height: 42px; flex: none; border-radius: var(--r-md); background: var(--ink); color: var(--glass); display: grid; place-items: center; }
.contact-card__ico svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: .98rem; margin-bottom: .25rem; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--slate); margin: 0; }
.contact-card a:hover { color: var(--blue); }

.map-frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--concrete); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------------------------------------------------------- cta */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue-700), var(--blue) 60%, #1583CE);
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between;
}
.cta-band::after {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 45%; height: 220%;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%);
  transform: rotate(10deg);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); margin: .6rem 0 0; position: relative; }
.cta-band .btn { position: relative; }
.cta-band .btn--light { background: #fff; color: var(--blue-700); }
.cta-band .btn--light:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.4rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer img.logo { height: 46px; width: auto; margin-bottom: 1.1rem; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: .55rem; font-size: .92rem; }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--glass); }
.footer__bottom {
  margin-top: 3rem; padding-block: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .84rem;
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 40px; height: 40px; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.social a:hover { border-color: var(--glass); color: var(--glass); background: rgba(255,255,255,.04); }
.social svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ page head */
.pagehead {
  background: var(--concrete);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.4rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.pagehead::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border: 1px solid var(--line); border-radius: 50%;
}
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.pagehead p { margin-top: .9rem; }

/* ---------------------------------------------------------- reveal anim */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ print-ish */
@media print {
  .nav, .topbar, .footer, .cta-band, .hero__actions { display: none; }
}

/* ------------------------------------------------------- language switch */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 44px; margin-left: .5rem; padding: .4rem .7rem;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em;
  color: var(--slate); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.lang-switch:hover { color: var(--blue); border-color: var(--blue-300); background: var(--glass-50); }
@media (max-width: 940px) {
  .lang-switch { margin: .9rem 0 0; width: 100%; }
}

/* ------------------------------------------------------- photo cards */
.card__media--photo { padding: 0; aspect-ratio: 1 / 1; background: #F2F4F6; overflow: hidden; }
.card__media--photo picture, .card__media--photo img { width: 100%; height: 100%; display: block; }
.card__media--photo img { object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media--photo img { transform: scale(1.035); }
.card__media--photo .card__code {
  z-index: 2; background: rgba(255,255,255,.9); padding: .2rem .45rem; border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
}

/* -------------------------------------------------- product viewer */
.viewer--photo { padding: 0; background: #EEF2F5; aspect-ratio: 1 / 1; }
.viewer--photo::before { content: none; }
.viewer--photo .view { width: 100%; height: 100%; }
.viewer--photo .view[hidden] { display: none; }
.viewer--photo picture, .viewer--photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.viewer--photo .view:not([data-view="foto"]) {
  display: grid; place-items: center; padding: clamp(1.2rem, 4vw, 2.6rem);
  background: linear-gradient(165deg, #F7FAFC 0%, #E4EEF4 100%);
}
.thumb picture, .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.thumb { overflow: hidden; }

/* ------------------------------------------------- profile finishes */
.finish-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
@media (max-width: 820px) { .finish-wrap { grid-template-columns: 1fr; } }
.finishes { display: grid; gap: .6rem; }
.finish {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center;
  padding: .75rem 1rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s ease;
}
.finish:hover { border-color: var(--blue-300); }
.finish__chip {
  display: block; width: 44px; height: 26px; border-radius: 4px;
  border: 1px solid rgba(8,22,31,.18);
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.12), inset 0 2px 3px rgba(255,255,255,.5);
}
.finish__name { font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink); }
.finish__code { font-size: .74rem; letter-spacing: .1em; color: var(--slate-2); text-transform: uppercase; }
.finish-chart {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--concrete);
}
.finish-chart img { width: 100%; height: auto; display: block; }

/* -------------------------------------------------- pattern gallery */
.pattern-grid {
  display: grid; gap: clamp(.7rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.pattern-grid--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pattern {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pattern:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.pattern img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.pattern figcaption {
  padding: .55rem .7rem; font-size: .78rem; font-weight: 600;
  font-family: var(--font-display); color: var(--slate);
  border-top: 1px solid var(--line-soft); text-align: center;
}

/* ================================================= project gallery */
.gallery {
  display: grid; gap: clamp(.7rem, 1.6vw, 1.15rem);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.gallery--teaser { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.shot {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shot:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.shot.hide { display: none; }

.shot__btn {
  display: block; position: relative; width: 100%; padding: 0;
  border: 0; background: #EDF1F4; cursor: zoom-in;
  aspect-ratio: 3 / 4; overflow: hidden;
}
.shot__btn picture, .shot__btn img { width: 100%; height: 100%; display: block; }
.shot__btn img { object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.shot:hover .shot__btn img { transform: scale(1.04); }
.shot__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,22,31,.28), transparent 42%);
  opacity: 0; transition: opacity .25s ease;
}
.shot:hover .shot__btn::after { opacity: 1; }
.shot figcaption {
  padding: .6rem .8rem; font-size: .8rem; color: var(--slate);
  border-top: 1px solid var(--line-soft);
}

/* ------------------------------------------------------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-top);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(.4rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 17, 24, .94);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  gap: .9rem; min-width: 0; max-height: 100%;
}
.lightbox__figure img {
  max-width: 100%; max-height: calc(100vh - 9rem);
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--r-md); background: #0B1B24;
}
.lightbox__figure figcaption {
  color: rgba(255,255,255,.72); font-size: .88rem; text-align: center;
  font-family: var(--font-display);
}
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  transition: background-color .2s ease, border-color .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: rgba(255,255,255,.16); border-color: var(--glass);
}
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox__nav { position: static; }
  .lightbox__nav--prev { grid-row: 2; justify-self: start; }
  .lightbox__nav--next { grid-row: 2; grid-column: 1; justify-self: end; }
  .lightbox__figure { grid-row: 1; }
  .lightbox__figure img { max-height: calc(100vh - 12rem); }
}
body.lb-open { overflow: hidden; }
