/*
Theme Name: Mobile World Meridian
Theme URI: https://shopmobileworld.com/
Author: Mobile World
Description: Fast, accessible local service theme for Mobile World in Meridian, Mississippi.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mobile-world-meridian
*/

:root {
  --ink: #13231e;
  --muted: #5f6f68;
  --green: #087f5b;
  --green-dark: #056146;
  --green-soft: #e8f5ef;
  --blue: #1e66d0;
  --cream: #fbfaf6;
  --white: #fff;
  --line: #dfe8e3;
  --shadow: 0 20px 60px rgba(19, 35, 30, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.mw-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.mw-announcement {
  padding: 9px 20px;
  color: #fff;
  background: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
}
.mw-announcement span { color: #85e0bd; margin-right: 7px; }
.mw-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(19,35,30,.08);
  background: rgba(251,250,246,.94);
  backdrop-filter: blur(14px);
}
.mw-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mw-brand { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; text-decoration: none; }
.mw-brand strong { color: var(--green); }
.mw-mark {
  position: relative;
  width: 39px; height: 39px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green), #26b985);
  box-shadow: 0 8px 20px rgba(8,127,91,.2);
}
.mw-mark::before, .mw-mark::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 5px;
  border: 2px solid #fff; border-radius: 4px;
}
.mw-mark::before { top: 9px; }
.mw-mark::after { bottom: 9px; }
.mw-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.mw-links a { text-decoration: none; }
.mw-links a:hover { color: var(--green); }
.mw-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 24px; border: 2px solid var(--green); border-radius: 999px;
  color: #fff; background: var(--green); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 24px rgba(8,127,91,.2); transition: .18s ease;
}
.mw-btn:hover { transform: translateY(-2px); background: var(--green-dark); border-color: var(--green-dark); }
.mw-btn-outline { color: var(--green-dark); background: transparent; box-shadow: none; }
.mw-btn-small { min-height: 44px; padding: 0 19px; font-size: 14px; }
.mw-hero { padding: 74px 0 58px; overflow: hidden; }
.mw-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.mw-eyebrow {
  margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 900;
  letter-spacing: .13em; text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 21px; font-size: clamp(45px, 5.4vw, 76px); }
h1 span { display: block; color: var(--green); }
h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 22px; }
.mw-device-list { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 18px; font-weight: 800; }
.mw-device-list i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.mw-lead { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; }
.mw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mw-trust { display: flex; gap: 34px; margin-top: 35px; }
.mw-trust b, .mw-trust span { display: block; }
.mw-trust b { font-size: 21px; }
.mw-trust span { color: var(--muted); font-size: 13px; }
.mw-photo {
  position: relative; overflow: hidden; aspect-ratio: 16 / 12; border-radius: 34px;
  background: var(--green-soft); box-shadow: var(--shadow);
}
.mw-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.mw-photo::after {
  content: "Walk-ins welcome"; position: absolute; right: 22px; bottom: 22px;
  padding: 11px 16px; border-radius: 999px; color: var(--green-dark); background: rgba(255,255,255,.94);
  font-size: 13px; font-weight: 900; box-shadow: 0 10px 28px rgba(0,0,0,.13);
}
.mw-info { color: #fff; background: var(--ink); }
.mw-info-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 25px; }
.mw-info span { display: block; color: #a9bbb3; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.mw-info strong { font-size: 15px; }
.mw-info a { color: #83dfbb; font-weight: 800; text-decoration: none; }
.mw-section { padding: 95px 0; }
.mw-section-white { background: #fff; }
.mw-heading { max-width: 760px; margin-bottom: 42px; }
.mw-heading p:last-child { color: var(--muted); font-size: 18px; }
.mw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mw-card {
  padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: .18s ease;
}
.mw-card:hover { transform: translateY(-5px); border-color: #b9d8ca; box-shadow: 0 18px 45px rgba(19,35,30,.09); }
.mw-icon {
  width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 15px; color: var(--green-dark); background: var(--green-soft); font-size: 23px; font-weight: 900;
}
.mw-card p { color: var(--muted); }
.mw-card a { color: var(--green); font-weight: 900; text-decoration: none; }
.mw-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; }
.mw-proof {
  min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 55px;
  border-radius: 32px; color: #fff; background: linear-gradient(145deg, var(--green-dark), var(--green));
  box-shadow: var(--shadow);
}
.mw-proof-number { margin: 0; font-size: 112px; font-weight: 900; line-height: .85; }
.mw-proof-label { max-width: 320px; font-size: 24px; font-weight: 800; line-height: 1.25; }
.mw-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.mw-pills span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 12px; font-weight: 800; }
.mw-list { padding: 0; margin: 26px 0 0; list-style: none; display: grid; gap: 15px; }
.mw-list li { position: relative; padding-left: 31px; color: var(--muted); }
.mw-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px;
  display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 12px; font-weight: 900;
}
.mw-business {
  position: relative; overflow: hidden; padding: 62px; border-radius: 34px; color: #fff;
  background: linear-gradient(120deg, #102721 0%, #123e32 62%, #0d7254 100%);
}
.mw-business::after { content: ""; position: absolute; width: 330px; height: 330px; right: -100px; top: -120px; border-radius: 50%; background: rgba(102,222,175,.12); }
.mw-business-content { position: relative; z-index: 1; max-width: 770px; }
.mw-business .mw-eyebrow { color: #82dfbb; }
.mw-business p { color: #d2e3dc; }
.mw-business .mw-btn { background: #fff; border-color: #fff; color: var(--green-dark); box-shadow: none; }
.mw-business-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 30px; }
.mw-business-tags span { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 700; }
.mw-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mw-review { padding: 29px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mw-stars { color: #f4a51c; letter-spacing: 3px; }
.mw-review blockquote { margin: 16px 0; font-size: 17px; font-weight: 650; }
.mw-review cite { color: var(--muted); font-style: normal; font-size: 13px; }
.mw-contact {
  display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; padding: 52px;
  border-radius: 30px; background: var(--green-soft);
}
.mw-contact p { max-width: 670px; margin-bottom: 0; color: var(--muted); }
.mw-footer { padding: 50px 0 90px; color: #c7d3ce; background: #0c1915; }
.mw-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 45px; }
.mw-footer h3 { color: #fff; font-size: 16px; letter-spacing: 0; }
.mw-footer a { color: #d8e4df; text-decoration: none; }
.mw-footer p { margin: 5px 0; }
.mw-mobile-bar { display: none; }

@media (max-width: 920px) {
  .mw-links { display: none; }
  .mw-hero-grid, .mw-split { grid-template-columns: 1fr; }
  .mw-hero { padding-top: 50px; }
  .mw-photo { max-height: 520px; }
  .mw-grid, .mw-review-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-info-grid { grid-template-columns: 1fr 1fr; padding: 24px 0; }
}
@media (max-width: 640px) {
  .mw-container { width: min(100% - 26px, 1180px); }
  .mw-header .mw-btn { display: none; }
  .mw-nav { min-height: 66px; }
  .mw-hero { padding: 38px 0 42px; }
  .mw-hero-grid { gap: 36px; }
  h1 { font-size: 43px; }
  .mw-lead { font-size: 16px; }
  .mw-actions { display: grid; }
  .mw-trust { gap: 18px; justify-content: space-between; }
  .mw-trust b { font-size: 17px; }
  .mw-trust span { font-size: 11px; }
  .mw-photo { border-radius: 24px; aspect-ratio: 4 / 3; }
  .mw-info-grid, .mw-grid, .mw-review-grid, .mw-contact, .mw-footer-grid { grid-template-columns: 1fr; }
  .mw-info-grid { gap: 14px; }
  .mw-section { padding: 70px 0; }
  .mw-card { padding: 24px; }
  .mw-proof, .mw-business, .mw-contact { padding: 34px 25px; border-radius: 24px; }
  .mw-proof { min-height: 340px; }
  .mw-proof-number { font-size: 88px; }
  .mw-mobile-bar {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid;
    grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--line);
    border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 12px 40px rgba(0,0,0,.18);
  }
  .mw-mobile-bar .mw-btn { min-height: 47px; padding: 0 12px; font-size: 13px; }
}


/* Editable repair quote form */
.mw-quote-form { max-width: 850px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 18px 45px rgba(19,35,30,.09); }
.mw-quote-form form { display: grid; gap: 18px; }
.mw-quote-form p { margin: 0; }
.mw-quote-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
.mw-quote-form input:not([type="submit"]), .mw-quote-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #bfd2ca; border-radius: 13px; color: var(--ink); background: #fff; font: inherit; }
.mw-quote-form textarea { min-height: 145px; resize: vertical; }
.mw-quote-form input:focus, .mw-quote-form textarea:focus { outline: 3px solid rgba(8,127,91,.14); border-color: var(--green); }
.mw-quote-form input[type="submit"] { min-height: 52px; padding: 0 25px; border: 0; border-radius: 999px; color: #fff; background: var(--green); font: inherit; font-weight: 900; cursor: pointer; box-shadow: 0 10px 24px rgba(8,127,91,.2); }
.mw-quote-form .wpcf7-spinner { margin: 0 0 0 12px; }
@media (max-width: 640px) { .mw-quote-form { padding: 25px 20px; border-radius: 22px; } }
