/*
Theme Name: HHosting GeneratePress
Theme URI: https://hhosting.nl/
Author: HHosting
Description: Zakelijk HHosting-childtheme op basis van het bestaande GeneratePress-thema.
Template: generatepress
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: hhosting-gp
*/

:root {
  --hh-ink: #172033;
  --hh-muted: #5e6a7d;
  --hh-blue: #2457a7;
  --hh-blue-dark: #173c76;
  --hh-paper: #ffffff;
  --hh-soft: #f3f5f7;
  --hh-line: #d8dee7;
  --hh-max: 1120px;
}

body {
  color: var(--hh-ink);
  background: var(--hh-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--hh-blue); }

h1,
h2,
h3 {
  color: var(--hh-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.32rem; }

.grid-container { max-width: var(--hh-max); }

.site-header {
  border-bottom: 1px solid var(--hh-line);
  background: #fff;
}

.inside-header { padding: 24px 20px; }
.site-logo img { width: auto; height: 58px; }
.wp-custom-logo .site-branding { display: none; }
.site-branding .main-title { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; }
.site-branding .main-title a { color: var(--hh-ink); }
.site-description { margin-top: 3px; color: var(--hh-muted); font-size: 0.88rem; }

.main-navigation {
  border-bottom: 1px solid var(--hh-line);
  background: #fff;
}

.main-navigation .main-nav ul li a {
  color: var(--hh-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: #fff;
  background: var(--hh-blue);
}

#page { max-width: none; }
.site-content { padding: 0; }
.content-area { width: 100%; }
.inside-article { padding: 0; }
.entry-content { margin: 0; }
.entry-content > * { margin-bottom: 0; }

.container,
.narrow {
  width: min(calc(100% - 40px), var(--hh-max));
  margin-right: auto;
  margin-left: auto;
}

.narrow { max-width: 760px; }

.hero {
  padding: 92px 0;
  border-bottom: 1px solid var(--hh-line);
  background: var(--hh-soft);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: block;
  margin-bottom: 15px;
  color: var(--hh-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead { max-width: 720px; color: var(--hh-muted); font-size: 1.2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--hh-blue);
  border-radius: 4px;
  color: #fff;
  background: var(--hh-blue);
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover {
  border-color: var(--hh-blue-dark);
  color: #fff;
  background: var(--hh-blue-dark);
}

.button.secondary { color: var(--hh-blue); background: transparent; }
.button.secondary:hover,
.button.secondary:focus { color: #fff; background: var(--hh-blue); }

.hero-card,
.price-card,
.feature-panel {
  padding: 30px;
  border: 1px solid var(--hh-line);
  border-top: 5px solid var(--hh-blue);
  border-radius: 4px;
  background: #fff;
}

.browser-bar { display: none; }

.status {
  display: inline-block;
  margin-bottom: 12px;
  color: #357044;
  font-size: 0.9rem;
  font-weight: 700;
}

.status::before { margin-right: 8px; content: "●"; }

.metric {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hh-line);
}

.metric:last-child { border-bottom: 0; }
.metric span { color: var(--hh-muted); }
.metric strong { text-align: right; }

.trust-strip {
  padding: 18px 0;
  border-bottom: 1px solid var(--hh-line);
  background: #fff;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 38px;
  margin: 0;
  padding: 0;
  color: var(--hh-muted);
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-list li::before { margin-right: 8px; color: #357044; content: "✓"; }

.section { padding: 88px 0; }
.section.alt { border-block: 1px solid var(--hh-line); background: var(--hh-soft); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading > div { max-width: 700px; }
.section-heading p { max-width: 470px; color: var(--hh-muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--hh-line);
  border-radius: 4px;
  background: #fff;
}

.card p { color: var(--hh-muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 2px;
  color: #fff;
  background: var(--hh-blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.text-link { font-weight: 700; text-decoration: none; }
.feature-panel { background: #f8fafc; }

.check-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 28px;
  color: var(--hh-muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #357044;
  content: "✓";
  font-weight: 700;
}

.steps { counter-reset: step; display: grid; gap: 0; margin-top: 24px; }

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hh-line);
}

.step::before {
  color: var(--hh-blue);
  content: "0" counter(step);
  font-weight: 700;
}

.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--hh-muted); }

.price { margin: 10px 0 20px; color: var(--hh-blue); font-size: 2.6rem; font-weight: 700; }
.price small { color: var(--hh-muted); font-size: 0.92rem; font-weight: 400; }

.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.notice {
  padding: 22px 24px;
  border: 1px solid #b8c6d9;
  border-left: 5px solid var(--hh-blue);
  color: var(--hh-muted);
  background: #f7f9fc;
}

.notice strong { color: var(--hh-ink); }

.cta-band {
  width: min(calc(100% - 40px), var(--hh-max));
  margin: 0 auto 88px;
  padding: 52px;
  border-radius: 4px;
  color: #fff;
  background: var(--hh-blue-dark);
}

.cta-band h2 { color: #fff; }
.cta-band p { max-width: 680px; color: #dbe6f7; }
.cta-band .button { border-color: #fff; color: var(--hh-blue-dark); background: #fff; }

.contact-card { margin-top: 32px; }

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hh-line);
}

.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--hh-muted); }

.contact-form {
  padding: 30px;
  border: 1px solid var(--hh-line);
  border-radius: 4px;
  background: #fff;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.contact-form label span { color: var(--hh-muted); font-size: 0.85rem; font-weight: 400; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b9c3d0;
  border-radius: 3px;
  color: var(--hh-ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus { outline: 3px solid rgba(36, 87, 167, 0.16); border-color: var(--hh-blue); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer { border-top: 1px solid #213a5f; background: #13233b; }
.site-info { color: #dbe6f7; background: #13233b; }
.site-info a { color: #fff; }

@media (max-width: 900px) {
  .hero-grid,
  .split { grid-template-columns: 1fr; gap: 38px; }
  .cards { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container,
  .narrow { width: min(calc(100% - 28px), var(--hh-max)); }
  .hero { padding: 64px 0; }
  .site-logo img { height: 48px; }
  .section { padding: 64px 0; }
  .hero-card,
  .price-card,
  .feature-panel,
  .card,
  .contact-form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .cta-band { width: calc(100% - 28px); padding: 34px 24px; }
  .trust-list { justify-content: flex-start; }
}
