:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #111827;
  --ink-soft: #4b5563;
  --header: #0b1324;
  --line: #d7dde6;
  --cta: #f43c20;
  --cta-hover: #d9351c;
  --accent-soft: #ffe3de;
  --accent-deep: #b92d17;
  --container: 1240px;
  --container-pad: 16px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

p {
  margin: 0;
  color: #1f2937;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-gap {
  padding: clamp(4rem, 8vw, 7.6rem) 0;
}

.section-kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: #7c8796;
}

.section-head {
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-cta {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

.btn-cta:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--header);
}

.btn-outline-dark {
  border-color: #1f2937;
  color: #1f2937;
}

.btn-outline-dark:hover {
  background: #1f2937;
  color: #fff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(11, 19, 36, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  background: rgba(11, 19, 36, 0.98);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: clamp(46px, 5vw, 62px);
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.nav-links {
  position: absolute;
  top: calc(var(--header-height) + 8px);
  left: 4%;
  right: 4%;
  margin: 0;
  padding: 1rem;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  background: #0f1a31;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-open .nav-links {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.nav-links a {
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 500;
}

.nav-cta {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-home {
  background-image: url("https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?auto=format&fit=crop&w=1900&q=80");
}

.hero-realizace {
  background-image: url("https://images.unsplash.com/photo-1472224371017-08207f84aaae?auto=format&fit=crop&w=1900&q=80");
}

.hero-velux {
  background-image: url("https://images.pexels.com/photos/5025667/pexels-photo-5025667.jpeg?auto=compress&cs=tinysrgb&w=1900");
}

.hero-about {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1900&q=80");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6, 12, 24, 0.92) 18%, rgba(6, 12, 24, 0.58) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
  display: block;
}

.hero-copy h1 {
  margin-bottom: 1.2rem;
}

.hero-content h1 {
  color: #ffffff;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.55);
}

.hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-copy p,
.hero-content > p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value {
  background: #fff;
}

.value-grid {
  display: grid;
  gap: 1.5rem;
}

.value-content {
  display: grid;
  gap: 1rem;
}

.value-content p {
  max-width: 740px;
}

.value-number {
  border: 1px solid var(--line);
  background: #f7f9fc;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: grid;
  align-content: center;
  justify-items: start;
}

.value-number strong {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
}

.value-number span {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.services-highlight .value-content,
.services-highlight .value-number {
  border: 1px solid #e2e8f0;
  background: #fff;
}

.services-highlight .value-content {
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.services-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.7rem;
  align-items: flex-start;
}

.services-list .material-symbols-outlined {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ffd3cc;
  background: #fff1ee;
  color: var(--cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.services-list p {
  margin: 0;
  color: #374151;
}

.services-velux-box {
  background: linear-gradient(180deg, #fff2ef, #fff);
}

.velux-service .value-content,
.velux-service .value-number {
  border: 1px solid var(--line);
  background: #fff;
}

.velux-service .value-content {
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.velux-service .value-number {
  background: linear-gradient(180deg, #fff6f4, #fff);
}

.velux-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.velux-service-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.7rem;
  align-items: flex-start;
}

.velux-service-list .material-symbols-outlined {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ffd3cc;
  background: #fff1ee;
  color: var(--cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.velux-service-list p {
  margin: 0;
  color: #374151;
}

.projects {
  background: #f4f5f7;
}

.project-grid {
  display: grid;
  gap: 1rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

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

.project-card:hover img {
  transform: scale(1.05);
  opacity: 0.92;
}

.project-meta {
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.2rem;
}

.project-meta h3 {
  margin: 0;
}

.project-meta p {
  color: #4b5563;
}

.project-meta span {
  margin-top: 0.3rem;
  color: #7b8796;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.design-story {
  background: #fff;
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

.review-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.review-box h3 {
  margin: 0;
}

.review-stars {
  display: flex;
  gap: 0.05rem;
  color: #f4b400;
}

.review-stars .material-symbols-outlined {
  font-size: 1.1rem;
}

.story-grid {
  display: grid;
  gap: 1.2rem;
}

.story-content {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.team {
  background: #f4f5f7;
}

.team-grid {
  display: grid;
  gap: 1rem;
}

.team-card {
  border: 1px solid #dce2eb;
  background: #fff;
  padding: 1rem;
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.team-card h3 {
  margin-bottom: 0.35rem;
}

.team-card .role {
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b8796;
}

.team-card .quote {
  color: #4b5563;
}

.about-section {
  background: #fff;
}

.about-story .about-card {
  border-color: #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.about-story .about-main {
  background: linear-gradient(180deg, #fff, #fff5f2);
}

.about-grid {
  display: grid;
  gap: 1rem;
}

.about-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: 0.9rem;
}

.about-main {
  background: #f7f9fc;
}

.about-lead {
  font-size: 1.04rem;
  font-weight: 500;
  color: #111827;
}

.about-values {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.6rem;
}

.about-values div {
  border-left: 2px solid var(--cta);
  padding-left: 0.7rem;
  display: grid;
  gap: 0.14rem;
}

.about-values strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-values span {
  color: #4b5563;
  font-size: 0.9rem;
}

.about-points h3 {
  margin-bottom: 0.2rem;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.about-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.65rem;
  align-items: flex-start;
}

.about-list .material-symbols-outlined {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.about-list p {
  margin: 0;
  color: #4b5563;
}

.about-list strong {
  color: #111827;
}

.about-approach .value-content,
.about-approach .value-number {
  border: 1px solid #e2e8f0;
  background: #fff;
}

.about-approach .value-content {
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.approach-list li {
  position: relative;
  padding-left: 1.45rem;
  color: #374151;
}

.approach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta);
}

.value-number-about {
  background: linear-gradient(180deg, #fff2ef, #fff);
}

.contact {
  background: #f4f5f7;
}

.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.contact-shell {
  background: #ececec;
  border: 1px solid #d8d8d8;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.contact-shell h2 {
  margin-bottom: 1.5rem;
}

.contact-form,
.contact-side {
  background: transparent;
  border: 0;
  padding: 0;
}

.contact-title {
  margin: 0 0 0.55rem;
  color: var(--cta);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-subtitle {
  color: #565656;
  margin-bottom: 1.2rem;
}

.contact-side {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding-top: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 0.35rem;
}

.contact-form label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.contact-form input {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  padding: 0.72rem 0.82rem;
  font: inherit;
}

.contact-form textarea {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  padding: 0.72rem 0.82rem;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus {
  outline: none;
  border-color: var(--cta);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--cta);
}

.contact-form .btn {
  margin-top: 0.6rem;
  width: fit-content;
  min-width: 210px;
}

.contact-person {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.contact-person img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-person h3 {
  margin: 0 0 0.3rem;
}

.contact-person p {
  margin: 0;
  color: #323232;
}

.error-msg {
  min-height: 1rem;
  font-size: 0.8rem;
  color: #c62828;
}

.form-status {
  min-height: 1.1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  background: linear-gradient(180deg, #042133, #031a29);
  color: #d7dde8;
  padding: 1.2rem 0;
}

.footer-panel {
  padding: 1.6rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer-col p {
  color: #d4dee8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .btn {
  margin-top: 0.9rem;
}

.footer-social {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.footer-bottom p {
  color: #9eabc0;
  font-size: 0.84rem;
  margin: 0;
}

.footer-made-by {
  height: 18px;
  width: auto;
  opacity: 0.95;
}

.footer-made-by-logo {
  height: 26px;
  width: auto;
  opacity: 0.95;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-style: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  :root {
    --container-pad: 24px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-links a {
    position: relative;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.2s ease;
  }

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

  .nav-cta {
    display: inline-flex;
  }

  .value-grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 1.8rem;
  }

  .contact-side {
    border-left: 1px solid #d9d9d9;
    padding-left: 1.8rem;
  }

  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
