/* ==========================================================================
   The Product CEO — microsite styles
   Brand tokens carried over from the original Divi/WordPress build:
   orange  #F16334  |  deep orange #F0632E  |  ink #1B1B1B  |  sky #2EA3F2
   Headings: Montserrat  |  Body: Open Sans
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-600.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-700.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-700.woff2") format("woff2");
}

:root {
  --color-ink: #1b1b1b;
  --color-orange: #f0632e;
  --color-orange-dark: #d6501f;
  --color-sky: #2ea3f2;
  --color-paper: #ffffff;
  --color-mist: #f7f7f7;
  --color-line: #e4e4e4;
  --color-muted: #6b6b6b;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-card: 0 12px 30px -18px rgba(27, 27, 27, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Honeypot field: off-screen (not display:none) so bots that skip hidden
   inputs still fill it in, but real visitors never see or tab into it. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

:focus-visible {
  outline: 3px solid var(--color-sky);
  outline-offset: 3px;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-orange);
  color: #fff;
}
.btn-primary:hover { background: var(--color-orange-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
}
.btn-outline:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--color-ink);
}
.btn-light:hover { background: var(--color-ink); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -14px rgba(0, 0, 0, 0.25);
  border-bottom-color: var(--color-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand img { height: 44px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.main-nav ul { display: flex; gap: 40px; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--color-orange); border-color: var(--color-orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  background: linear-gradient(rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.62)), url("../img/hero-bg.jpg") center 30% / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: #1b1b1b; /*var(--color-paper);*/
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 52% 100%, 48% 40%, 0 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-kicker {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.hero-title {
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.hero .btn { position: relative; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.about-media {
  position: relative;
  background: url("../img/about-photo.jpg") center / cover no-repeat;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(240, 99, 46, 0) 78%, rgba(240, 99, 46, 0.92) 78%);
}
.about-panel {
  background: var(--color-orange);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 90px 8%;
}
.about-panel-inner { max-width: 480px; }
.about-panel h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 22px;
}
.about-panel h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: #fff;
}
.about-panel p { font-size: 16px; opacity: 0.96; }
.about-signature {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ---------- Services ---------- */
.services {
  background: var(--color-mist);
  padding: 110px 0 100px;
}
.section-head { text-align: left; margin-bottom: 56px; max-width: 640px; }
.section-head h2 {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
  margin-bottom: 56px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(27,27,27,0.28); }
.service-icon {
  width: 52px; height: 52px;
  margin-bottom: 20px;
  color: var(--color-orange);
}
.service-icon svg { width: 48px; height: 48px; }
.service-card h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p { color: var(--color-muted); font-size: 15.5px; }
.services-cta { text-align: center; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.contact-form-wrap {
  padding: 110px 8% 110px 24px;
  max-width: 620px;
  margin-left: auto;
}
@media (min-width: 981px) {
  .contact-form-wrap { padding-left: 0; padding-right: 10%; margin-left: 8%; }
}
.contact h2 {
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 34px;
}
.contact-media {
  background: url("../img/contact-photo.jpg") center / cover no-repeat;
  min-height: 320px;
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: #fff;
  color: var(--color-ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(240, 99, 46, 0.15);
  outline: none;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 18px;
}
.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}
.form-status[data-state="success"] { color: #1c8a4b; }
.form-status[data-state="error"] { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1e1e1e;
  color: rgba(255, 255, 255, 0.82);
}
.footer-main {
  padding: 70px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand img { height: 60px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,0.6); font-size: 14.5px; }
.footer-links h4, .footer-social h4 {
  font-size: 14px;
  color: var(--color-sky);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-social ul { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms ease, border-color 180ms ease;
}
.footer-social a:hover { background: var(--color-orange); border-color: var(--color-orange); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.8); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about, .contact { grid-template-columns: 1fr; }
  .about-media { min-height: 280px; }
  .about-media::after { background: linear-gradient(180deg, rgba(240,99,46,0) 60%, rgba(240,99,46,0.92) 100%); }
  .about-panel { padding: 60px 8%; }
  .contact-form-wrap { margin: 0; max-width: none; padding: 70px 8%; }
  .contact-media { order: -1; min-height: 260px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--color-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
  }
  .main-nav.is-open { max-height: 320px; box-shadow: 0 12px 20px -14px rgba(0,0,0,0.25); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
  .services-grid { grid-template-columns: 1fr; }
  .services { padding: 80px 0 70px; }
  .about-panel h2, .contact h2 { font-size: 24px; }
  .footer-main { padding: 54px 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
