/* ------------------------------------------------------------------
   Theme variables
------------------------------------------------------------------ */
:root {
  --color-primary: #e73c1e;      /* OnePress accent                 */
  --color-dark:    #333;
  --color-light:   #fff;
  --container-max: 72rem;        /* 1152 px                         */
  --gutter:        1rem;
  --font-body:     "Open Sans", Arial, sans-serif;
  --font-heading:  "Raleway", Arial, sans-serif;
}

/* ------------------------------------------------------------------
   Reset & base
------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font: 400 1rem/1.6 var(--font-body);
  color: var(--color-dark);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.25;
}

a       { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout helpers */
.container { width: min(calc(100% - 2*var(--gutter)), var(--container-max)); margin-inline: auto; }
.flex      { display: flex; align-items: center; justify-content: space-between; }

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.site-header {
  background: var(--color-light);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
.logo img       { display: block; max-height: 80px; height: auto; }
.nav-toggle     { display: none; border: 0; background: none; font-size: 1.5rem; cursor: pointer; }
.menu           { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.menu a         { font-weight: 600; color: var(--color-dark); }
.menu a:hover   { color: var(--color-primary); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .menu       { display: none; flex-direction: column; background: var(--color-light);
                position: absolute; top: 100%; inset-inline: 0; padding: 1rem;
                box-shadow: 0 4px 8px rgba(0,0,0,.05); }
  .menu--open { display: flex; }
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center;
  position: relative;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-content { position: relative; width: 100%; text-align: center; }

.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-light);
}
.btn-secondary:hover,
.btn-secondary:focus { opacity: .9; }

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.section      { padding: 4rem 0; }
.section--light { background: var(--color-light); }
.section--dark  { background: var(--color-dark); color: var(--color-light); }
.section--dark a { color: var(--color-light); }

/* ------------------------------------------------------------------
   Services grid
------------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service        { text-align: center; }
.service__icon  { height: 96px; margin-bottom: 1rem; }
.service__title { margin: .5rem 0; font-size: 1.25rem; }

/* ------------------------------------------------------------------
   Contact / Footer
------------------------------------------------------------------ */
.contact a { color: var(--color-primary); }
.contact a:hover { text-decoration: underline; }

.site-footer {
  background: #111;
  color: var(--color-light);
  padding: 1rem 0;
  font-size: .875rem;
}
.site-footer a      { color: var(--color-light); }
.back-to-top {
  background: var(--color-primary);
  color: var(--color-light);
  padding: .5rem .75rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
