/* ===========================
   EWO 2000 – styles.css
   Practical Local Trust Design
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Variables --- */
:root {
  --red: #c0392b;
  --red-dark: #a93226;
  --graphite: #2c2c2c;
  --mid-grey: #5a5a5a;
  --light-grey: #f4f4f4;
  --border: #ddd;
  --white: #fff;
  --max-w: 1100px;
  --radius: 4px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--graphite);
}

h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section--grey {
  background: var(--light-grey);
}

.section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  margin-bottom: 1.75rem;
  color: var(--graphite);
}

.section-title--center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover, .btn--primary:focus {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn--outline {
  background: transparent;
  color: var(--graphite);
  border-color: var(--graphite);
}

.btn--outline:hover, .btn--outline:focus {
  background: var(--graphite);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-white:hover, .btn--outline-white:focus {
  background: var(--white);
  color: var(--graphite);
}

.btn--lg {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--graphite);
  color: #ccc;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar__contact a {
  color: #ccc;
  transition: color 0.15s;
}

.top-bar__contact a:hover { color: var(--white); }

.top-bar__sep { color: #555; }

/* --- Header --- */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--graphite);
  letter-spacing: -0.5px;
}

.site-logo span {
  color: var(--red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--graphite);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
  background: #fdf0ef;
}

.header-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  background: var(--light-grey);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.hero__content {}

.hero__h1 {
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--mid-grey);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.hero__panel h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid-grey);
  margin-bottom: 0.85rem;
}

.hero__panel ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--graphite);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__panel ul li:last-child { border-bottom: none; }

.hero__panel ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__panel a.btn {
  display: block;
  text-align: center;
  margin-top: 1.1rem;
}

/* Image placeholder */
.img-placeholder {
  background: #e0e0e0;
  border: 1px dashed #bbb;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #888;
  font-size: 0.82rem;
  padding: 1rem;
  line-height: 1.4;
}

/* --- Proof Strip --- */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.proof-card {
  padding: 1rem 0.75rem;
  border-left: 3px solid var(--red);
  background: var(--light-grey);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.proof-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid-grey);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.proof-card__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.3;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: #bbb;
}

.service-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  display: block;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--graphite);
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s;
}

.service-card__link:hover { gap: 0.5rem; }

.services-cta {
  text-align: center;
}

/* --- Differentiation --- */
.diff-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.diff-section__photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.diff-section__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--graphite);
  line-height: 1.5;
}

.diff-item::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 0.45em;
  flex-shrink: 0;
}

/* --- Process Steps --- */
.process-steps {
  display: flex;
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 0.75rem;
  position: relative;
  z-index: 1;
}

.step__num {
  width: 3rem;
  height: 3rem;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
  position: relative;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}

.step__text {
  font-size: 0.85rem;
  color: var(--mid-grey);
  line-height: 1.45;
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--graphite);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: color 0.15s;
}

.faq-question:hover { color: var(--red); }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--mid-grey);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- Final CTA / Contact Banner --- */
.cta-banner {
  background: var(--graphite);
  color: var(--white);
  padding: 3rem 0;
}

.cta-banner__inner {
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #bbb;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-banner__btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-banner__contact {
  font-size: 0.88rem;
  color: #999;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner__contact a {
  color: #ccc;
  transition: color 0.15s;
}

.cta-banner__contact a:hover { color: var(--white); }

/* --- Contact Form --- */
.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--graphite);
  background: var(--white);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--mid-grey);
}

.contact-info-box {
  background: var(--light-grey);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-info-box h3 {
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid-grey);
  font-weight: 600;
}

.contact-info-item__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite);
}

.contact-info-item__value a {
  color: var(--red);
  transition: color 0.15s;
}

.contact-info-item__value a:hover { color: var(--red-dark); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--graphite);
  color: var(--white);
  padding: 2.5rem 0;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: #bbb;
  font-size: 1rem;
  max-width: 600px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumb a { color: #aaa; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: #666; }

/* --- Info Boxes --- */
.info-box {
  background: #fff8f8;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--graphite);
}

.info-box strong { color: var(--red); }

/* --- Detail List --- */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--graphite);
}

.detail-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* --- Two-col content --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.two-col--wide-left {
  grid-template-columns: 3fr 2fr;
}

/* --- Footer --- */
.site-footer {
  background: #1a1a1a;
  color: #999;
  padding: 2.5rem 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .site-logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #888;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: #888;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-col p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

.footer-col a {
  color: #aaa;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.site-footer__bottom {
  border-top: 1px solid #333;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

/* --- Sticky Mobile Bar --- */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 2px solid var(--border);
  padding: 0.6rem 1rem;
  gap: 0.6rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-sticky .btn {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.5rem;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: start;
  }

  .hero__panel h3 {
    grid-column: 1 / -1;
  }

  .hero__panel a.btn {
    grid-column: 1 / -1;
  }

  .proof-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .two-col--wide-left {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .top-bar { display: none; }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 0;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }

  .site-nav a:last-child { border-bottom: none; }

  .site-header__inner {
    position: relative;
  }

  .header-cta {
    display: none;
  }

  .mobile-sticky {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    gap: 1.25rem;
  }

  .process-steps::before {
    display: none;
  }

  .step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
  }

  .step__num {
    margin: 0;
    flex-shrink: 0;
  }

  .step__text {
    padding-top: 0.6rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__contact {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero__panel {
    grid-template-columns: 1fr;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Utility --- */
.text-red { color: var(--red); }
.text-grey { color: var(--mid-grey); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
