/* ==========================================================================
   MKL Decorating — Commercial Division
   Stylesheet built to extend the branding of mkldecorating.com
   ========================================================================== */

:root {
  /* Brand colours — matched to mkldecorating.com */
  --navy: #01405b;
  --navy-dark: #012c3f;
  --navy-mid: #194c60;
  --cyan: #029fe3;
  --cyan-deep: #0799be;
  --text-body: #515151;
  --text-heading: #333333;
  --bg-light: #f2f2f2;
  --bg-white: #ffffff;
  --border-light: #dfe4e7;
  --success: #1e8a4c;
  --error: #c0392b;

  --font-base: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container-width: 1400px;
  --radius: 6px;
  --shadow-sm: 0 2px 8px rgba(1, 41, 58, 0.08);
  --shadow-md: 0 12px 32px rgba(1, 41, 58, 0.16);
  --transition: 0.2s ease;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
}

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

a {
  color: var(--cyan-deep);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  color: var(--text-heading);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; }
li { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 88px 0;
}

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

.section-navy {
  background: var(--navy);
  color: #cfe4ec;
}

.section-navy h2,
.section-navy h3 {
  color: #ffffff;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--cyan-deep);
  margin-bottom: 14px;
}

.section-navy .eyebrow {
  color: var(--cyan);
}

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: #fff;
  color: var(--navy);
}

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

.btn-outline-navy:hover,
.btn-outline-navy:focus-visible {
  background: var(--navy);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfe4ec;
}

.header-bar a {
  color: #fff;
  font-weight: 600;
}

.header-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.header-bar-contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.header-bar-contacts span svg {
  vertical-align: -3px;
  margin-right: 6px;
}

.back-to-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 700;
}

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.2;
}

.brand-text .brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.brand-text .brand-division {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 2px;
}

.brand:hover .brand-name,
.brand:focus-visible .brand-name {
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: #fff;
}

.nav-toggle svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow { color: var(--cyan); }

.hero h1 {
  color: #fff;
  margin-bottom: 0.5em;
}

.hero-lede {
  font-size: 1.15rem;
  color: #dcebf1;
  max-width: 54ch;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #eaf4f8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-trust-item svg {
  flex-shrink: 0;
  color: var(--cyan);
  width: 22px;
  height: 22px;
}

.hero-media {
  max-width: 400px;
  margin-left: auto;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Intro / bridge section
   -------------------------------------------------------------------------- */

.intro {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-light);
}

.intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.intro-text p:last-child { margin-bottom: 0; }

.intro-panel {
  background: var(--bg-light);
  border-left: 4px solid var(--cyan-deep);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.intro-panel h3 {
  margin-bottom: 0.5em;
  font-size: 1.05rem;
}

.intro-panel p {
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 10px;
}

.areas-list li {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.service-card h3 {
  text-transform: none;
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.service-card p {
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Why choose us
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 40px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-item .why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(2, 159, 227, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item .why-icon svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.why-item h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: none;
  margin-bottom: 0.3em;
}

.why-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
  color: #cfe4ec;
}

.accreditation-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  flex-wrap: wrap;
}

.accreditation-strip img {
  max-height: 68px;
  width: auto;
  background: #fff;
  padding: 10px 16px;
  border-radius: 4px;
}

.accreditation-strip span {
  font-size: 0.85rem;
  color: #cfe4ec;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 14px;
}

.process-step .step-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cyan-deep);
  opacity: 0.35;
  display: block;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4em;
}

.process-step p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-study {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.case-study-media {
  position: relative;
}

.case-study-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.case-study-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}

.case-study-body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-study-body h3 {
  text-transform: none;
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.case-study-body p {
  font-size: 0.93rem;
  flex: 1;
}

.case-study-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cyan-deep);
  margin-bottom: 10px;
}

.case-study-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.case-study-thumbs img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.portfolio-cta {
  text-align: center;
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   Enquiry form
   -------------------------------------------------------------------------- */

.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.enquiry-info h2 { color: #fff; }

.enquiry-info p { color: #cfe4ec; }

.contact-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list a {
  color: #fff;
  font-weight: 700;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--cyan);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list span.label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9fc3d1;
  font-weight: 700;
  margin-bottom: 2px;
}

.enquiry-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  color: var(--text-body);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
}

.form-field label .required {
  color: var(--cyan-deep);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid #cdd6da;
  border-radius: 4px;
  color: var(--text-heading);
  background: #fff;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 159, 227, 0.18);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: #7a8a90;
  margin-top: -4px;
}

.form-submit-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-submit-row .form-note {
  margin-top: 0;
}

/* Honeypot — visually hidden from sighted users, left in DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.error {
  background: #fdecea;
  color: var(--error);
  border: 1px solid #f5c6cb;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-dark);
  color: #b9cdd6;
  padding: 64px 0 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy-dark);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #b9cdd6;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--cyan);
}

.footer-col address {
  font-style: normal;
  margin-bottom: 14px;
}

.footer-main-site {
  background: rgba(2, 159, 227, 0.12);
  border: 1px solid rgba(2, 159, 227, 0.4);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 6px;
}

.footer-main-site a {
  color: var(--cyan);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.8rem;
  color: #8ba7b3;
}

.footer-bottom a { color: #8ba7b3; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--cyan); }

/* --------------------------------------------------------------------------
   Thank-you page
   -------------------------------------------------------------------------- */

.thankyou-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.thankyou-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(2, 159, 227, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.thankyou-icon svg {
  width: 42px;
  height: 42px;
  color: var(--cyan-deep);
}

.next-steps {
  text-align: left;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 36px 0;
}

.next-steps h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8em;
}

.next-steps ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: ns;
}

.next-steps li {
  counter-increment: ns;
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
}

.next-steps li::before {
  content: counter(ns);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan-deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .enquiry-layout { grid-template-columns: 1fr; }
  .enquiry-info { order: 2; }
  .enquiry-form { order: 1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 6px;
    box-shadow: var(--shadow-md);
  }

  .site-header.nav-open .main-nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-bar-contacts .call-secondary { display: none; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 320px; margin: 0 auto; }

  .intro .container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }

  .header-bar { font-size: 0.78rem; }
  .header-bar-contacts { gap: 12px; }

  .brand img { width: 44px; height: 44px; }
  .brand-text .brand-name { font-size: 0.9rem; }
  .brand-text .brand-division { font-size: 0.62rem; }
  .header-actions { gap: 10px; }
  .header-actions .btn-primary { padding: 10px 16px; font-size: 0.76rem; }

  .services-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

  .enquiry-form { padding: 28px 22px; }

  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { width: 100%; }

  .accreditation-strip { gap: 20px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
