/* Southern Cross Roofing: charcoal / green concept.
   Load after site.css and quote.css. The shared markup and original logo stay intact. */
:root {
  --paper: #f7f7f3;
  --surface: #eceee7;
  --ink: #252a2b;
  --muted: #555e5d;
  --line: #ced3ca;
  --accent: #506a18;
  --button: #afcf39;
  --button-text: #172015;
  --sand: #c0d95a;
  --header: #ffffff;
  --field: #ffffff;
  --dark: #202627;
  --concept-charcoal: #23292a;
  --concept-lime: #b6d644;
  --concept-red: #c92027;
  --heading-font: "DIN Condensed", "Arial Narrow", Impact, "Helvetica Neue", sans-serif;
}

html[data-theme=dark] {
  --paper: #1c2223;
  --surface: #272f30;
  --ink: #f4f5ee;
  --muted: #bac3bf;
  --line: #46504c;
  --accent: #bfd956;
  --button: #b6d644;
  --button-text: #172015;
  --sand: #c0d95a;
  --header: #ffffff;
  --field: #202829;
  --dark: #171d1e;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: -.018em;
  line-height: 1.02;
}
h2 { font-size: clamp(2.7rem, 4.15vw, 4.25rem); }
h3 { font-size: 1.8rem; }
.eyebrow { letter-spacing: .15em; font-size: .76rem; }
.button {
  font-weight: 700;
  border: 0;
  min-height: 56px;
  box-shadow: 0 2px 0 #18201418;
}
.button:hover { filter: brightness(1.04); }
.text-link { font-weight: 700; border-bottom-width: 2px; }
.button span { font-weight: 400; }

/* A light, continuous header gives the supplied colour logo its own clear space. */
.header {
  --header: #ffffff;
  --ink: #252a2b;
  --muted: #555e5d;
  --line: #d5d9d2;
  --accent: #506a18;
  --button: #afcf39;
  --button-text: #172015;
  color: var(--ink);
  background: var(--header);
  box-shadow: 0 4px 12px #09100e12;
}
.header .logo-light,
html[data-theme=dark] .header .logo-light { display: block; }
.header .logo-dark,
html[data-theme=dark] .header .logo-dark { display: none; }
.header .brand { align-self: stretch; align-items: flex-end; }
.header .brand img { object-position: left bottom; }
.header nav { font-weight: 600; }
.header-quote { min-height: 50px; }
.brand-band,
html[data-theme=dark] .brand-band {
  position: relative;
  background: #282f2f;
  color: #f4f5ee;
}
.brand-band::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(65px, 9vw, 145px);
  height: 3px;
  background: var(--concept-red);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.brand-band p { font-size: .8rem; letter-spacing: .14em; }

/* Strong roof geometry, a restrained diagonal edge, and generous readable copy. */
.hero {
  --ink: #f8f8f3;
  --muted: #d0d6d1;
  --accent: #b6d644;
  --button: #b6d644;
  --button-text: #182016;
  max-width: none;
  grid-template-columns: 1fr 1fr;
  min-height: 670px;
  color: var(--ink);
  background: var(--concept-charcoal);
  border-bottom: 3px solid #8da929;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  justify-content: center;
  padding-top: 58px;
  padding-bottom: 45px;
  padding-right: 35px;
  background:
    repeating-linear-gradient(125deg, transparent 0 18px, #ffffff02 18px 19px),
    linear-gradient(125deg, #1c2223, #293132);
}
.hero h1 {
  font-size: clamp(4rem, 6.05vw, 6.1rem);
  line-height: .99;
  letter-spacing: -.018em;
  margin-bottom: 29px;
}
.hero h1 span { color: var(--concept-lime); }
.hero .eyebrow { color: var(--concept-lime); margin-bottom: 23px; }
.hero .lead { font-size: 1.08rem; line-height: 1.65; max-width: 485px; }
.hero-actions { margin-top: 19px; gap: 24px; }
.hero-actions .text-link { color: #f2f4ed; border-color: #9fbb39; }
.hero-actions .text-link:hover { color: var(--concept-lime); }
.hero-foot {
  color: #c1cbc0;
  border-top: 1px solid #536148;
  padding-top: 20px;
  margin-top: 30px;
}
.hero-image {
  background: var(--concept-charcoal);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 66%);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #a2c038;
  clip-path: polygon(11.6% 0, 12% 0, .4% 66.1%, .4% 100%, 0 100%, 0 66%);
}
.hero-image > img { object-position: 64% 45%; }
.hero-image figcaption {
  background: #181f20;
  color: #eef2e8;
  padding: 18px 28px;
}
.hero-image figcaption small { color: #c0cbbd; }
.hero-image figcaption a { color: #d0e57f; }

.credentials { padding-block: 30px; }
.credentials strong { font-weight: 700; }
.credentials .credential-mark { font-family: var(--heading-font); font-size: 2.1rem; }
.credentials .credential-mark > span { font-family: Arial, sans-serif; font-size: .62rem; }
.service-list { border-top: 2px solid var(--ink); }
.service-row { padding-block: 25px; }
.service-row h3 { font-size: 1.9rem; letter-spacing: -.005em; }
.service-row .number { font-size: .72rem; font-weight: 700; }
.service-row > span:last-child { color: var(--accent); }
.service-intro-image { border-bottom: 3px solid var(--accent); padding-bottom: 8px; }
.work-section { position: relative; background: var(--surface); }
.work-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 4px;
  background: var(--concept-red);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}
.work-grid { gap: 34px; }
.work-grid .work-secondary { margin-top: 75px; }
.work-grid figure > img { border-bottom: 4px solid var(--accent); }
.work-grid figcaption h3 { font-size: 2rem; }
.work-grid figcaption > a { background: var(--button); color: var(--button-text); border-color: transparent; }
.process-list li { gap: 24px; }
.process-list li > span { font-weight: 700; }
.process-list h3 { font-size: 1.8rem; }

.warranty {
  --accent: #bedb57;
  color: #f4f5ee;
  background: linear-gradient(120deg, #1b2223, #2b3433);
  border-block: 3px solid #839e2e;
}
.warranty .eyebrow,
.warranty .text-link { color: #c0db5e; }
.warranty p { color: #d0d8cf; }
.warranty .warranty-note { color: #b6c3b5; }
.warranty-type { border-color: #7f9641; color: #c3df65; }
.warranty-type strong { font-family: var(--heading-font); font-weight: 700; line-height: 1; }
.warranty-type strong span { font-family: Arial, sans-serif; }
.area-list > span { font-family: var(--heading-font); text-transform: uppercase; font-size: 3rem; }
.area-list small { font-family: Arial, sans-serif; }
.faq summary { font-weight: 600; }
.final-cta { border-top: 3px solid var(--accent); }
.cta-inner h2 { font-size: clamp(2.4rem, 3.6vw, 3.8rem); }
.footer { background: #171d1e; }
.footer h2 { font-family: Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
.footer p { color: #bbc4bc; }
.legal { border-color: #3d4941; }

/* Inner pages share the same palette without changing form controls or flow. */
.page-intro h1,
.contact-intro h1 { font-size: clamp(3.5rem, 5.6vw, 5.6rem); }
.service-jumps a { font-weight: 600; }
.service-detail h2 { font-size: 3.1rem; }
.service-visual img { border-bottom: 3px solid var(--accent); }
.project-story > figure img { border-bottom: 4px solid var(--accent); }
.project-description h2 { font-size: 3.3rem; }
.form-panel { border-top: 3px solid var(--accent); }
.form-panel h2 { font-size: 2.35rem; }
.quote-intro h1 { font-size: clamp(3.35rem, 5.3vw, 5.2rem); }
.quote-short h2 { font-size: 1.85rem; }
.quote-choice h2 { font-size: 1.7rem; }
.quote-step h2 { font-size: clamp(2.1rem, 3vw, 2.75rem); }
.quote-review-heading h3 { font-size: 1.65rem; }
.quote-step-count { letter-spacing: .12em; }
.prose h2 { font-size: 2rem; }

@media (min-width: 1600px) {
  .hero-copy { padding-left: max(56px, calc((100vw - 1320px) / 2)); }
  .hero h1 { max-width: 640px; }
}
@media (max-width: 1250px) {
  .hero { min-height: 640px; }
  .hero h1 { font-size: clamp(3.8rem, 6.4vw, 5.25rem); }
  .hero-copy { padding-right: 24px; }
  .hero-actions { gap: 18px; }
}
@media (max-width: 960px) {
  .hero { min-height: 630px; }
  .hero h1 { font-size: 4rem; }
  .hero-copy { padding: 48px 24px 36px; }
  .hero .lead { font-size: 1rem; }
  .hero-image { clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 66%); }
  .hero-image::after { clip-path: polygon(7.5% 0, 8% 0, .5% 66.1%, .5% 100%, 0 100%, 0 66%); }
  .hero-image figcaption { padding: 18px; }
  .service-row h3 { font-size: 1.65rem; }
  .service-copy h2 { font-size: 2.75rem; }
}
@media (max-width: 800px) and (min-width: 621px) {
  .hero h1 { font-size: 3.55rem; }
  .hero .eyebrow { font-size: .67rem; letter-spacing: .1em; }
  .hero-copy { padding-inline: 24px 14px; }
  .hero-actions .button { gap: 15px; padding-inline: 17px; font-size: .88rem; }
}
@media (max-width: 620px) {
  .brand-band p { font-size: .71rem; letter-spacing: .08em; }
  .hero { min-height: 0; }
  .hero-copy { padding: 44px 20px 31px; }
  .hero h1 { font-size: clamp(3.35rem, 12.8vw, 4.75rem); line-height: 1; margin-bottom: 24px; }
  .hero h1 br:last-child { display: initial; }
  .hero .eyebrow { font-size: .7rem; margin-bottom: 20px; }
  .hero-actions { margin-top: 10px; gap: 16px; }
  .hero-actions .button { min-height: 54px; padding-inline: 16px; }
  .hero-foot { margin-top: 27px; padding-top: 18px; }
  .hero-image { clip-path: none; border-top: 2px solid #9eb938; }
  .hero-image::after { display: none; }
  .hero-image > img { height: 330px; object-position: 62% 40%; }
  .hero-image figcaption { padding: 15px 20px; }
  h2 { font-size: 2.95rem; }
  .section-heading h2 { font-size: 2.8rem; }
  .service-row h3 { font-size: 1.8rem; }
  .work-grid .work-secondary { margin-top: 0; }
  .work-grid figcaption h3 { font-size: 1.9rem; }
  .process-list h3 { font-size: 1.75rem; }
  .warranty h2 { font-size: 2.85rem; }
  .warranty-type strong { font-size: 7rem; }
  .area-list > span { font-size: 2.55rem; }
  .cta-inner h2 { font-size: 2.8rem; }
  .page-intro h1 { font-size: 3.5rem; }
  .contact-intro h1 { font-size: 3.6rem; }
  .service-detail h2 { font-size: 2.8rem; }
  .project-description h2 { font-size: 2.8rem; }
  .form-panel h2 { font-size: 2.1rem; }
  .quote-intro h1 { font-size: 3.35rem; }
  .quote-step h2 { font-size: 2.25rem; }
  .mobile-actions { background: var(--paper); }
}
@media (max-width: 360px) {
  .hero-copy { padding-inline: 14px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-image > img { height: 290px; }
  .brand-band p { font-size: .66rem; letter-spacing: .065em; }
  .page-intro h1, .contact-intro h1, .quote-intro h1 { font-size: 3.1rem; }
}

/* Keep the detailed form introduction compact on small phones. */
@media(max-width:480px){.quote-intro h1{font-size:2.65rem}.quote-short h2{font-size:1.45rem}}
