/* ==========================================================================
   Rugged design style (Site Settings → Brand & design → Design style).
   Loaded after style.css + tsg-extra.css only on sites using this style, so
   nothing here touches the Classic or Editorial looks. Colours still come
   from the brand colour settings; this file changes type, shapes, the
   header and section layouts.
   ========================================================================== */

:root {
  --font-heading:  'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'Barlow', system-ui, sans-serif;
  --radius-card:   0;
  --radius-btn:    0;
  --radius-pill:   0;
  --radius-sm:     0;
  --radius-md:     0;
  --shadow-card:   0 1px 0 rgba(var(--color-forest-rgb), 0.08);
  --shadow-hover:  0 18px 40px rgba(var(--color-forest-rgb), 0.18);
  --shadow-accent: none;
  --color-offwhite: #F4F2EC;
  --topbar-height: 38px;
  --header-bar:    84px;
  --header-height: calc(var(--topbar-height) + var(--header-bar));
  /* Angled corner cuts: top-right and bottom-left. */
  --cut:    18px;
  --cut-sm: 10px;
  --angled: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  --angled-sm: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}

/* ── Type: tall condensed capitals ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}
.section-title {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1;
}
.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 20px;
  background: var(--color-accent);
}
p { line-height: 1.65; }

/* Plain textures. */
.texture-dots::before,
.texture-dots::after,
.faq-section::before { display: none; }

/* ── Section headers: left aligned, stacked, saffron bar under title ───── */
.section-header {
  text-align: left;
  max-width: 760px;
  margin: 0 0 56px;
}
.section-tag,
.section-tag--light {
  background: none;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* ── Buttons: angled, condensed capitals, saffron with white text ──────── */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: var(--angled-sm);
}
.btn--lg { font-size: 1.12rem; padding: 17px 34px; }
.btn-primary,
.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.btn-primary:hover,
.btn-accent:hover {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: #fff;
  transform: none;
}
.section-forest .btn-primary:hover,
.section-dark .btn-primary:hover,
.hero .btn-primary:hover,
.page-hero .btn-primary:hover,
.cta-final-section .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-forest);
}
/* Clipped corners hide the browser focus ring, so draw one inside. */
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--color-forest); }

/* ── Header: navy contact strip above a solid white menu bar ───────────── */
.site-header::before,
.site-header.scrolled::before,
body.tsg-solid-header .site-header::before {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 0 rgba(var(--color-forest-rgb), 0.08);
}
.header-inner { height: var(--header-bar); }
.header-topbar {
  height: var(--topbar-height);
  background: var(--color-forest);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.header-topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-topbar-area,
.header-topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.header-topbar-links { display: inline-flex; gap: 28px; }
.header-topbar-links a { color: #fff; text-decoration: none; font-weight: 600; }
.header-topbar-links a:hover { color: var(--color-accent); }
.header-topbar svg { color: var(--color-accent); }
.nav-link,
.nav-dropdown-trigger {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tsg-text-logo .logo-elm {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.45rem;
}
.tsg-text-logo .logo-landscaping { font-family: var(--font-body); }

/* ── Home hero: centred text over the photo, diagonal foot, and the quote
   form laid out as a one-line "quick quote" bar (name, phone, email). ─── */
.hero {
  min-height: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 100%);
  padding-bottom: 72px;
}
.hero-bg img { transform: none; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(var(--color-forest-rgb), 0.7) 0%, rgba(var(--color-forest-rgb), 0.55) 45%, rgba(var(--color-forest-rgb), 0.88) 100%);
}
.hero-layout {
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 56px 0 8px;
  justify-items: center;
}
.hero-content {
  text-align: center;
  max-width: 940px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badges { justify-content: center; }
.hero-badge { font-family: var(--font-heading); font-size: 0.95rem; letter-spacing: 0.16em; }
.hero-badge-divider { color: var(--color-accent); }
.hero-headline {
  font-size: clamp(3rem, 6.4vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
}
.hero-headline br { display: none; }
.hero-headline .text-accent { display: inline; }
.hero-subtext { max-width: 720px; margin: 0 auto 22px; }
.hero-headline { margin-bottom: 22px; }
.hero-social-proof { margin-bottom: 24px; }
.hero-social-proof { justify-content: center; }
.hero-avatar { border-radius: 50%; }
.hero-ctas { justify-content: center; }
.scroll-indicator { display: none; }

.hero-form-wrap { width: 100%; }
.hero .cta-form-wrap {
  padding: 22px 26px;
  border-radius: 0;
  border-top: 6px solid var(--color-accent);
  clip-path: var(--angled);
}
.hero .quote-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: center;
}
.hero .quote-form > .form-row:first-of-type { display: contents; }
.hero .quote-form > .form-row ~ .form-row,
.hero .quote-form > .form-group:has(textarea) { display: none; }
.hero .quote-form .form-group { margin: 0; }
/* Labels stay for screen readers; the placeholders show what goes where. */
.hero .quote-form .form-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero .quote-form .form-group input { height: 50px; }
.hero .quote-form .form-note { font-size: 0.78rem; }
.hero .quote-form .form-title {
  margin: 0;
  align-self: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}
.hero .quote-form .btn { width: auto; white-space: nowrap; }
.hero .quote-form .form-message,
.hero .quote-form .form-note { grid-column: 1 / -1; margin: 0; }
.form-group input,
.form-group select,
.form-group textarea { border-radius: 0; }

/* ── Inner page banners: photo with diagonal foot ──────────────────────── */
.page-hero {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
  padding-bottom: 96px;
}
.page-hero-title { font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 0.98; }
.page-hero-title em { font-style: normal; }

/* ── Trust bar: a saffron band with white text ─────────────────────────── */
.trust-bar,
.trust-bar.section-tint,
.trust-bar.section-forest,
.trust-bar.section-dark {
  background: var(--color-accent);
  border-bottom: 0;
}
.trust-bar .trust-icon { background: rgba(255, 255, 255, 0.16); color: #fff; border-radius: 0; clip-path: var(--angled-sm); }
.trust-bar .trust-text strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.trust-bar .trust-text span { color: rgba(255, 255, 255, 0.88); }
.trust-bar .trust-divider { background: rgba(255, 255, 255, 0.3); }

/* ── Services: full-photo tiles with the title over a dark fade ────────── */
.services-grid { gap: 18px; }
.service-card {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--color-forest);
  clip-path: var(--angled);
  box-shadow: none;
}
.service-card:hover { transform: none; box-shadow: none; }
.service-card-img {
  position: absolute;
  inset: 0;
  height: auto;
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(var(--color-forest-rgb), 0.95) 0%, rgba(var(--color-forest-rgb), 0.55) 45%, rgba(var(--color-forest-rgb), 0.05) 75%);
}
.service-card-body {
  position: relative;
  z-index: 1;
  padding: 28px;
  pointer-events: none;
}
.service-card-body a { pointer-events: auto; }
.service-card-icon { display: none; }
.service-card-title { color: #fff; font-size: 1.7rem; font-weight: 800; }
.service-card-desc { color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.service-card .card-link { color: var(--color-accent); font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── About + image rows: angled photos ─────────────────────────────────── */
.about-img-main,
.about-img-secondary,
.split-image,
.pf-item { clip-path: var(--angled); }
.about-img-secondary { border: 0; box-shadow: none; }
.about-years-badge { clip-path: var(--angled-sm); box-shadow: none; }
.about-years-number { font-weight: 800; font-size: 2.6rem; }
.about-years-label { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.split-list li::before { border-radius: 0; }

/* ── Process: numbered circles joined by a line ────────────────────────── */
.process-steps { position: relative; align-items: flex-start; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(var(--color-accent-rgb), 0.45);
}
.process-connector { display: none; }
.process-step { position: relative; z-index: 1; }
.process-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--color-moss);
}
.process-content h3 { font-size: 1.35rem; }

/* ── Portfolio ─────────────────────────────────────────────────────────── */
.portfolio-grid-filter { gap: 16px; }
.pf-tag { border-radius: 0; color: #fff; font-weight: 700; }
.pf-overlay h3 { font-size: 1.35rem; }

/* ── Mid-page call strip ───────────────────────────────────────────────── */
.midpage-cta-headline { text-transform: uppercase; }

/* ── Stats ─────────────────────────────────────────────────────────────── */
.stat-number,
.stat-suffix { font-weight: 800; }
.stat-label { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; }

/* ── Areas: a two-column list of towns with a small photo and an arrow ─── */
@media (min-width: 769px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
}
.area-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  border-bottom: 2px solid var(--color-border);
}
.area-card:hover { transform: none; box-shadow: none; border-bottom-color: var(--color-accent); }
.area-card-img { aspect-ratio: 1 / 1; clip-path: var(--angled-sm); }
.area-card-body { padding: 0 36px 0 0; position: relative; }
.area-card-body::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}
.area-card:hover .area-card-body::after { transform: translate(6px, -50%); }
.area-card-title { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
.area-card-tag { font-family: var(--font-heading); font-size: 0.85rem; }
/* The card's own "Tree surgery in …" link line is replaced by the arrow. */
.area-card-link,
.area-card .card-link { display: none; }
.area-pills a { clip-path: var(--angled-sm); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── FAQ: boxed questions with a saffron edge ──────────────────────────── */
.faq-item {
  background: #fff;
  border: 0;
  border-left: 5px solid var(--color-accent);
  margin-bottom: 10px;
  padding: 0 22px;
}
.faq-question {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ── Final contact section: diagonal top edge ──────────────────────────── */
.cta-final-section {
  clip-path: polygon(0 72px, 100% 0, 100% 100%, 0 100%);
  padding-top: 160px;
}
.cta-form-wrap { border-radius: 0; clip-path: var(--angled); }

/* The phone number is already in the top strip, so the menu bar drops its
   copy; on smaller desktops the menu also tightens. */
.header-actions .header-phone { display: none; }
@media (max-width: 1340px) {
  .nav-link,
  .nav-dropdown-trigger { padding: 8px 8px; }
  .header-inner { gap: 16px; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero .quote-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .quote-form .form-title,
  .hero .quote-form .btn { grid-column: 1 / -1; }
  .hero .quote-form .btn { justify-self: start; }
}

@media (max-width: 1024px) {
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  :root { --topbar-height: 0px; --header-bar: 72px; }
  .header-topbar { display: none; }
  .hero-layout { padding-top: 48px; }
  .hero .quote-form { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
}

@media (max-width: 600px) {
  .area-card { grid-template-columns: 88px 1fr; gap: 16px; }
  .area-card-title { font-size: 1.35rem; }
}

/* Image logo (wide, 1500x399): fit inside the 84px menu bar. */
@media (min-width: 769px) {
  .site-header .logo-img { height: 66px; }
}
.mobile-menu-header .logo-img { height: 44px; width: auto; }
.logo-img--footer { height: 64px; }

/* Hero variant (add "hero--text-right" under Advanced → Additional CSS class):
   text column on the right so a subject on the left of the photo stays clear. */
@media (min-width: 1025px) {
  .hero.hero--text-right .hero-overlay {
    background:
      linear-gradient(90deg, rgba(var(--color-forest-rgb), 0.12) 0%, rgba(var(--color-forest-rgb), 0.2) 38%, rgba(var(--color-forest-rgb), 0.8) 62%, rgba(var(--color-forest-rgb), 0.9) 100%),
      linear-gradient(180deg, rgba(var(--color-forest-rgb), 0) 60%, rgba(var(--color-forest-rgb), 0.6) 100%);
  }
  .hero.hero--text-right .hero-layout { justify-items: end; }
  .hero.hero--text-right .hero-content {
    max-width: 560px;
    text-align: left;
    align-items: flex-start;
  }
  .hero.hero--text-right .hero-badges,
  .hero.hero--text-right .hero-social-proof,
  .hero.hero--text-right .hero-ctas { justify-content: flex-start; }
  .hero.hero--text-right .hero-headline { font-size: clamp(3rem, 4.8vw, 4.75rem); }
  .hero.hero--text-right .hero-subtext { margin-left: 0; }
  .hero.hero--text-right .hero-badges { flex-wrap: nowrap; white-space: nowrap; }
  .hero.hero--text-right .hero-badge { font-size: 0.8rem; letter-spacing: 0.1em; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  .hero.hero--text-right .hero-content { max-width: 490px; }
  .hero.hero--text-right .hero-badge { font-size: 0.72rem; letter-spacing: 0.06em; }
}
