/* ČOREJA Truhlářství - Public Website Styles */
/* Design: v6.1 gold/charcoal visual system adapted to current HTML structure */
/* Color Palette: Black, Charcoal, Gold, Wood */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --color-black: #000000;
  --color-charcoal: #1a1a1a;
  --color-charcoal-light: #2a2a2a;
  --color-gold: #d4a853;
  --color-gold-dark: #b8913d;
  --color-wood: #8b6f47;
  --color-white: #ffffff;
  --color-gray: #666666;
  --color-gray-light: #999999;
  --color-bg-dark: #0d0d0d;
  /* v6.1 design tokens */
  --design-bg: #0c0d0e;
  --design-bg2: #151514;
  --design-panel: #191919;
  --design-line: #3b3528;
  --design-gold: #e2af36;
  --design-gold2: #ffd681;
  --design-ink: #f3f0e8;
  --design-mute: #bcb8ad;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, "Times New Roman", serif;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--design-ink);
  background: var(--design-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--design-gold2);
  outline-offset: 3px;
}

/* Utilities */
.wrap {
  width: min(1390px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  scroll-margin-top: 82px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--design-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.fine-print {
  font-size: 0.875rem;
  color: var(--design-mute);
  margin-top: 2rem;
  line-height: 1.5;
}

/* Top Line */
.topline {
  height: 36px;
  background: #070809;
  border-bottom: 1px solid #232017;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(34px, calc((100vw - 1390px)/2));
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #b4a98d;
}

.topline .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.topline div {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.topline a:hover {
  color: var(--design-gold2);
}

/* Header */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 78px;
  background: #10100ff7;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #52401f;
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 0 max(28px, calc((100vw - 1390px)/2));
  box-shadow: 0 4px 20px #0006;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand img {
  height: 57px;
  width: 57px;
}

.brand strong {
  font: 600 30px/.95 var(--font-display);
  letter-spacing: 1.1px;
  color: var(--design-ink);
}

.brand small {
  display: block;
  color: var(--design-gold2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

#nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

#nav a {
  font-size: 13px;
  font-weight: 700;
  padding: 29px 0 26px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  color: var(--design-ink);
}

#nav a:hover, #nav a.active {
  color: var(--design-gold2);
  border-bottom-color: var(--design-gold);
}

.navquote, .gold-btn {
  border: 1px solid #ffd375;
  background: linear-gradient(165deg, #ffe29a, #eab53c 48%, #b98119);
  box-shadow: 0 4px 21px #eab53c24;
  color: #18130a;
  padding: 14px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.navquote {
  font-size: 11px;
  padding: 13px 15px;
}

.gold-btn:hover, .navquote:hover {
  filter: brightness(1.1);
}

.outline-btn {
  border: 1px solid #ad9566;
  background: #1119;
  color: #fff;
  padding: 14px 23px;
  border-radius: 5px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  text-decoration: none;
}

.outline-btn:hover {
  background: #aa802c2b;
}

#menuToggle {
  display: none;
  background: none;
  border: none;
  color: var(--design-gold);
  font-size: 26px;
}

/* Hero */
.hero {
  min-height: 610px;
  background: linear-gradient(90deg, #000000e8 1%, #00000096 42%, #0000000c 100%), url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1900&q=85') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #8d6c2b;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: #000000aa;
}

.hero:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, transparent, var(--design-gold), transparent);
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 810px;
  padding: 65px 0 60px;
}

.overline, .eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--design-gold);
}

.overline {
  display: flex;
  align-items: center;
  gap: 13px;
}

.line {
  width: 31px;
  height: 2px;
  background: var(--design-gold);
}

.hero h1 {
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 23px 0 22px;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
}

.hero h1 em {
  font-style: normal;
  color: var(--design-gold2);
}

.hero-copy > p {
  max-width: 570px;
  color: #e3ded1;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 42px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid #dbc69d;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
}

.hero-dots .active {
  background: var(--design-gold);
  border-color: var(--design-gold);
}

.hero-label {
  position: absolute;
  bottom: 23px;
  right: 40px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #d2c39d;
}

/* Benefits */
.benefits {
  background: linear-gradient(180deg, #181817, #111112);
  border-bottom: 1px solid var(--design-line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 26px;
  padding-bottom: 26px;
}

.benefits-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid #6b563680;
  text-align: center;
  padding: 6px 15px;
}

.benefits-grid > div:last-child {
  border: 0;
}

.benefits .symbol {
  font-size: 31px;
  color: var(--design-gold);
}

.benefits strong {
  font-size: 13px;
  color: var(--design-ink);
}

.benefits small {
  color: var(--design-mute);
  font-size: 11px;
}

/* Section header */
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-header h2, .about-copy h2 {
  font-size: clamp(30px, 3.4vw, 49px);
  line-height: 1.15;
  letter-spacing: -1.4px;
  margin: 10px 0 12px;
  font-family: var(--font-display);
  color: var(--design-ink);
}

.section-header p {
  color: var(--design-mute);
  font-size: 15px;
  margin-bottom: 0;
}

.text-link {
  font-size: 12px;
  color: var(--design-gold2);
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}

.text-link span {
  font-size: 18px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.service-card {
  position: relative;
  min-height: 246px;
  border: 1px solid #4d3e25;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
  display: flex;
  flex-direction: column;
}

.service-card > img {
  height: 252px;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card:before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, #050505e8, #05050500 75%);
}

.service-card-body {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.service-card-body .category {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--design-gold);
  text-transform: uppercase;
}

.service-card-body h3 {
  font-size: 17px;
  margin: 0 0 5px;
  color: var(--design-ink);
  font-family: var(--font-display);
}

.service-card-body p {
  font-size: 12px;
  color: #e5e0d7;
  margin: 0;
  max-width: 360px;
  display: none;
}

.service-card-body a {
  flex: none;
  background: linear-gradient(#ffe094, #cf941b);
  color: #111;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 12px;
}

/* Realizations / Projects */
.realizations-section {
  background: radial-gradient(ellipse at right top, #2c2317, #101111 60%);
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-row button {
  border: 1px solid #716245;
  background: #191919;
  color: #e3dfd6;
  font-size: 12px;
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
}

.filter-row button.active,
.filter-row button:hover {
  background: linear-gradient(#ffd981, #bc851e);
  color: #17110b;
  border-color: var(--design-gold);
  font-weight: 800;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  height: 265px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #554328;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card .project-card-overlay {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(0deg, #070707e8, #07070716);
  padding: 30px 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}

.project-card b,
.project-card h3 {
  font-size: 15px;
  color: var(--design-ink);
  font-family: var(--font-display);
  margin: 0;
}

.project-card small {
  display: block;
  color: #e0ca9c;
  font-size: 11px;
}

.project-card button {
  border: 1px solid #c7a25c;
  background: #17100fcc;
  color: var(--design-gold2);
  border-radius: 30px;
  width: 35px;
  height: 35px;
  font-size: 21px;
}

/* Materials */
.materials-section {
  background: #151413;
}

.trachea-feature {
  border: 1px solid #56452c;
  background: linear-gradient(120deg, #191919, #252019);
  min-height: 315px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 12px;
}

.trachea-copy {
  padding: 37px;
}

.rainbow-mark {
  display: flex;
  gap: 3px;
}

.rainbow-mark span {
  height: 15px;
  width: 15px;
  transform: rotate(26deg);
  background: #d84595;
}

.rainbow-mark span:nth-child(2) {
  background: #25b4d6;
}

.rainbow-mark span:nth-child(3) {
  background: #ffcb33;
}

.rainbow-mark span:nth-child(4) {
  background: #67aa69;
}

.trachea-copy h3 {
  font-size: 38px;
  margin: 12px 0 12px;
  line-height: 1.08;
  font-family: var(--font-display);
  color: var(--design-ink);
}

.trachea-copy p {
  color: #c7c1b5;
  max-width: 550px;
  line-height: 1.7;
  font-size: 14px;
}

.trachea-art {
  background: repeating-linear-gradient(125deg, #a17b51 0 12px, #755336 12px 14px, #b49362 14px 29px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trachea-art:before {
  content: '';
  inset: 0;
  position: absolute;
  background: linear-gradient(95deg, #0b0b0b75, transparent);
}

.trachea-art > span {
  position: absolute;
  bottom: 15px;
  right: 17px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 3px;
  background: #08080894;
  padding: 9px;
  color: var(--design-ink);
}

.panelstack {
  display: flex;
  align-items: center;
  transform: rotate(-16deg);
  filter: drop-shadow(10px 12px 9px #0009);
}

.panelstack i {
  display: block;
  width: 125px;
  height: 220px;
  border: 8px solid #d7d1c4;
  background: linear-gradient(130deg, #ddd6c6, #7f7c77);
  margin-right: -28px;
  box-shadow: 12px 5px 3px #493e2d;
}

.panelstack i:nth-child(2) {
  background: linear-gradient(130deg, #bd9870, #57402f);
  border-color: #704a26;
  margin-top: 45px;
}

.panelstack i:nth-child(3) {
  background: linear-gradient(130deg, #eeeeeb, #8d8d88);
  margin-top: -35px;
}

.material-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 37px 0 15px;
}

.material-section-title h3 {
  font-size: 22px;
  margin: 0;
  color: var(--design-ink);
  font-family: var(--font-display);
}

.material-section-title span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--design-gold);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.material-card {
  background: #242322;
  border: 1px solid #50402c;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.material-card-swatch {
  height: 130px;
  background: #888;
}

.material-card-body {
  padding: 13px;
  text-align: center;
}

.material-card-body h4 {
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--design-ink);
  font-family: var(--font-display);
}

.material-card-body small {
  font-size: 11px;
  color: var(--design-mute);
}

/* About */
.about-section {
  background: #111111;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 1px solid #674c2b;
  border-radius: 9px;
}

.about-tag {
  position: absolute;
  bottom: 17px;
  left: 18px;
  background: #080808ba;
  padding: 12px;
  font-size: 10px;
  color: var(--design-gold);
  letter-spacing: 2px;
}

.about-copy p {
  line-height: 1.85;
  color: #c5c1b7;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0;
}

.about-facts > div {
  border: 1px solid #4c3d28;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.about-facts b {
  font-size: 25px;
  color: var(--design-gold);
  font-family: Georgia, serif;
}

.about-facts span {
  font-size: 12px;
  color: var(--design-mute);
}

/* Designer / AI Room Designer */
.designer-section {
  background: radial-gradient(circle at left top, #2b2216, #151413 55%);
}

.designer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.designer-preview {
  min-height: 520px;
  border-radius: 10px;
  border: 1px solid #6c4f26;
  background: linear-gradient(120deg, #0a0a0abb, #0004), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1100&q=85') center/cover;
  display: flex;
  align-items: end;
  overflow: hidden;
  position: relative;
}

.room-placeholder {
  background: #090909b0;
  margin: 20px;
  padding: 25px;
  color: var(--design-gold);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 60px;
}

.room-placeholder span {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1.7;
  color: var(--design-ink);
}

.glass-form {
  background: #1d1d1d;
  border: 1px solid #564b38;
  border-radius: 11px;
  padding: 28px;
  box-shadow: 0 20px 42px #0004;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 19px;
  border-bottom: 1px solid #433a2b;
  margin-bottom: 16px;
}

.form-head b {
  font-size: 22px;
  color: var(--design-ink);
  font-family: var(--font-display);
}

.form-head span {
  color: var(--design-gold);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.glass-form label {
  display: block;
  color: #e3dccb;
  font-size: 12px;
  font-weight: 700;
  margin: 13px 0;
}

.glass-form input,
.glass-form select,
.glass-form textarea {
  display: block;
  width: 100%;
  background: #101112;
  color: #fff;
  border: 1px solid #66583f;
  border-radius: 6px;
  padding: 12px;
  margin-top: 7px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
}

.glass-form textarea {
  resize: vertical;
  min-height: 100px;
}

.glass-form input:focus,
.glass-form textarea:focus,
.glass-form select:focus {
  border-color: var(--design-gold);
}

.glass-form input[type=file] {
  padding: 11px;
}

.glass-form small {
  color: #b6ac94;
  font-size: 10px;
  display: block;
  margin-top: 4px;
}

.form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.glass-form .consent {
  display: flex;
  gap: 10px;
  align-items: start;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 13px;
}

.glass-form .consent input {
  width: auto;
  margin: 2px 0;
}

.glass-form .full {
  width: 100%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(165deg, #ffe29a, #eab53c 48%, #b98119);
  color: #18130a;
  box-shadow: 0 4px 21px #eab53c24;
  padding: 14px 20px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.glass-form .full:hover {
  filter: brightness(1.1);
}

.form-status {
  font-size: 13px;
  margin: 10px 0;
  color: #f9cd77;
  display: none;
}

/* Contact */
.contact-section {
  background: #111213;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
}

.contact-info {
  padding: 20px;
}

.contact-row {
  display: flex;
  align-items: start;
  gap: 17px;
  margin: 15px 0 29px;
}

.contact-row i {
  font-style: normal;
  color: var(--design-gold);
  font-size: 28px;
}

.contact-row small {
  display: block;
  color: var(--design-gold);
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.contact-row a,
.contact-row span {
  font-size: 17px;
  line-height: 1.6;
  color: var(--design-ink);
}

.contact-row a:hover {
  color: var(--design-gold);
}

.map-link a {
  height: 220px;
  border: 1px solid #625031;
  border-radius: 9px;
  background: radial-gradient(ellipse at center, #6d674e, #26302b 42%, #1c201a 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
}

.map-pin {
  font-size: 65px;
  color: #ffd16c;
}

.map-link small {
  color: #ffdb89;
  margin-top: 9px;
}

/* Footer */
footer {
  background: #090a0a;
  border-top: 2px solid #b88b2b;
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr;
  gap: 30px;
}

.footer-grid p {
  color: #a7a299;
  font-size: 13px;
  max-width: 340px;
  margin-top: 15px;
}

.footer-grid h4 {
  font-size: 14px;
  color: var(--design-gold);
  margin-top: 10px;
  font-family: var(--font-display);
}

.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a:not(.brand),
.footer-grid span {
  color: #c7c4bc;
  font-size: 13px;
}

.footer-grid a:hover {
  color: var(--design-gold);
}

.footer-last {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #3f3524;
  padding-top: 19px;
  margin-top: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: #000e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 90vh;
  max-width: 95vw;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-charcoal-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Responsive */
@media (max-width: 1200px) {
  #nav {
    gap: 12px;
  }
  #nav a {
    font-size: 11px;
  }
  .topline {
    justify-content: center;
  }
  .navquote {
    display: none;
  }
  .brand strong {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 36px);
  }
  #header {
    padding: 0 18px;
    height: 70px;
    justify-content: space-between;
  }
  #menuToggle {
    display: block;
    margin-left: auto;
  }
  #nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: #111;
    border-bottom: 1px solid var(--design-gold);
    padding: 15px 18px;
    box-shadow: 0 18px 30px #0009;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  #nav.open {
    display: flex;
  }
  #nav a {
    padding: 11px;
    font-size: 15px;
    border: 0;
  }
  .hero {
    min-height: 550px;
  }
  .service-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .benefits-grid > div {
    border: none;
  }
  .about-grid,
  .designer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .trachea-feature {
    grid-template-columns: 1fr;
  }
  .trachea-art {
    min-height: 240px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .topline {
    height: auto;
    min-height: 32px;
  }
  .topline > div {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 9px;
    padding: 4px;
  }
  .brand img {
    width: 45px;
    height: 45px;
  }
  .brand strong {
    font-size: 23px;
  }
  .brand small {
    font-size: 11px;
  }
  .hero {
    min-height: 510px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .section {
    padding: 62px 0;
  }
  .service-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card,
  .service-card > img {
    height: 215px;
    min-height: 0;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-header {
    align-items: start;
    flex-direction: column;
  }
  .form-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .glass-form {
    padding: 18px;
  }
  .trachea-copy {
    padding: 24px;
  }
  .trachea-copy h3 {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-last {
    flex-direction: column;
    gap: 10px;
  }
  .hero-label {
    display: none;
  }
}
