:root {
  --navy: #101e2b;
  --navy-light: #1a3045;
  --ivory: #f4f1e9;
  --copper: #efa364;
  --orange: #ed7928;
  --ink: #101e2b;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  width: min(1280px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-mark { width: 28px; height: 28px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  text-decoration: none;
  font-size: 15px;
}
.main-nav a:hover { color: var(--copper); }
.menu-button { display: none; }

.hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: 51% 49%;
  background: var(--navy);
  color: var(--white);
}
.hero-copy {
  width: min(570px, calc(100% - 64px));
  margin-left: auto;
  padding: 64px 48px 52px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 570px;
  margin: 0;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero-description {
  max-width: 560px;
  margin: 58px 0 32px;
  font-size: 20px;
  line-height: 1.35;
  color: #edf1f5;
}
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 0;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--copper); color: var(--navy); }
.button-primary:hover { background: #f2b17e; }
.hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d8d8d3;
}
.hero-media img, .photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}
.photo-placeholder {
  display: grid;
  place-items: center;
  background: #cfd3d2;
  color: #59636a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(255,255,255,.9);
  font-size: 10px;
  background: rgba(16,30,43,.7);
  padding: 4px 6px;
}

.services-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 32px 56px;
}
.services-section h2 {
  margin: 0 0 26px;
  max-width: 420px;
  font-size: 38px;
  line-height: 1;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 16px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.services-grid article { border-top: 3px solid transparent; }
.services-grid h3 {
  margin: 0 0 10px;
  font-size: 23px;
}
.services-grid p { margin: 0; line-height: 1.5; }

.contact-section {
  display: grid;
  grid-template-columns: 38% 62%;
  background: var(--navy);
  color: var(--white);
  padding: 72px max(32px, calc((100% - 1280px) / 2));
}
.contact-heading { padding-right: 64px; }
.contact-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}
.contact-heading > p:last-child { line-height: 1.6; color: #dbe3e8; }
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #8e9ba5;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 14px;
  font: inherit;
}
.field input { height: 50px; }
.field textarea { resize: vertical; }
.quote-form .button { grid-column: 1 / -1; justify-self: start; }

footer { background: #091520; color: var(--white); }
.footer-inner {
  min-height: 120px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p { margin: 8px 0 0; color: #bdc7ce; font-size: 14px; }
.footer-inner a { color: var(--copper); font-weight: 800; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
  text-decoration: none;
}
.floating-whatsapp svg {
  width: 34px;
  height: 34px;
}
.floating-whatsapp:hover { background: #20bd5a; }

@media (max-width: 768px) {
  .site-header { height: 56px; }
  .header-inner { width: calc(100% - 40px); }
  .brand { font-size: 18px; }
  .brand-mark { width: 24px; height: 24px; }
  .menu-button {
    display: block;
    border: 0;
    background: transparent;
    color: var(--white);
    font: 700 14px Arial, sans-serif;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 18px 20px;
  }
  .main-nav.is-open { display: flex; }

  .hero { display: flex; flex-direction: column; }
  .hero-copy {
    width: 100%;
    margin: 0;
    padding: 38px 20px 30px;
  }
  .eyebrow { margin-bottom: 16px; }
  .hero h1 {
    max-width: 350px;
    font-size: clamp(42px, 13vw, 58px);
  }
  .hero-description {
    margin: 26px 0 24px;
    font-size: 17px;
  }
  .button { min-height: 52px; }
  .hero-media img, .photo-placeholder {
    min-height: 270px;
    height: 270px;
  }

  .services-section { padding: 36px 20px 42px; }
  .services-section h2 { font-size: 32px; }
  .services-grid {
    display: block;
  }
  .services-grid article {
    border-top: 1px solid #d4d0c5;
    padding: 16px 0;
  }
  .services-grid article:first-child { border-top: 3px solid var(--orange); }
  .services-grid h3 { font-size: 20px; }

  .contact-section {
    display: block;
    padding: 48px 20px;
  }
  .contact-heading { padding: 0 0 30px; }
  .contact-heading h2 { font-size: 40px; }
  .quote-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .quote-form .button { width: 100%; }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-copy { width: 100%; padding-left: 32px; }
  .hero h1 { font-size: 52px; }
  .hero-description { margin-top: 42px; }
}

.hero-copy > *,
.services-section h2,
.services-grid article,
.contact-heading,
.quote-form {
  animation: reveal 600ms cubic-bezier(.22, 1, .36, 1) both;
}
.hero-copy > :nth-child(2) { animation-delay: 90ms; }
.hero-copy > :nth-child(3) { animation-delay: 180ms; }
.hero-copy > :nth-child(4) { animation-delay: 270ms; }
.hero-media img {
  animation: imageReveal 800ms cubic-bezier(.22, 1, .36, 1) both;
}
.services-grid article:nth-child(2) { animation-delay: 80ms; }
.services-grid article:nth-child(3) { animation-delay: 160ms; }
.button-primary,
.floating-whatsapp {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button-primary:hover,
.button-primary:focus-visible { transform: translateY(-2px); }
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
}
.floating-whatsapp:active,
.button-primary:active { transform: translateY(0); }

@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes imageReveal {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *,
  .services-section h2,
  .services-grid article,
  .contact-heading,
  .quote-form,
  .hero-media img {
    animation: none;
  }
  .button-primary,
  .floating-whatsapp { transition: none; }
}
