:root {
  --brand: #37388a;
  --brand-dark: #080a33;
  --link: #42428e;
  --heading: #333333;
  --text: #606060;
  --footer: #1a1c20;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
  font-size: 15px; line-height: 1.75; color: var(--text);
  background: #fff;
}
a { color: var(--link); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* Top bar */
.topbar { border-bottom: 1px solid #eee; font-size: 13px; font-weight: 300; color: var(--brand); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: var(--brand); }

/* Header */
header.main { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 0 15px rgba(0,0,0,.07); }
header.main .container { display: flex; justify-content: space-between; align-items: center; height: 92px; }
.logo img { height: 66px; width: auto; }
nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
nav a {
  font-family: Roboto, Helvetica, Arial, sans-serif; font-weight: 700; font-size: 20px;
  color: var(--heading); text-decoration: none; padding: 8px 12px; transition: color .2s;
}
nav a:hover, nav a.active { color: var(--brand); }
.search-btn { background: none; border: 0; cursor: pointer; padding: 8px; }
.search-btn svg { width: 16px; height: 16px; fill: var(--heading); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; }

/* Hero */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: url("../img/hero-refurbishment.webp") center/cover no-repeat;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(55,56,138,.15); }
.hero-inner { position: relative; padding: 40px 20px; animation: fadeUp 1s ease both; }
.hero h1 { font-weight: 400; font-size: 44px; line-height: 1.2; text-shadow: 1px 1px 1px #000; }
.hero p { font-size: 20px; font-weight: 300; margin-top: 8px; text-shadow: 1px 1px 1px #000; }
.hero .btns { display: flex; gap: 30px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero .btn {
  display: inline-block; min-width: 140px; padding: 12px 24px; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; border: 3px solid #000; border-radius: 3px; transition: opacity .2s, transform .2s;
}
.hero .btn:hover { opacity: .85; transform: translateY(-2px); }
.btn-primary { background: rgba(55,56,138,.9); }
.btn-dark { background: rgba(8,10,51,.9); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* Section headings */
section { padding: 80px 0; }
.section-title { text-align: center; }
.section-title h2 { font-size: 34px; font-weight: 700; color: var(--heading); line-height: 1.3; }
.section-title .sep { width: 78px; height: 4px; margin: 26px auto 30px; border-top: 3px solid var(--brand); border-bottom: 1px solid var(--brand); }
.lead { text-align: center; max-width: 1140px; margin: 0 auto; }

/* Services circles */
.services-grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.ih-item { position: relative; width: 250px; height: 250px; border-radius: 50%; overflow: hidden; display: block; text-decoration: none; }
.ih-item img { width: 100%; height: 100%; object-fit: cover; }
.ih-item::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 20px solid rgba(255,255,255,.2); pointer-events: none; }
.ih-info {
  position: absolute; inset: 0; border-radius: 50%; background: rgba(0,0,0,.75);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
  opacity: 0; transform: scale(.6); transition: all .35s ease-in-out;
}
.ih-item:hover .ih-info, .ih-item:focus .ih-info { opacity: 1; transform: scale(1); }
.ih-info h3 { color: #fff; font-size: 22px; line-height: 28px; font-weight: 400; }
.ih-info .line { width: 100px; border-top: 1px solid rgba(255,255,255,.75); margin: 10px 0; }
.ih-info p { color: #bbb; font-size: 12px; line-height: 1.5; }
.center { text-align: center; }
.btn-outline {
  display: inline-block; margin-top: 40px; padding: 10px 16px; font-size: 16px; color: #0088cc;
  border: 2px solid #0088cc; border-radius: 5px; text-decoration: none; transition: all .2s;
}
.btn-outline:hover { background: #0088cc; color: #fff; }

/* Feature cards */
.features {
  background: linear-gradient(rgba(55,56,138,.35), rgba(55,56,138,.35)),
              url("../img/bg-features.webp") center/cover fixed;
  padding: 45px 0;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border-radius: 8px; padding: 40px 30px 50px; text-align: center; }
.card img { height: 100px; width: auto; margin: 0 auto 22px; }
.card h4 { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.card p { margin: 0 0 4px; }
.card a { color: var(--link); }

/* Map */
.map { padding: 20px 0 0; }
.map .frame { background: #f7f7f7; padding: 8px; border: 1px solid #eee; }
.map iframe { width: 100%; height: 450px; border: 0; display: block; }

/* Accreditations */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; margin-top: 40px; }
.logos a { display: block; transition: transform .2s, opacity .2s; }
.logos a:hover { transform: scale(1.05); opacity: .85; }
.logos img { height: 110px; width: auto; object-fit: contain; }

/* Footer */
footer { background: var(--footer); color: #8d8d8f; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 50px 0 30px; }
footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 15px; }
footer ul { list-style: none; }
footer li { margin-bottom: 6px; }
footer .links a { color: #fff; text-decoration: none; }
footer .links a:hover { color: #9a9bdc; }
footer .muted li { line-height: 1.6; margin-bottom: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.footer-bottom a { color: #8d8d8f; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 3px;
  background: rgba(55,56,138,.85); color: #fff; display: grid; place-items: center; text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Cookie bar */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; background: #e8e8e8; color: #333; font-size: 13px;
  text-align: center; padding: 8px 40px; z-index: 70;
}
.cookie button.got { background: none; border: 0; color: #1a73e8; text-decoration: underline; cursor: pointer; margin-left: 12px; font: inherit; }
.cookie button.x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 18px; cursor: pointer; }

/* Responsive */
@media (max-width: 992px) {
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .features { background-attachment: scroll; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  nav { position: absolute; top: 92px; left: 0; right: 0; background: #fff; box-shadow: 0 10px 15px rgba(0,0,0,.08); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; padding: 10px 0; }
  nav a { display: block; padding: 10px 30px; font-size: 17px; }
  .search-btn { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar .addr { display: none; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section-title h2 { font-size: 28px; }
  section { padding: 55px 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .logos img { height: 80px; }
  .ih-info { opacity: 1; transform: none; background: rgba(0,0,0,.55); }
  .ih-info p { display: none; }
}

/* ---------- Inner pages ---------- */
.pt-0 { padding-top: 0; }
.page-header {
position: relative; background: #222 center/cover no-repeat; color: #fff; text-align: center;
min-height: 200px; display: flex; align-items: center;
}
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(8,10,51,.55); }
.page-header .container { position: relative; width: 100%; }
.page-header h1 { font-size: 34px; font-weight: 700; line-height: 1.2; }
.breadcrumbs { list-style: none; display: flex; justify-content: center; gap: 8px; font-size: 13px; margin-top: 8px; color: rgba(255,255,255,.75); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.sub-title { font-size: 24px; font-weight: 700; color: var(--heading); line-height: 1.4; margin-bottom: 18px; }
.sub-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--brand); margin-top: 12px; }
.sub-title.center::after { margin-left: auto; margin-right: auto; }
.sub-title.center { margin-bottom: 26px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.two-col p + p { margin-top: 14px; }
.rounded { border-radius: 8px; width: 100%; height: auto; }

/* CTA band */
.cta-band { background: #353688; color: #fff; text-align: center; padding: 50px 0; }
.cta-band h2 { font-size: 34px; font-weight: 700; line-height: 1.3; margin-bottom: 22px; }
.btn-ghost {
display: inline-block; padding: 11px 19px; font-size: 14px; color: #cdcee2; border: 2px solid #cdcee2;
border-radius: 5px; text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { background: #cdcee2; color: #353688; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.testimonial { background: #f7f7f7; border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0; padding: 26px 28px; display: flex; flex-direction: column; }
.testimonial blockquote { font-style: italic; flex: 1; }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 54px; line-height: .8; color: var(--brand); font-style: normal; font-family: Georgia, serif; }
.testimonial figcaption { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--heading); }

/* Services tabs */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; scroll-margin-top: 110px; }
.svc-tabs { display: flex; flex-direction: column; position: sticky; top: 112px; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; }
.svc-tabs a {
display: block; padding: 13px 20px; color: var(--heading); text-decoration: none; font-weight: 600; font-size: 14px;
border-bottom: 1px solid #e6e6e6; transition: background .2s, color .2s;
}
.svc-tabs a:last-child { border-bottom: 0; }
.svc-tabs a:hover { background: #f3f3fa; color: var(--brand); }
.svc-tabs a.active { background: var(--brand); color: #fff; }
.svc-panel { scroll-margin-top: 110px; }
.svc-panel + .svc-panel { margin-top: 60px; }
.js-tabs .svc-panel + .svc-panel { margin-top: 0; }
.svc-panel h2 { font-size: 28px; font-weight: 700; color: var(--heading); line-height: 1.3; margin-bottom: 20px; }
.svc-panel h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--brand); margin-top: 12px; }
.svc-panel h4 { font-size: 17px; color: var(--heading); margin: 20px 0 8px; }
.svc-panel p { margin-bottom: 12px; }
.svc-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-bottom: 10px; }
.svc-top h4:first-child { margin-top: 0; }
.ticks { list-style: none; columns: 2; column-gap: 30px; margin-bottom: 14px; }
.ticks li { padding-left: 24px; position: relative; break-inside: avoid; margin-bottom: 4px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.callout { background: #f3f3fa; border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 0 6px 6px 0; }
.members { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.member { display: flex; align-items: center; gap: 16px; flex: 1 1 260px; background: #f7f7f7; border-radius: 8px; padding: 14px 18px; }
.member img { width: auto; height: 60px; flex-shrink: 0; }
.member p { margin: 0; font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.contact-info h4 { font-size: 15px; color: var(--heading); margin-top: 16px; }
.contact-info h4:first-of-type { margin-top: 0; }
.contact-form { display: grid; gap: 16px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label span { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.contact-form input, .contact-form textarea {
width: 100%; font: inherit; color: var(--heading); padding: 11px 14px; border: 1px solid #ddd; border-radius: 4px; background: #fafafa;
transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
justify-self: start; background: rgba(55,56,138,.9); color: #fff; font: inherit; font-weight: 700; font-size: 14px;
padding: 12px 28px; border: 0; border-radius: 3px; cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--brand-dark); }
.form-msg { padding: 14px 18px; border-radius: 4px; margin-bottom: 18px; }
.form-msg.ok { background: #e8f5e9; color: #1b5e20; }
.form-msg.err { background: #fdecea; color: #8a1c13; }
footer a.plain { color: inherit; text-decoration: none; }

@media (max-width: 992px) {
.svc-layout { grid-template-columns: 1fr; gap: 30px; }
.svc-tabs { position: static; flex-direction: row; flex-wrap: wrap; border: 0; gap: 8px; border-radius: 0; }
.svc-tabs a { border: 1px solid #e6e6e6; border-radius: 4px; padding: 8px 14px; }
.contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
.two-col, .svc-top, .testimonials { grid-template-columns: 1fr; }
.two-col { gap: 30px; }
.ticks { columns: 1; }
.contact-form .row2 { grid-template-columns: 1fr; }
.page-header h1, .cta-band h2 { font-size: 26px; }
.svc-panel h2 { font-size: 23px; }
}
