/* ==========================================================
   inzateplení s.r.o. — "Solid Foundation" Design
   Complete Stylesheet — Mobile-First Responsive
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ==========================================================
   BASE
   ========================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-gradient);
  color: #fff;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  color: var(--color-text);
}

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

a:hover {
  color: var(--color-primary-dark);
}

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

/* ==========================================================
   LAYOUT
   ========================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.separator {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

/* ==========================================================
   SKIP LINK
   ========================================================== */

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-md);
  background: var(--color-dark);
  color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: var(--z-modal);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn:visited {
  color: inherit;
}

/* Primary — solid amber fill */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 124, 27, 0.2);
}

.btn-primary:hover {
  background: #E06A00;
  border-color: #E06A00;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 124, 27, 0.35);
  transform: translateY(-1px);
}

.btn-primary:visited {
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(255, 124, 27, 0.3);
}

/* Outline — adapts to background */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline:visited {
  color: var(--color-primary);
}

.btn-outline:visited:hover {
  color: #fff;
}

/* Outline on dark backgrounds */
.hero .btn-outline,
.section-cta .btn-outline,
.page-header .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover,
.section-cta .btn-outline:hover,
.page-header .btn-outline:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.hero .btn-outline:visited,
.section-cta .btn-outline:visited,
.page-header .btn-outline:visited {
  color: #fff;
}

/* ==========================================================
   HEADER
   ========================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header .logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.header .logo img,
.header .logo svg {
  height: 100%;
  width: auto;
}

/* Nav */
.nav-list {
  display: none;
  list-style: none;
  gap: var(--space-xl);
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
}

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

.nav-link.active {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.nav-link.active::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-phone {
  display: none;
  color: var(--color-text);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.header-phone:hover {
  color: var(--color-primary-light);
}

.header-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--color-dark);
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: right var(--transition-slow);
  z-index: var(--z-overlay);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: var(--color-text-on-dark);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-dark);
  display: block;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-primary-light);
  padding-left: var(--space-sm);
}

/* Dark mode toggle — hidden */
.theme-toggle {
  display: none;
}

/* ==========================================================
   HERO — index.html
   ========================================================== */

.hero {
  background: linear-gradient(160deg, var(--color-dark-deep) 0%, var(--color-dark) 40%, var(--color-dark-muted) 100%);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  color: var(--color-text-on-dark);
}

/* Subtle geometric accent */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 124, 27, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.hero-content {
  max-width: 600px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 124, 27, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 124, 27, 0.2);
  width: fit-content;
}

.hero-title {
  font-size: var(--fs-3xl);
  color: #fff;
  margin-bottom: var(--space-lg);
  line-height: var(--lh-tight);
}

.hero-title .highlight {
  color: var(--color-primary-light);
}

.hero-desc {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-promise {
  font-size: var(--fs-sm);
  color: var(--color-text-on-dark-muted);
  font-style: italic;
}

/* Hero stats card */
.hero-right {
  width: 100%;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.hero-stat-full {
  grid-column: 1 / -1;
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--color-primary-light);
  margin-bottom: var(--space-xs);
}

.hero-stat-text {
  font-size: var(--fs-sm);
  color: var(--color-text-on-dark-muted);
  font-weight: var(--fw-medium);
}

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-on-dark-muted);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary-light);
  opacity: 0.8;
}

/* ==========================================================
   PAGE HEADER — subpages
   ========================================================== */

.page-header {
  background: linear-gradient(160deg, var(--color-dark-deep) 0%, var(--color-dark) 100%);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  color: var(--color-text-on-dark);
}

.page-header .breadcrumb {
  font-size: var(--fs-sm);
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-md);
}

.page-header .breadcrumb a {
  color: var(--color-text-on-dark-muted);
}

.page-header .breadcrumb a:hover {
  color: var(--color-primary-light);
}

.page-header h1 {
  font-size: var(--fs-3xl);
  color: #fff;
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-md);
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */

.about {
  background: var(--color-bg-white);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-text {
  max-width: 560px;
}

.about-text .section-label {
  margin-bottom: var(--space-sm);
}

.about-text h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

/* About features grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
}

.about-feature h4 {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.about-feature p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

/* ==========================================================
   SERVICES SECTION
   ========================================================== */

.services {
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}

/* ==========================================================
   PROJECTS / REFERENCE SECTION
   ========================================================== */

.projects {
  background: var(--color-bg-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-gradient);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.project-info {
  padding: var(--space-lg);
}

.project-info h3 {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.project-info p {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */

.testimonials {
  background: var(--color-bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.testimonial-stars {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-size: var(--fs-lg);
}

.testimonial-text {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
}

/* ==========================================================
   CTA SECTION
   ========================================================== */

.section-cta {
  background: linear-gradient(160deg, var(--color-dark-deep) 0%, var(--color-dark) 100%);
  color: var(--color-text-on-dark);
  text-align: center;
  padding: var(--space-4xl) 0;
}

.section-cta h2 {
  font-size: var(--fs-2xl);
  color: #fff;
  margin-bottom: var(--space-md);
}

.section-cta p {
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-md);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

/* ==========================================================
   FAQ SECTION
   ========================================================== */

.faq {
  background: var(--color-bg-white);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  font-size: var(--fs-xl);
  font-weight: var(--fw-regular);
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.contact {
  background: var(--color-bg-white);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* Phone CTA */
.phone-cta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--color-primary-subtle);
  border: 1px solid rgba(255, 124, 27, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
}

.phone-cta svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.phone-cta-label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.phone-cta-number {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.phone-cta-number a {
  color: inherit;
}

.phone-cta-sub {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  text-align: center;
}

/* Form trust badges */
.form-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.form-trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.form-trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

/* Form */
.contact-form-wrapper {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form-promise {
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.contact-form .form-group {
  margin-bottom: var(--space-lg);
}

.contact-form label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 124, 27, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-light);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: var(--fs-base);
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h3 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.contact-item p,
.contact-item a {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* ==========================================================
   GALLERY
   ========================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.footer-brand .logo {
  height: 32px;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-light);
  padding-left: var(--space-xs);
}

.footer-contact p,
.footer-contact a {
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.footer-contact a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--color-text-on-dark-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-on-dark-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: transparent;
  color: #fff;
}

/* ==========================================================
   SCROLL ANIMATIONS
   ========================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

/* ==========================================================
   RESPONSIVE — TABLET (768px+)
   ========================================================== */

@media (min-width: 768px) {

  .section {
    padding: var(--space-4xl) 0;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }

  /* Hero */
  .hero {
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  }

  .hero-title {
    font-size: var(--fs-4xl);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat-number {
    font-size: var(--fs-3xl);
  }

  /* Page header */
  .page-header {
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  }

  .page-header h1 {
    font-size: var(--fs-4xl);
  }

  /* About */
  .about-image img {
    height: 380px;
  }

  .about-text h2 {
    font-size: var(--fs-3xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form .btn {
    width: auto;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .gallery-grid img {
    height: 220px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* CTA */
  .section-cta h2 {
    font-size: var(--fs-3xl);
  }
}

/* ==========================================================
   RESPONSIVE — DESKTOP (1024px+)
   ========================================================== */

@media (min-width: 1024px) {

  /* Nav */
  .nav-list {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

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

  .header-phone {
    display: block;
  }

  /* Hero — 2 column */
  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-content {
    flex: 1 1 55%;
  }

  .hero-right {
    flex: 1 1 40%;
    max-width: 420px;
  }

  .hero-title {
    font-size: var(--fs-hero);
  }

  /* About — 2 column */
  .about-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .about-image {
    width: 45%;
    flex-shrink: 0;
  }

  .about-image img {
    height: 100%;
    min-height: 400px;
  }

  .about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .contact-grid {
    flex-direction: row;
  }

  .contact-form-wrapper {
    flex: 1 1 60%;
  }

  .contact-info {
    flex: 1 1 35%;
    padding-top: var(--space-xl);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid img {
    height: 260px;
  }
}

/* ==========================================================
   RESPONSIVE — LARGE (1200px+)
   ========================================================== */

@media (min-width: 1200px) {

  :root {
    --container-padding: 2rem;
  }

  .hero-title {
    font-size: 4.25rem;
  }

  .service-card {
    padding: var(--space-2xl);
  }
}

/* ==========================================================
   PRINT
   ========================================================== */

@media print {
  .header,
  .footer,
  .section-cta,
  .hero-buttons,
  .btn {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    background: none;
    color: #000;
    padding-top: 0;
  }
}
