/*
 * Shared tokens and building blocks for every section.
 * Colours follow the old Flatsome theme the WordPress site used
 * (primary blue #446084, accent orange #d26e4b), so the page keeps its look.
 */

:root {
  --color-primary: #446084;
  --color-accent: #d26e4b;
  --color-accent-hover: #b95b3a;
  --color-text: #333333;
  --color-muted: #777777;
  --color-line: #e6e6e6;
  --color-dark: #1c1c1c;
  --container: 1080px;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* anchors land below the sticky header */
}

body {
  margin: 0;
  font-family: "Rubik", "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* Centred content column used by every section. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button--accent {
  background: var(--color-accent);
  color: #ffffff;
}

.button--accent:hover,
.button--accent:focus-visible {
  background: var(--color-accent-hover);
}

.button--large {
  padding: 0.85rem 2rem;
  font-size: 1.15rem;
}

/* ---------- Section title with lines on both sides ---------- */

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-line);
}

.section-title span {
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--color-line);
  text-align: center;
}

/* Phones: no room for the side lines; the boxed title takes the full width instead
   of wrapping inside a narrow box. */
@media (max-width: 560px) {
  .section-title::before,
  .section-title::after {
    display: none;
  }

  .section-title span {
    flex: 1;
  }
}
