/* =========================================================
   BLOCK 010: DESIGN TOKENS
   ========================================================= */
:root {
  --color-bg: #f7f7f4;
  --color-surface: #ffffff;
  --color-soft: #efefe9;
  --color-text: #171815;
  --color-muted: #666960;
  --color-border: #dcded6;
  --color-dark: #171a17;
  --color-accent: #d89a2b;
  --color-accent-hover: #bd8120;
  --shadow-sm: 0 8px 24px rgba(17, 20, 17, 0.08);
  --shadow-md: 0 22px 60px rgba(17, 20, 17, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 82px;
}
/* END BLOCK 010 */

/* =========================================================
   BLOCK 020: RESET & GLOBAL
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.8rem);
    letter-spacing: -0.045em;
    line-height: 1.12;
    margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

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

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-dark {
  background: var(--color-dark);
  color: #fff;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.section-heading p:last-child {
  max-width: 650px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-heading-light p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  transform: translateY(-180%);
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  transform: translateY(0);
}
/* END BLOCK 020 */

/* =========================================================
   BLOCK 100: BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  transition: 0.2s ease;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--color-text);
  background: transparent;
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface);
}

.btn-full {
  width: 100%;
}
/* END BLOCK 100 */

/* =========================================================
   BLOCK 200: HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(247, 247, 244, 0.91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 24, 21, 0.08);
}

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

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

.brand-mark {
    display: grid;
    place-items: center;
    min-width: 54px;
    height: 42px;
    padding: 0 9px;
    border-radius: 12px;
    color: #fff;
    background: var(--color-dark);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 0.7rem;
}

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

.main-nav a {
  font-size: 0.93rem;
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--color-accent-hover);
}

.main-nav .nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--color-dark);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}
/* END BLOCK 200 */

/* =========================================================
   BLOCK 300: HERO
   ========================================================= */
.hero {
    padding: 72px 0 90px;
    min-height: calc(100vh - var(--header-height));
    display: grid;
    align-items: center;
}

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

.hero-content {
    min-width: 0;
}

.hero-text {
    max-width: 650px;
    color: var(--color-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0 28px;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--color-muted);
    font-size: 0.9rem;
}

    .trust-list li::before {
        content: "✓";
        margin-right: 8px;
        color: var(--color-accent-hover);
        font-weight: 800;
    }

.hero-visual {
    position: relative;
    min-width: 0;
}

.image-placeholder {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 40px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.72);
    background: linear-gradient(145deg, rgba(23, 26, 23, 0.92), rgba(53, 58, 51, 0.72)), repeating-linear-gradient(45deg, #292d29 0 20px, #252925 20px 40px);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.image-placeholder.tall {
    min-height: 610px;
}

.hero-card {
    position: absolute;
    right: -24px;
    bottom: 30px;
    display: grid;
    gap: 4px;
    width: min(310px, 82%);
    padding: 22px;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-md);
}

    .hero-card span {
        color: var(--color-muted);
        font-size: 0.87rem;
    }
/* END BLOCK 300 */

/* =========================================================
   BLOCK 400: TRUST BAR
   ========================================================= */
.trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: grid;
  gap: 4px;
  padding: 30px 24px;
  border-right: 1px solid var(--color-border);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-grid span {
  color: var(--color-muted);
  font-size: 0.86rem;
}
/* END BLOCK 400 */

/* =========================================================
   BLOCK 500: SERVICES
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: 0.25s ease;
}

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

.card-number {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--color-accent-hover);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}
/* END BLOCK 500 */

/* =========================================================
   BLOCK 600: PROJECTS
   ========================================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .project-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.22);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    }

.project-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #252925;
}

    .project-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 0.45s ease;
    }

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

.project-info {
    padding: 24px;
}

    .project-info p {
        margin-bottom: 7px;
        color: var(--color-accent);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .project-info h3 {
        margin-bottom: 10px;
    }

    .project-info span {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.85rem;
    }
/* END BLOCK 600 */

/* =========================================================
   BLOCK 700: PROCESS
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.process-grid article {
  padding-top: 24px;
  border-top: 2px solid var(--color-border);
}

.process-grid article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-dark);
  font-weight: 800;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--color-muted);
}
/* END BLOCK 700 */

/* =========================================================
   BLOCK 800: ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}
.about-image {
    width: 100%;
    height: 610px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-content > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.about-points {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
}

.about-points div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.about-points span {
  color: var(--color-muted);
}
/* END BLOCK 800 */

/* =========================================================
   BLOCK 900: CONTACT
   ========================================================= */
.contact-section {
  padding: 110px 0;
  background: #e2a43a;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy .eyebrow {
  color: rgba(23, 24, 21, 0.64);
}

.contact-copy p:not(.eyebrow) {
  max-width: 580px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  font-weight: 700;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--color-text);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(216, 154, 43, 0.22);
  border-color: var(--color-accent);
}

.checkbox-row {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  font-weight: 500 !important;
  color: var(--color-muted);
}

.checkbox-row input {
  margin-top: 3px;
}

.checkbox-row a {
  text-decoration: underline;
}

.form-note {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-align: center;
}
/* END BLOCK 900 */

/* =========================================================
   BLOCK 1000: FOOTER
   ========================================================= */
.site-footer {
  padding: 72px 0 24px;
  color: #fff;
  background: var(--color-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 44px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

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

.footer-brand .brand-mark {
  color: var(--color-dark);
  background: #fff;
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.52);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}
/* END BLOCK 1000 */

/* =========================================================
   BLOCK 1100: LEGAL PAGES
   ========================================================= */
.legal-page {
  min-height: 70vh;
  padding: 80px 0 120px;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-placeholder {
  margin-top: 36px;
  padding: 28px;
  border: 1px dashed #aeb1a7;
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: var(--color-surface);
}
/* END BLOCK 1100 */

/* =========================================================
   BLOCK 1200: TABLET
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    gap: 48px;
  }

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

  .hero-visual {
    width: min(100%, 720px);
  }

  .cards-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div {
    border-bottom: 1px solid var(--color-border);
  }

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid > div:nth-child(3),
  .trust-grid > div:nth-child(4) {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* END BLOCK 1200 */

/* =========================================================
   BLOCK 1300: MOBILE
   ========================================================= */
@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

    

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section,
  .contact-section {
    padding: 78px 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    align-content: start;
    flex-direction: column;
    gap: 0;
    padding: 26px 20px;
    background: var(--color-bg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.08rem;
  }

  .main-nav .nav-cta {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 999px;
    text-align: center;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .image-placeholder {
    min-height: 410px;
  }

  .hero-card {
    right: 12px;
    bottom: 18px;
  }

  .trust-grid,
  .cards-grid,
  .projects-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

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

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 34px;
  }

  .about-grid {
    gap: 46px;
  }

  .image-placeholder.tall {
    min-height: 430px;
  }
    .about-image {
        height: 430px;
    }

  .about-points div {
    display: grid;
    gap: 3px;
  }

  .contact-grid {
    gap: 42px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
/* END BLOCK 1300 */

/* =========================================================
   BLOCK 1400: REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* END BLOCK 1400 */
