:root {
  --primary: #10283c;
  --primary-soft: #163d5b;
  --accent: #c69436;
  --accent-soft: #efd49b;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #182533;
  --muted: #627383;
  --border: #d7e0e8;
  --shadow: 0 16px 40px rgba(16, 40, 60, 0.08);
  --radius: 20px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 74px 0;
}

.section-muted {
  background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 100%);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 224, 232, 0.95);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.12));
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.brand small {
  display: block;
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(16, 40, 60, 0.08);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  padding-top: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.hero-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(239, 212, 155, 0.25), transparent 35%),
    linear-gradient(135deg, #0d1d2b 0%, #163650 58%, #c69436 100%);
  border: 1px solid rgba(198, 148, 54, 0.22);
}

.hero-logo-image {
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.28));
}

.eyebrow,
.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(198, 148, 54, 0.12);
  color: #8f6118;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-content h1,
.section-heading h1,
.section-heading h2,
.cta-wrap h2,
.project-body h2,
.contact-card h2,
.contact-panel h2,
.quick-card h3,
.preview-body h3,
.work-head h2 {
  margin: 0 0 14px;
  line-height: 1.35;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero-content p,
.section-heading p,
.cta-wrap p,
.info-card p,
.project-body p,
.contact-card p,
.contact-panel p,
.contact-card small,
.quick-card p,
.preview-body p,
.work-head p {
  margin: 0;
  color: var(--muted);
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff;
  box-shadow: 0 14px 32px rgba(16, 40, 60, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

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

.hero-media {
  overflow: hidden;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.tight {
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

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

.info-card {
  padding: 26px;
}

.info-card h3 {
  margin: 0 0 12px;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quick-card {
  padding: 22px;
}

.quick-card h3 {
  font-size: 1.05rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.preview-card {
  overflow: hidden;
}

.preview-media {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #edf2f7;
}

.preview-body {
  padding: 20px;
}

.cta-strip {
  background: linear-gradient(135deg, #0f2436 0%, #173a57 100%);
  color: #fff;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf2f7;
}

.project-body {
  padding: 24px;
}

.compact-hero {
  padding-top: 58px;
  padding-bottom: 58px;
}

.work-sections {
  display: grid;
  gap: 28px;
}

.work-section {
  padding: 26px;
}

.work-head {
  max-width: 780px;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card,
.contact-panel {
  padding: 24px;
}

.contact-card small,
.social-placeholder p + p {
  display: block;
  margin-top: 6px;
}

.contact-highlight {
  color: var(--primary) !important;
  font-weight: 700;
}

.contact-highlight a {
  color: inherit;
}

.contact-points {
  margin: 18px 0 0;
  padding: 0 18px 0 0;
  color: var(--muted);
}

.contact-points li + li {
  margin-top: 10px;
}

.site-footer {
  padding: 22px 0;
  background: #0f2537;
  color: rgba(255, 255, 255, 0.92);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
}

.footer-domain {
  direction: ltr;
}

@media (max-width: 1100px) {
  .preview-grid,
  .quick-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-layout,
  .project-grid,
  .cols-3,
  .preview-grid,
  .quick-contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-wrap {
    display: grid;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }

  .header-wrap {
    position: relative;
  }

  .brand {
    max-width: calc(100% - 68px);
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.8rem;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-logo-card {
    min-height: 320px;
    padding: 18px;
  }

  .hero-logo-image {
    width: min(100%, 360px);
  }

  .work-section,
  .info-card,
  .quick-card,
  .preview-body,
  .contact-card,
  .contact-panel {
    padding: 20px;
  }
}
