/* ============================================================
   The Manchester Patio People — brand stylesheet
   Navy #22304E · Terracotta #E0563A · Light grey #F4F5F7
   Headings: Montserrat (ExtraBold) · Body: Inter
   ============================================================ */

:root {
  --navy: #22304e;
  --navy-deep: #1a2540;
  --navy-700: #2c3c5e;
  --orange: #e0563a;
  --orange-dark: #c8452b;
  --grey-bg: #f4f5f7;
  --grey-line: #e2e5ea;
  --ink: #1f2733;
  --muted: #5b6675;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -22px rgba(20, 30, 55, 0.45);
  --shadow-sm: 0 8px 22px -14px rgba(20, 30, 55, 0.4);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

/* ---------- diamond motif ---------- */
.diamond {
  display: inline-block;
  width: 11px; height: 11px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(224, 86, 58, 0.7); }
.btn-accent:hover { background: var(--orange-dark); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.text-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.text-link:hover { color: var(--orange-dark); }

/* ---------- eyebrows / section heads ---------- */
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--orange);
  margin: 0 0 14px;
}
.eyebrow-dark { color: var(--orange); }

.section { padding: 92px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-intro { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.on-dark { color: #fff; }
.on-dark-muted { color: rgba(255, 255, 255, 0.78); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 0.92rem; color: var(--navy);
  transition: color 0.2s;
}
.nav a:hover { color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { display: flex; align-items: center; gap: 7px; color: var(--navy); font-family: "Montserrat", sans-serif; font-weight: 700; }
.phone-icon { color: var(--orange); font-size: 1.1rem; }
.phone-number { font-size: 0.95rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: 0.25s; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 14px 22px 22px; background: #fff; border-bottom: 1px solid var(--grey-line); }
.mobile-nav a { color: var(--navy); font-family: "Montserrat", sans-serif; font-weight: 600; padding: 11px 0; border-bottom: 1px solid var(--grey-line); }
.mobile-nav .btn { margin-top: 12px; border: 0; }
.site-header.open .mobile-nav { display: flex; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 37, 64, 0.94) 0%, rgba(26, 37, 64, 0.78) 42%, rgba(26, 37, 64, 0.32) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 104px 22px 96px; max-width: 760px; margin-left: max(22px, calc((100vw - var(--maxw)) / 2)); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 900; }
.accent-text { color: var(--orange); }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,0.9); max-width: 560px; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { list-style: none; margin: 38px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.96rem; color: rgba(255,255,255,0.92); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--grey-bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.3rem; }
.service-body p { color: var(--muted); margin: 0; flex: 1; }
.service-body .text-link { margin-top: 6px; }
.service-card--cta { background: var(--navy); color: #fff; justify-content: center; text-align: center; }
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: rgba(255,255,255,0.78); }
.service-card--cta .service-body { gap: 16px; align-items: center; }

/* ============================================================
   TRANSFORMATIONS (before / after)
   ============================================================ */
.transformations {
  background: var(--navy);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 26px);
}
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 48px; }
.ba-card { margin: 0; }
.ba-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  border: 3px solid rgba(255,255,255,0.08);
}
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { opacity: 0; transition: opacity 0.5s var(--ease); }
.ba-card.is-after .ba-after { opacity: 1; }
.ba-toggle {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; padding: 4px; border-radius: 100px; border: 0; cursor: pointer;
  background: rgba(26, 37, 64, 0.82); backdrop-filter: blur(4px);
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.8rem;
}
.ba-toggle span { padding: 7px 16px; border-radius: 100px; color: rgba(255,255,255,0.7); transition: 0.25s; text-transform: uppercase; letter-spacing: 0.04em; }
.ba-card:not(.is-after) .ba-toggle span:first-child { background: var(--orange); color: #fff; }
.ba-card.is-after .ba-toggle span:last-child { background: var(--orange); color: #fff; }
.ba-card figcaption { margin-top: 14px; color: rgba(255,255,255,0.82); font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.98rem; }

/* ============================================================
   WHY US
   ============================================================ */
.why-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.why-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .diamond { margin-top: 6px; }
.why-list strong { display: block; font-family: "Montserrat", sans-serif; color: var(--navy); font-size: 1.05rem; }
.why-list span { color: var(--muted); }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.why-badge {
  position: absolute; left: -22px; bottom: -22px; background: var(--orange); color: #fff;
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 200px;
}
.why-badge strong { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 2.2rem; display: block; line-height: 1; }
.why-badge span { font-size: 0.9rem; font-weight: 500; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--grey-bg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 16px;
}
.steps h3 { font-size: 1.18rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ============================================================
   AREAS
   ============================================================ */
.areas-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.areas-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.areas-list li {
  background: var(--grey-bg); border: 1px solid var(--grey-line); border-radius: var(--radius-sm);
  padding: 14px 12px; text-align: center; font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 0.92rem; color: var(--navy); transition: 0.2s;
}
.areas-list li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   QUOTE / CONTACT
   ============================================================ */
.quote { background: var(--navy-deep); }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.quote-copy .section-intro { margin-bottom: 28px; }
.quote-contacts { display: grid; gap: 14px; max-width: 360px; }
.contact-btn {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 16px 20px;
  color: #fff; transition: 0.2s;
}
.contact-btn:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.contact-ic { font-size: 1.5rem; color: var(--orange); }
.contact-btn strong { display: block; font-family: "Montserrat", sans-serif; }
.contact-btn span span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.contact-btn--wa .contact-ic { color: #25d366; }

.quote-form { background: #fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.quote-form h3 { font-size: 1.5rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid var(--grey-line); border-radius: var(--radius-sm); background: var(--grey-bg);
  transition: border-color 0.2s, background 0.2s; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-success { margin: 16px 0 0; padding: 14px; background: #e9f7ec; border-radius: var(--radius-sm); color: #1c7a3e; font-weight: 600; text-align: center; }
.form-error { margin: 16px 0 0; padding: 14px; background: #fbeae6; border-radius: var(--radius-sm); color: #b03a22; font-weight: 600; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.8); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding: 52px 22px 36px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-family: "Montserrat", sans-serif; color: #fff; letter-spacing: 0.05em; }
.footer-brand span { font-size: 0.88rem; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-contact a:hover { color: var(--orange); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: 0.85rem; }
.footer-bar a { color: var(--orange); font-weight: 600; }

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */
.sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; }
.sticky-bar a { flex: 1; text-align: center; padding: 15px; font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.92rem; }
.sticky-call { background: var(--navy); color: #fff; }
.sticky-quote { background: var(--orange); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav, .header-cta .phone-number { display: none; }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-inner, .areas-inner, .quote-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-media { max-width: 460px; }
  .footer-contact { text-align: left; }
  .hero-content { margin-left: 0; margin-right: 0; max-width: none; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .service-grid, .ba-grid, .steps, .areas-list { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { gap: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-content { padding: 72px 22px 92px; }
  .hero-actions .btn { flex: 1; }
  .why-badge { left: 12px; bottom: -16px; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 52px; }
  .header-cta .btn { display: none; }
}
