
:root {
  --navy: #071a33;
  --navy2: #0d2d57;
  --red: #d80f19;
  --blue: #0646aa;
  --ink: #10213d;
  --muted: #617087;
  --line: #d7dee8;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 22px 65px rgba(7, 26, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }

.container { width: min(1400px, calc(100% - 64px)); margin: 0 auto; }
.eyebrow { margin: 0 0 13px; color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.red-text { color: var(--red); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 0;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.red { background: var(--red); color: #fff; box-shadow: 0 11px 25px rgba(216,15,25,.22); }
.button.outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.button.light { background: #fff; color: var(--navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(7,26,51,.08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 455px;
  max-height: 114px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.nav-links > a:not(.nav-button):not(.profile-link) {
  padding: 51px 0 47px;
  border-bottom: 3px solid transparent;
}
.nav-links > a:not(.nav-button):not(.profile-link):hover { border-color: var(--red); }

.nav-button {
  min-height: 52px;
  padding: 0 22px !important;
  background: var(--red);
  color: #fff;
}

.profile-link {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.profile-link img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.menu-toggle { display: none; border: 0; background: var(--navy); color: #fff; padding: 12px 16px; font-weight: 900; }

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: url('/assets/hero.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 31%, rgba(255,255,255,.50) 53%, rgba(255,255,255,.04) 78%);
}
.hero-content {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: min(610px, 48%);
  padding: 62px 0;
}
.hero-copy h1 {
  margin: 0 0 23px;
  color: var(--navy);
  font-size: clamp(3.6rem, 5.5vw, 6rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.hero-sub {
  max-width: 600px;
  margin: 0;
  color: #30415d;
  font-size: 1.15rem;
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 31px;
}

.service-ribbon {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service-ribbon article {
  min-height: 185px;
  padding: 25px 30px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.service-ribbon article:last-child { border-right: 0; }
.service-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--soft);
  font-size: 2rem;
  font-weight: 900;
}
.mini-profile {
  width: 58px;
  height: 58px;
  margin: 0 auto 9px;
  object-fit: contain;
}
.service-ribbon h2 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: .9rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.service-ribbon p {
  max-width: 260px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.section { padding: 96px 0; }
.section-light { background: var(--soft); }
.section-heading { margin-bottom: 45px; }
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.split-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: end;
}
.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-grid article {
  min-height: 270px;
  padding: 33px;
  background: #fff;
  border-top: 4px solid var(--navy);
  box-shadow: 0 12px 34px rgba(7,26,51,.06);
}
.process-grid span {
  color: var(--red);
  font-weight: 900;
}
.process-grid h3 {
  margin: 54px 0 12px;
  color: var(--navy);
  font-size: 1.25rem;
}
.process-grid p { margin: 0; color: var(--muted); }

.showcase {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 620px;
  color: #fff;
  background: var(--navy);
}
.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}
.showcase-copy {
  padding: 75px max(46px, calc((100vw - 1400px)/2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-profile {
  width: 104px;
  height: 104px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.showcase-copy h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.8rem, 4.7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.showcase-copy > p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.check-list { list-style: none; padding: 0; margin: 27px 0 33px; }
.check-list li {
  position: relative;
  padding: 11px 0 11px 31px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}
.about-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-points div {
  min-height: 170px;
  padding: 25px;
  border: 1px solid var(--line);
}
.about-points strong { color: var(--navy); font-size: 1.05rem; }
.about-points p { margin: 8px 0 0; color: var(--muted); }

.cta-band {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(115deg, var(--navy), var(--navy2));
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
}

.site-footer {
  padding: 52px 0 23px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr .8fr .7fr;
  gap: 55px;
  align-items: center;
  padding-bottom: 42px;
}
.footer-brand img {
  width: 455px;
  max-height: 125px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}
.footer-brand p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
}
.footer-profile {
  display: flex;
  align-items: center;
  gap: 17px;
}
.footer-profile img {
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  border-radius: 50%;
  object-fit: contain;
}
.footer-profile strong, .footer-profile span { display: block; }
.footer-profile strong { color: var(--navy); }
.footer-profile span { margin-top: 5px; color: var(--muted); font-size: .87rem; }
.footer-main h3 {
  margin: 0 0 13px;
  color: var(--red);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-main > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-main a { font-weight: 700; }
.footer-main span { color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}
.footer-bottom div {
  display: flex;
  gap: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Contact and standard forms */
.contact-hero {
  padding: 92px 0;
  color: #fff;
  background: linear-gradient(115deg, var(--navy), var(--navy2));
  border-bottom: 5px solid var(--red);
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.contact-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(3rem, 5.7vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.contact-hero p { color: rgba(255,255,255,.78); }
.contact-quick {
  min-width: 310px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.08);
}
.contact-quick span, .contact-quick a { display: block; }
.contact-quick span { margin-bottom: 10px; font-size: .73rem; font-weight: 900; text-transform: uppercase; }
.contact-quick a { margin: 5px 0; font-weight: 900; }
.contact-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 70px;
  align-items: start;
}
.contact-info h2 { color: var(--navy); }
.form-card {
  padding: 42px;
  background: #fff;
  border-top: 6px solid var(--red);
  box-shadow: var(--shadow);
}
form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: grid; gap: 7px; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
input, textarea, select {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd3dd;
  color: var(--ink);
  background: #fff;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6,70,170,.12);
}
textarea { resize: vertical; }
select option { color: #111; }
.honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 800; }
.form-status.success { color: #167c3f; }
.form-status.error { color: #b30f21; }

/* Thank-you and legal pages */
.thank-you-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 20px; background: var(--soft); }
.thank-you-card { width: min(760px,100%); padding: 58px; text-align: center; background: #fff; border-top: 7px solid var(--red); box-shadow: var(--shadow); }
.thank-you-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 2rem; font-weight: 900; }
.thank-you-card h1 { margin: 0 0 18px; color: var(--navy); font-size: clamp(3.4rem,8vw,6.2rem); }
.thank-you-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.legal-page { padding: 80px 0; }
.legal-content { max-width: 850px; }
.legal-content h1 { color: var(--navy); font-size: clamp(3rem,6vw,5rem); line-height: 1; }
.legal-content h2 { margin-top: 36px; font-size: 1.2rem; text-transform: uppercase; }
.legal-content a { color: var(--red); font-weight: 800; }

/* CRM */
.admin-body { background: #eef2f6; }
.crm-shell { min-height: 100vh; padding: 28px; }
.crm-header { max-width: 1500px; margin: auto; display: flex; align-items: center; gap: 24px; padding: 18px 28px; background: #fff; border-top: 5px solid var(--red); box-shadow: 0 12px 35px rgba(7,26,51,.08); }
.crm-header img { width: 390px; height: 88px; object-fit: contain; object-position: left; }
.crm-header h1 { margin: 0; color: var(--navy); text-transform: uppercase; font-size: 2rem; }
.crm-header .eyebrow { margin: 0; }
.crm-actions { margin-left: auto; display: flex; gap: 10px; }
.crm-secondary { background: #fff; color: var(--navy); border: 1px solid #cbd3dd; }
.crm-unlock { max-width: 620px; margin: 80px auto; padding: 40px; background: #fff; border-top: 5px solid var(--red); box-shadow: var(--shadow); }
.crm-unlock form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.crm-dashboard { max-width: 1500px; margin: 22px auto; }
.crm-summary { display: grid; grid-template-columns: repeat(5,minmax(110px,1fr)) auto; gap: 14px; margin-bottom: 18px; }
.crm-summary > div { padding: 18px; background: #fff; border-left: 4px solid var(--red); }
.crm-summary span { display: block; font-size: 2rem; font-weight: 900; }
.crm-summary small { font-weight: 900; text-transform: uppercase; }
.crm-summary button { justify-self: end; align-self: center; }
.crm-layout { display: grid; grid-template-columns: 410px 1fr; gap: 18px; min-height: 680px; }
.crm-list, .crm-detail { background: #fff; box-shadow: 0 12px 35px rgba(7,26,51,.07); }
.crm-list-head { padding: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.crm-lead { width: 100%; display: grid; grid-template-columns: 95px 1fr; gap: 3px 12px; padding: 16px 18px; text-align: left; color: var(--ink); background: #fff; border: 0; border-bottom: 1px solid #e6eaf0; cursor: pointer; }
.crm-lead:hover, .crm-lead.active { background: #f4f7fa; }
.crm-lead small { grid-column: 2; color: var(--muted); }
.crm-status { display: inline-flex; align-items: center; justify-content: center; padding: 5px 8px; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; background: #e8edf3; }
.status-new { background: #fff0c7; color: #725500; }
.status-contacted { background: #dcecff; color: #124b82; }
.status-quoted { background: #eadfff; color: #5d2b91; }
.status-booked { background: #d9f4e3; color: #17663a; }
.status-closed { background: #e5e7ea; color: #525862; }
.crm-detail { padding: 28px; }
.crm-detail-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.crm-detail-head h2 { margin: 10px 0 0; color: var(--navy); font-size: 2rem; }
.crm-fields { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 22px 0; }
.crm-fields div { padding: 13px; background: var(--soft); }
.crm-fields small, .crm-fields strong { display: block; }
.crm-fields small { color: var(--red); font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.crm-message { padding: 18px; background: #f8f9fb; border-left: 4px solid var(--red); }
.crm-form { display: block; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.crm-form select, .crm-form textarea, .crm-form input {
  display: block;
  margin-bottom: 10px;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink) !important;
  background: #fff !important;
}
.crm-empty { padding: 45px; color: var(--muted); text-align: center; }

@media (max-width: 1160px) {
  .brand img { width: 360px; }
  .nav-links { gap: 20px; }
  .profile-link { display: none; }
}

@media (max-width: 980px) {
  .container { width: min(100% - 36px, 1400px); }
  .nav-wrap { min-height: 108px; }
  .brand img { width: 335px; max-height: 94px; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: 108px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.nav-button):not(.profile-link) { padding: 5px 0; }
  .profile-link { display: grid; }
  .hero-overlay { background: rgba(255,255,255,.88); }
  .hero-copy { width: min(670px, 100%); }
  .service-ribbon-grid { grid-template-columns: 1fr 1fr; }
  .service-ribbon article:nth-child(2) { border-right: 0; }
  .service-ribbon article { border-bottom: 1px solid var(--line); }
  .split-heading, .showcase, .about-grid, .contact-hero-grid, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr 1fr; }
  .showcase-image img { min-height: 450px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand img { width: 455px; }
  .crm-shell { padding: 10px; }
  .crm-header { flex-wrap: wrap; align-items: flex-start; }
  .crm-actions { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .crm-summary { grid-template-columns: repeat(2,1fr); }
  .crm-summary button { grid-column: 1 / -1; justify-self: start; }
  .crm-layout { grid-template-columns: 1fr; }
  .crm-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1400px); }
  .nav-wrap { min-height: 94px; }
  .brand img { width: 270px; max-height: 80px; }
  .nav-links { top: 94px; }
  .hero, .hero-content { min-height: 600px; }
  .hero-copy h1 { font-size: 3.45rem; }
  .hero-actions, .cta-inner { flex-direction: column; align-items: flex-start; }
  .service-ribbon-grid, .field-row, .about-points { grid-template-columns: 1fr; }
  .service-ribbon article { border-right: 0; }
  .footer-brand img { width: 100%; max-width: 410px; }
  .footer-profile { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .form-card, .thank-you-card, .crm-unlock { padding: 30px 22px; }
  .crm-unlock form { grid-template-columns: 1fr; }
  .crm-header img { width: 300px; }
  .crm-header h1 { font-size: 1.4rem; }
  .crm-fields { grid-template-columns: 1fr; }
}

/* Final exact-brand sizing */
.brand img{width:455px;max-height:114px;object-fit:contain;object-position:left center}
.footer-brand img{width:455px;max-height:125px;object-fit:contain;object-position:left center}
.profile-link img,.mini-profile,.showcase-profile,.footer-profile img{object-fit:contain}
@media(max-width:1160px){.brand img{width:360px}}
@media(max-width:980px){.brand img{width:335px}.footer-brand img{width:455px}}
@media(max-width:620px){.brand img{width:270px}.footer-brand img{width:100%;max-width:410px}}

/* Requested homepage refinements */
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.service-icon-img {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  object-fit: contain;
}
