/* ==========================================================
   CITY CARPET MASTERZ — site styles
   Keeps the logo's blue-and-lime palette, on navy and pale aqua.
   ========================================================== */
:root {
  --navy: #12324a;
  --navy-2: #0d2638;
  --blue: #0798cc;
  --blue-dk: #0580ad;
  --lime: #a5d62b;
  --lime-dk: #92c11c;
  --aqua: #e7f7f8;
  --aqua-2: #d3eff2;
  --white: #ffffff;
  --text: #12324a;
  --muted: #4b5f6d;
  --line: #d5e3e8;
  --wa: #25d366;
  --f-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 36px);
  --r: 14px;
  --shadow: 0 10px 30px -12px rgba(18, 50, 74, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: 90px; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.bar { display: block; width: 76px; height: 7px; border-radius: 6px; background: var(--lime); margin: 0 0 22px; }
.center { text-align: center; }
.center .bar { margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 24px; border-radius: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dk); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dk); }
.btn-out { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-out:hover { background: var(--navy); color: #fff; }
.btn svg { flex: none; }
.btn-pill { border-radius: 40px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .88rem; padding-top: env(safe-area-inset-top, 0px); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; }
.topbar b { text-transform: uppercase; letter-spacing: .02em; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--lime); }
@media (max-width: 560px) { .topbar b { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav-bar { display: flex; align-items: center; gap: 30px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 66px; height: auto; }
.brand b { display: block; font-family: var(--f-head); font-weight: 800; color: var(--blue); font-size: 1.15rem; letter-spacing: .01em; line-height: 1.1; }
.brand small { display: block; font-family: var(--f-head); font-weight: 700; font-size: .62rem; font-style: italic; letter-spacing: .03em; color: var(--navy); }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: .92rem; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav-links a:hover { border-color: var(--lime); }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--navy); }
.nav-links .m-only { display: none; }
@media (max-width: 880px) {
  .nav-bar > .btn { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; gap: 0; background: #fff; padding: 90px 26px 26px; transform: translateX(100%); transition: transform .3s; box-shadow: -20px 0 40px rgba(18,50,74,.2); }
  .nav-open .nav-links { transform: none; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .m-only { display: block; }
}

/* Hero */
.hero { background: var(--aqua); padding: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 30px; align-items: center; }
.hero-copy { padding-block: 44px 20px; }
.hero-copy p { font-size: 1.2rem; max-width: 30ch; margin: 0 0 26px; }
.hero-copy .btn { width: min(100%, 300px); justify-content: space-between; }
.hero-copy .btn + .btn { margin-top: 12px; justify-content: center; }
.hero-media { position: relative; align-self: stretch; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: 30% 60%; border-bottom-left-radius: 70px; }
.badge { position: absolute; right: 24px; bottom: 26px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow); font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.badge svg { color: var(--lime); flex: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 26px; }
  .hero-media { margin-inline: calc(-1 * var(--gutter)); }
  .hero-media img { min-height: 260px; border-radius: 0 0 0 50px; }
}

.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.pill { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 40px; padding: 13px 20px; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: .9rem; line-height: 1.15; box-shadow: 0 4px 14px -6px rgba(18,50,74,.18); transition: transform .2s; }
.pill:hover { transform: translateY(-2px); }
.pill svg { color: var(--blue); flex: none; }
@media (max-width: 900px) { .pills { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding-block: clamp(50px, 7vw, 80px); }
.bg-aqua { background: var(--aqua); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* Price cards */
.price-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.price-card { grid-column: span 2; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card.wide { grid-column: span 3; }
.price-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.price-card.wide img { aspect-ratio: 3.3 / 1; }
.price-card .body { padding: 18px 24px 22px; }
.price-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.price { display: inline-block; background: var(--lime); color: var(--navy); font-family: var(--f-head); font-weight: 800; padding: 6px 16px; border-radius: 9px; font-size: 1.05rem; }
.price-card p { margin: 10px 0 0; color: var(--muted); font-size: .97rem; }
.note { text-align: center; font-style: italic; color: var(--muted); margin: 22px 0 0; }
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(2, 1fr); } .price-card, .price-card.wide { grid-column: span 1; } .price-card.wide img { aspect-ratio: 2 / 1; } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

/* How it works */
.how { text-align: center; }
.how-steps { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin: 10px 0 30px; }
.how-step { display: flex; align-items: center; gap: 14px; text-align: left; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.how-step .n { width: 50px; height: 50px; border-radius: 50%; background: var(--aqua); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex: none; }
.how-sep { width: 22px; height: 2px; background: rgba(255,255,255,.6); }
@media (max-width: 760px) { .how-steps { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; } .how-sep { display: none; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { background: var(--aqua); border-radius: var(--r); padding: 26px 22px; border-top: 5px solid var(--lime); }
.svc-card .ic { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { margin: 0 0 8px; color: var(--muted); font-size: .97rem; }
.svc-card ul { margin: 0 0 8px; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.svc-card .tip { font-weight: 700; color: var(--navy); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* Service types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.type { display: flex; gap: 16px; padding: 4px 28px; border-left: 2px solid var(--line); }
.type:first-child { border-left: 0; padding-left: 0; }
.type .n { width: 46px; height: 46px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; flex: none; }
.type h3 { margin-bottom: 6px; }
.type p { margin: 0 0 8px; color: var(--muted); font-size: .98rem; }
.type ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .types { grid-template-columns: 1fr; gap: 26px; } .type { border-left: 0; padding: 0; } }

/* Enquiry */
.enq { display: grid; grid-template-columns: 1fr auto 1.05fr; gap: 40px; align-items: center; }
.enq .divider { width: 2px; align-self: stretch; background: var(--line); }
.btn-wa { display: inline-flex; align-items: center; gap: 16px; background: var(--blue); color: #fff; border-radius: 12px; padding: 14px 26px; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; transition: background .2s; }
.btn-wa:hover { background: var(--blue-dk); }
.enq-card { background: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.enq-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.enq-field { display: flex; align-items: center; gap: 12px; border: 1.5px solid #b9cbd4; border-radius: 10px; padding: 4px 14px; margin-bottom: 12px; background: #fff; }
.enq-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,152,204,.2); }
.enq-field svg { color: var(--navy); flex: none; }
.enq-field select, .enq-field input { flex: 1; min-width: 0; border: 0; padding: 10px 0; background: transparent; color: var(--navy); font-size: .97rem; outline: none; }
.enq-card .hint { font-style: italic; font-size: .9rem; color: var(--muted); margin: 4px 0 16px; }
.enq-card .btn { width: 100%; }
.enq-status { margin: 12px 0 0; font-size: .92rem; font-weight: 600; color: var(--blue-dk); }
@media (max-width: 900px) { .enq { grid-template-columns: 1fr; gap: 26px; } .enq .divider { display: none; } }

/* About / contact */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 7px 0 7px 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 14px; width: 8px; height: 5px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 34px 0 calc(22px + env(safe-area-inset-bottom, 0px)); }
.foot { display: grid; grid-template-columns: auto auto 1fr; gap: 26px 40px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.3); }
.foot .brand { background: #fff; border-radius: 10px; padding: 8px 18px; margin: 0; }
.foot .divider { width: 2px; height: 70px; background: rgba(255,255,255,.3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot li { display: flex; align-items: center; gap: 12px; }
.foot li svg { flex: none; color: #fff; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; font-size: .85rem; color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot .divider { display: none; } }

/* Floating WhatsApp (mobile) */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float:hover { transform: scale(1.05); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
