/* ============================================================
   Renovare Digital — stylesheet
   Palette drawn from the logo: deep ink-navy, slate grey, cream.
   ============================================================ */

:root {
  --ink:        #20303d;   /* logo dark */
  --ink-soft:   #2e4150;
  --slate:      #8a949d;   /* logo grey */
  --slate-dim:  #aab2ba;
  --cream:      #f5f4ef;   /* logo background */
  --cream-deep: #ecebe4;
  --white:      #ffffff;
  --line:       #e3e2da;
  --accent:     #3a6b8f;   /* refined blue-slate accent */
  --accent-deep:#2c5675;

  --shadow-sm: 0 1px 2px rgba(32,48,61,.05), 0 4px 12px rgba(32,48,61,.05);
  --shadow-md: 0 10px 30px rgba(32,48,61,.08), 0 2px 8px rgba(32,48,61,.05);
  --shadow-lg: 0 30px 70px rgba(32,48,61,.14), 0 8px 24px rgba(32,48,61,.08);

  --radius:   18px;
  --radius-sm:12px;
  --maxw: 1160px;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 820px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4.25rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.02em;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -.018em;
}
h3 { font-size: 1.22rem; letter-spacing: -.01em; }

.accent { color: var(--accent); font-style: italic; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .005em;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--solid {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--solid:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,244,239,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); background: rgba(245,244,239,.9); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.nav__logo { height: 42px; width: auto; display: block; color: var(--ink); }
.nav__brand { display: flex; align-items: center; }
.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav__links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; font-size: .9rem; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(58,107,143,.10), transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__trust li { font-size: .92rem; color: var(--ink-soft); }
.hero__trust strong { color: var(--ink); font-weight: 700; }

/* Hero browser mockup */
.hero__visual { position: relative; }
.browser {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero__visual:hover .browser { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.browser__bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--slate-dim); }
.browser__body { padding: 24px; }
.bb-hero {
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--ink), var(--accent));
  margin-bottom: 18px;
}
.bb-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.bb-card { height: 64px; border-radius: 8px; background: var(--cream-deep); }
.bb-line { height: 12px; border-radius: 6px; background: var(--cream-deep); margin-bottom: 11px; }
.bb-line--lg { width: 70%; background: var(--slate-dim); }
.bb-line--sm { width: 45%; }

.float-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
.float-badge--1 { top: 8%; left: -8%; }
.float-badge--2 { bottom: 10%; right: -6%; animation-delay: 1.4s; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Strip ---------- */
.strip {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 0;
}
.strip__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.strip span {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-dim);
}
.strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.strip li { font-weight: 600; font-size: .95rem; opacity: .92; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { margin-bottom: 18px; }
.section__sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 56ch; }

/* ---------- Problem ---------- */
.problem { background: var(--cream); }
.problem__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.prob {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prob:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prob__no {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--slate);
  display: block;
  margin-bottom: 18px;
}
.prob h3 { margin-bottom: 12px; }
.prob p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- What / cards ---------- */
.what { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--slate-dim); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Process ---------- */
.process { background: var(--cream); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 18px; }
.step__num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .96rem; }
.step::after {
  content: "";
  position: absolute;
  top: 41px; left: 46px; right: -24px;
  height: 1.5px;
  background: var(--line);
}
.step:last-child::after { display: none; }

/* ---------- Compare ---------- */
.work { background: var(--white); }
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.compare__col { display: flex; flex-direction: column; }
.compare__tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  background: var(--cream-deep); color: var(--slate);
  margin-bottom: 18px;
}
.compare__tag--after { background: var(--ink); color: var(--cream); }
.compare__arrow { font-size: 2rem; color: var(--slate); }
.compare__notes { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.compare__notes li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .95rem; }
.compare__notes li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
}
.compare__col--before .compare__notes li::before { background: var(--slate-dim); }
.compare__col--after  .compare__notes li::before { background: var(--accent); }

.mock {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}
.mock--before { background: #e9e7df; padding: 16px; }
.m-row--head { height: 22px; width: 60%; background: #cfccc0; border-radius: 4px; margin-bottom: 16px; }
.m-block { height: 70px; background: #d7d4c8; border-radius: 4px; margin-bottom: 14px; }
.m-line { height: 9px; background: #d2cfc3; border-radius: 3px; margin-bottom: 9px; }
.m-line--sm { width: 50%; }
.m-foot { height: 26px; background: #cfccc0; border-radius: 4px; margin-top: 16px; }

.mock--after { background: var(--white); box-shadow: var(--shadow-md); }
.ma-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--cream); border-bottom: 1px solid var(--line); }
.ma-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-dim); }
.ma-hero {
  padding: 26px 22px;
  background: linear-gradient(120deg, var(--ink), var(--accent));
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.ma-h1 { width: 70%; height: 16px; background: rgba(255,255,255,.92); border-radius: 5px; }
.ma-h2 { width: 50%; height: 10px; background: rgba(255,255,255,.55); border-radius: 5px; }
.ma-btn { width: 90px; height: 26px; background: var(--cream); border-radius: 100px; margin-top: 6px; }
.ma-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 18px; }
.ma-cards span { height: 50px; background: var(--cream-deep); border-radius: 8px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--cream); }
.price-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  margin: 0 auto;
}
.price-card__main {
  padding: clamp(36px, 5vw, 56px);
  background:
    radial-gradient(circle at 80% -10%, rgba(58,107,143,.4), transparent 60%),
    var(--ink);
}
.price-card__label { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-dim); margin-bottom: 18px; }
.price-card__amount { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
.price-card__amount .currency { font-family: var(--serif); font-size: 2.2rem; margin-top: 12px; }
.price-card__amount .figure { font-family: var(--serif); font-size: clamp(4rem, 9vw, 6rem); line-height: .9; font-weight: 500; }
.price-card__amount .once { align-self: flex-end; font-size: .9rem; color: var(--slate-dim); margin-bottom: 14px; margin-left: 6px; }
.price-card__note { color: var(--slate-dim); margin-bottom: 28px; }
.price-card .btn--solid { background: var(--cream); color: var(--ink); }
.price-card .btn--solid:hover { background: var(--white); }
.price-card__small { font-size: .82rem; color: var(--slate-dim); margin-top: 14px; text-align: center; }
.price-card__list {
  list-style: none;
  padding: clamp(36px, 5vw, 56px);
  background: var(--ink-soft);
  display: flex; flex-direction: column; justify-content: center;
  gap: 15px;
}
.price-card__list li { position: relative; padding-left: 30px; font-size: .98rem; color: #dfe3e6; }
.price-card__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.accordion { display: flex; flex-direction: column; gap: 0; }
.acc {
  border-bottom: 1px solid var(--line);
}
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 48px 24px 0;
  font-size: 1.12rem;
  font-weight: 600;
  position: relative;
  color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400;
  color: var(--slate);
  transition: transform .3s var(--ease);
}
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc p { padding: 0 48px 26px 0; color: var(--ink-soft); }

/* ---------- Enquire ---------- */
.enquire { background: var(--cream); }
.enquire__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: clamp(32px, 5vw, 60px);
}
.enquire__intro { margin-bottom: 36px; text-align: center; }
.enquire__intro .eyebrow { margin-bottom: 14px; }
.enquire__intro .section__sub { margin: 12px auto 0; }
.enquire__direct { list-style: none; margin-top: 22px; }
.enquire__direct span { color: var(--slate); font-size: .92rem; }
.enquire__direct a { color: var(--accent); font-weight: 600; }
.enquire__direct a:hover { text-decoration: underline; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: .88rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--slate); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(58,107,143,.12);
}
.form button[type="submit"] { margin-top: 6px; }
.form__status { margin-top: 16px; font-weight: 600; text-align: center; min-height: 1.2em; }
.form__status.is-success { color: var(--accent-deep); }
.form__status.is-error { color: #b4452f; }
.form__privacy { margin-top: 14px; font-size: .82rem; color: var(--slate); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo { height: 48px; width: auto; color: var(--cream); opacity: .95; margin: 0 0 14px; }
.footer__brand p { color: var(--slate-dim); max-width: 32ch; font-size: .95rem; }
.footer__col h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-dim); margin-bottom: 18px; font-weight: 700; }
.footer__col a { display: block; color: #d3d8dc; margin-bottom: 12px; font-size: .96rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
  color: var(--slate-dim);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero .lede { max-width: none; }
  .problem__grid, .cards { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step::after { display: none; }
  .price-card { grid-template-columns: 1fr; }
  .float-badge--1 { left: 0; }
  .float-badge--2 { right: 0; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 20px 28px 28px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__cta { display: inline-flex; position: absolute; top: 230px; left: 28px; right: 28px; }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); justify-self: center; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__trust { gap: 10px 18px; }
  body { font-size: 16px; }
}

@media (max-width: 460px) {
  .container { padding: 0 20px; }
  .problem__grid, .cards, .steps { grid-template-columns: 1fr; }
}
