/* Sample website for a home renovation business, by NexaGen Innovation. Deep teal and warm amber. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 105.06%; ascent-override: 98.8%; descent-override: 21.13%; line-gap-override: 0%; }
:root {
  --ink: #13282b;
  --ink-2: #3c5155;
  --muted: #5f7276;
  --line: #e1e8e7;
  --bg: #f4f7f6;
  --teal: #0e4a4d;
  --teal-2: #0a3235;
  --amber: #f5a524;
  --amber-2: #ffc15e;
  --amber-text: #8f5400;
  --green: #15803d;
  --radius: 18px;
  --shadow: 0 16px 44px rgba(10, 50, 53, .10);
  --shadow-lg: 0 28px 70px rgba(10, 50, 53, .22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 86px; }
body { font-family: 'Plus Jakarta Sans', 'Jakarta Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.02em; }
h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
section { padding: 88px 0; }
.soft { background: var(--bg); }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--amber-text); }
.kicker::before { content: ''; width: 24px; height: 3px; border-radius: 3px; background: var(--amber); }
.head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.head p { margin-top: 12px; font-size: 17.5px; color: var(--ink-2); }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 24px; border: 0; border-radius: 12px; font: inherit; font-size: 15.5px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.amber { background: var(--amber); color: #1e1300; box-shadow: 0 10px 24px rgba(245, 165, 36, .35); }
.btn.wa { background: var(--green); color: #fff; }
.btn.line { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }

/* the note that says this is a sample */
.ribbon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 8px 14px; background: var(--ink); color: #d9e5e4; font-size: 13px; text-align: center; }
.ribbon a { font-weight: 800; color: var(--amber-2); white-space: nowrap; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.brand i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--teal); color: var(--amber-2); }
.brand .ico { width: 23px; height: 23px; }
.links { display: flex; gap: 26px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.links a:hover { color: var(--amber-text); }
.top .btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); font-weight: 700; }
.menu-open .mobile-nav { display: block; }

/* hero */
.hero { position: relative; padding: 76px 0 112px; overflow: hidden; background: var(--teal-2); color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 40, 43, .95) 0%, rgba(8, 40, 43, .82) 46%, rgba(8, 40, 43, .34) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.hero .kicker { color: var(--amber-2); }
.hero h1 { margin-top: 16px; font-size: clamp(38px, 5vw, 62px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--amber-2); }
.hero .lead { margin-top: 18px; max-width: 540px; font-size: 18.5px; color: #dce8e6; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.promises { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14.5px; font-weight: 700; color: #eef5f4; }
.promises li { display: inline-flex; align-items: center; gap: 8px; }
.promises .ico { width: 18px; height: 18px; color: var(--amber-2); stroke-width: 2.6; }

/* quote form */
.quote { padding: 28px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.quote h2 { margin: 0; font-size: 24px; }
.quote > p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.quote form { display: grid; gap: 12px; margin-top: 16px; }
.quote label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.quote input, .quote select { width: 100%; height: 46px; padding: 0 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfc; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); }
.quote input:focus, .quote select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 74, 77, .12); }
.quote .btn { width: 100%; }
.quote small { display: block; text-align: center; font-size: 12.5px; color: var(--muted); }

/* numbers */
.numbers { position: relative; z-index: 2; margin-top: -56px; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.num { padding: 22px 26px; }
.num + .num { border-left: 1px solid var(--line); }
.num b { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--teal); }
.num span { font-size: 14px; font-weight: 600; color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service { overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service div { padding: 20px 22px 22px; }
.service h3 { font-size: 20px; font-weight: 800; }
.service p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* before and after slider */
.compare { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-lg); --x: 50%; background: var(--line); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .was { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare .tag { position: absolute; top: 16px; padding: 6px 13px; border-radius: 999px; background: rgba(10, 50, 53, .86); color: #fff; font-size: 13px; font-weight: 800; }
.compare .tag.l { left: 16px; }
.compare .tag.r { right: 16px; background: var(--amber); color: #1e1300; }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare .bar::after { content: '⇆'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--teal); font-size: 22px; font-weight: 800; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible ~ .bar::after { outline: 3px solid var(--amber); outline-offset: 2px; }

/* why us */
.why { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.why > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.reasons { list-style: none; display: grid; gap: 20px; margin-top: 26px; }
.reasons li { display: flex; gap: 15px; }
.reasons i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--teal); color: var(--amber-2); }
.reasons b { display: block; font-size: 17px; font-weight: 800; }
.reasons p { margin-top: 2px; font-size: 15px; color: var(--ink-2); }

/* how it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amber); color: #1e1300; font-size: 18px; font-weight: 800; }
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 800; color: #fff; }
.step p { margin-top: 6px; font-size: 15px; color: #c7d7d6; }
.dark { background: var(--teal-2); color: #fff; }
.dark .kicker { color: var(--amber-2); }
.dark .head p { color: #c7d7d6; }

/* our work */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work figure { position: relative; overflow: hidden; border-radius: 16px; background: var(--line); }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.work figure:hover img { transform: scale(1.05); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(8, 40, 43, .88)); color: #fff; font-size: 15px; font-weight: 800; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.review .stars { color: #d98a00; letter-spacing: 3px; }
.review p { flex: 1; margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }
.review b { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.review span { font-size: 13.5px; color: var(--muted); }

/* contact band */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: 52px; border-radius: 26px; background: var(--teal); color: #fff; }
.contact h2 { margin: 0; color: #fff; }
.contact p { margin-top: 10px; font-size: 17px; color: #d6e4e3; }
.contact .ctas { margin-top: 24px; }
.info { list-style: none; display: grid; gap: 14px; padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
.info li { display: flex; gap: 12px; font-size: 15px; color: #eef5f4; }
.info .ico { color: var(--amber-2); }
footer { padding: 28px 0 32px; background: var(--ink); color: #b9c9c8; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
footer a { color: var(--amber-2); font-weight: 700; }

/* phone bar */
.bar-m { display: none; }

/* gentle entrance while scrolling, added by script only to what is still off-screen */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 1040px) {
  .links { display: none; }
  .burger { display: inline-flex; }
  .top .btn { display: none; }
  .hero .wrap, .why, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 96px; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 40, 43, .9), rgba(8, 40, 43, .78)); }
  .why { gap: 36px; }
  .services, .work, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .numbers .wrap { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(3) { border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 32px); }
  section { padding: 64px 0; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16.5px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .quote { padding: 22px; }
  .num { padding: 16px; }
  .num b { font-size: 26px; }
  .num span { font-size: 13px; }
  .services, .steps { grid-template-columns: minmax(0, 1fr); }
  .work { gap: 10px; }
  .work figcaption { padding: 24px 10px 8px; font-size: 13px; }
  .compare { aspect-ratio: 4 / 3; }
  .contact { padding: 32px 22px; border-radius: 20px; }
  .contact .btn { flex: 1 1 100%; }
  .head { margin-bottom: 34px; }
  body { padding-bottom: 68px; }
  .bar-m { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10, 50, 53, .1); }
  .bar-m .btn { height: 46px; padding: 0 8px; font-size: 14px; }
}
