@view-transition { navigation: auto; }

:root {
  --bg: #F7F6F2;
  --cd: #FFFFFF;
  --tx: #121826;
  --t2: #4A5263;
  --pr: #0F7A5C;
  --pr-h: #0B5E47;
  --on: #FFFFFF;
  --gd: #C9A24A;
  --ln: #E4E1D8;
  --hero: #121826;
  --htx: #F7F6F2;
  --ht2: #B8C0CE;
  --hlogo: #2BB58A;
  --jade: #E3F1EB;
  --gold: #F6EEDA;
  --ft: #121826;
  --fttx: #B8C0CE;
  --ftlk: #2BB58A;
  --b2bg: transparent;
  --b2tx: #F7F6F2;
  --b2ln: #F7F6F2;
  --focus: #C9A24A;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0D1117;
  --cd: #161C26;
  --tx: #EEF1F5;
  --t2: #A3ACBA;
  --pr: #2BB58A;
  --pr-h: #4CCB9F;
  --on: #0D1117;
  --gd: #D9B55E;
  --ln: #2A3240;
  --hero: #0D1117;
  --htx: #EEF1F5;
  --ht2: #A3ACBA;
  --hlogo: #2BB58A;
  --jade: #0D1117;
  --gold: #0D1117;
  --ft: #0D1117;
  --fttx: #A3ACBA;
  --ftlk: #2BB58A;
  --b2bg: #161C26;
  --b2tx: #2BB58A;
  --b2ln: #2BB58A;
  --focus: #D9B55E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; }
p { text-wrap: pretty; margin: 0; }
a { color: var(--pr); }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--pr);
  color: var(--on);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 10;
  text-decoration: none;
}
.skip:focus { top: 10px; }

/* Header and hero */
.top { background: var(--hero); padding-bottom: 4rem; }

.hd {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  position: relative;
}

.lg {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--htx);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.lg span { color: var(--hlogo); }

.nv { display: flex; align-items: center; gap: 22px; }
.nv a {
  color: var(--ht2);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .2s ease;
}
.nv a:hover { color: var(--htx); }

.tg, .menu {
  background: transparent;
  color: var(--htx);
  border: 1px solid var(--ht2);
  border-radius: 8px;
  font: inherit;
  font-size: 0.85rem;
  min-width: 64px;
  min-height: 36px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.tg:hover, .menu:hover { border-color: var(--htx); }
.menu { display: none; }

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 24px 0;
}

.ey {
  color: var(--gd);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--htx);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin: 0 auto 18px;
}

.sb {
  color: var(--ht2);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.bt { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-height: 50px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.b1 { background: #0F7A5C; color: #FFFFFF; border: 1px solid #0F7A5C; }
.b1:hover { background: #0B5E47; }
:root[data-theme="dark"] .b1 { background: #2BB58A; color: #0D1117; border-color: #2BB58A; }
:root[data-theme="dark"] .b1:hover { background: #4CCB9F; }
.b2 { background: var(--b2bg); color: var(--b2tx); border: 1px solid var(--b2ln); }
.b2:hover { background: rgba(255,255,255,0.08); }

/* Sections */
.sec { max-width: 1040px; margin: 0 auto; padding: 4.5rem 24px; }
.sec.tight { padding-top: 0; }
.sec > h2, .cs h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.band.jade { background: var(--jade); }
.band.gold { background: var(--gold); }

.g { display: grid; gap: 16px; list-style: none; margin: 0 auto; padding: 0; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }

.c {
  background: var(--cd);
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  transition: transform .2s ease;
}
.c:hover { transform: translateY(-2px); }
.c h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--tx); }
.c p { color: var(--t2); font-size: 0.95rem; line-height: 1.5; }

.n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pr);
  color: var(--on);
  font-weight: 600;
  margin-bottom: 12px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gd);
  margin-bottom: 12px;
}

.cs {
  background: var(--cd);
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 820px;
  margin: 0 auto;
}
.cs h2 { margin-bottom: 12px; }
.cs p { color: var(--t2); font-size: 1.05rem; margin-bottom: 1.25rem; }

.lk {
  color: var(--pr);
  font-weight: 600;
  text-decoration: none;
}
.lk:hover { color: var(--pr-h); text-decoration: underline; text-underline-offset: 4px; }

.ph {
  margin: 0;
  background: var(--cd);
  border-radius: 14px;
  overflow: hidden;
}
.ph img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.ph figcaption { padding: 12px; font-size: 0.95rem; color: var(--t2); }

.more { margin-top: 1.5rem; }

.fq .c { text-align: left; }

/* Footer */
.ft { background: var(--ft); padding: 3rem 24px 2rem; }
.fnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 1.25rem; }
.fnav a { color: var(--fttx); text-decoration: none; font-size: 0.95rem; }
.fnav a:hover { color: var(--htx); }
.fmail { color: var(--ftlk); text-decoration: none; font-weight: 600; }
.fmail:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { color: var(--fttx); font-size: 0.85rem; margin-top: 1rem; opacity: 1; }

/* Shared */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.top.inner { padding-bottom: 3.25rem; }
.hero.small { padding-top: 2.75rem; }
.hero.small h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero.small .sb { margin-bottom: 0; }
.nv a[aria-current="page"] { color: var(--htx); font-weight: 600; }
.sec.narrow { max-width: 760px; }
.lead { color: var(--t2); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 680px; margin: -0.75rem auto 2rem; text-wrap: balance; }
.cta { padding-top: 3.5rem; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.b3 { background: var(--cd); color: var(--pr); border: 1px solid var(--pr); }
.b3:hover { background: var(--bg); }
.btn.full { width: 100%; }
.btn.small { width: auto; min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
a.c.cl { display: block; text-decoration: none; }
a.c.cl:hover h3 { color: var(--pr); }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { color: var(--t2); font-size: 0.95rem; line-height: 1.5; padding: 5px 0 5px 22px; position: relative; text-align: left; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--pr); }
.big-ticks { max-width: 520px; margin: 0 auto; }
.big-ticks li { font-size: 1.1rem; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a { background: var(--cd); color: var(--tx); text-decoration: none; padding: 9px 16px; border-radius: 999px; font-size: 0.92rem; transition: background-color .2s ease, color .2s ease; }
.chips a:hover, .chips a[aria-current] { background: var(--pr); color: var(--on); }

/* Services */
.svc { scroll-margin-top: 20px; }
.svc-g .c { text-align: left; }
.svc-g .c h3 { margin-bottom: 10px; }

/* Plans */
.plans { align-items: stretch; padding-top: 10px; }
.plan { display: flex; flex-direction: column; position: relative; padding: 2rem 1.25rem 1.5rem; }
.plan.featured { outline: 2px solid var(--pr); }
.plan h2 { font-size: 1.1rem; margin-bottom: 1rem; min-height: 3.2em; display: flex; align-items: center; justify-content: center; }
.plan .ticks { flex: 1; margin-bottom: 1.5rem; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--pr); color: var(--on); font-size: 0.78rem; font-weight: 600; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-size: 2.25rem; font-weight: 700; color: var(--tx); line-height: 1.1; }
.plan .per { color: var(--t2); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* Domains */
.search { display: block; width: 100%; max-width: 480px; margin: 0 auto 2rem; }
.dom h2 { font-size: 1.1rem; margin-bottom: 6px; word-break: break-word; }
.dom .dopt { color: var(--gd); font-weight: 600; font-size: 0.9rem; }
.dom .dprice { color: var(--tx); font-size: 1.2rem; font-weight: 700; margin: 6px 0 12px; }
.empty { margin-top: 1.5rem; color: var(--t2); }

/* Case study */
.stats .big { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; color: var(--pr); line-height: 1.2; margin-bottom: 4px; }
.stats p { color: var(--t2); }
.shot { margin: 2rem auto 0; border-radius: 16px; overflow: hidden; background: var(--cd); }
.shot img { width: 100%; }

/* Portfolio */
.port { gap: 24px; }
.pcard { display: block; text-decoration: none; transition: transform .2s ease; }
.pcard:hover { transform: translateY(-3px); }
.pinfo { display: block; padding: 16px; }
.pinfo strong { display: block; color: var(--tx); font-size: 1.1rem; }
.pinfo span { color: var(--t2); font-size: 0.95rem; }

/* About */
.about .portrait { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; background: var(--cd); }
.about h2 { font-size: 1.75rem; }
.role { color: var(--gd); font-weight: 600; margin: 4px 0 1.75rem; }
.about .lead { margin: 0 auto 1rem; }

/* FAQ */
.faq { display: grid; gap: 12px; text-align: left; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 3rem 1.2rem 1.4rem; font-weight: 600; color: var(--tx); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); color: var(--pr); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--t2); }
.faq .c:hover { transform: none; }

/* Forms */
.form { max-width: 720px; margin: 0 auto; text-align: left; padding: 2rem; }
.form:hover, .quiz .c:hover { transform: none; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--tx); }
input[type=text], input[type=email], input[type=date], input[type=search], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tx); background: var(--bg);
  border: 1px solid var(--ln); border-radius: 10px; padding: 11px 14px; min-height: 46px;
  transition: border-color .2s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--pr); outline: 2px solid var(--pr); outline-offset: 0; }
.invalid { border-color: #C0392B !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 4px; }
.fmsg { margin-top: 14px; min-height: 1.5em; font-weight: 600; color: var(--t2); }
.fmsg.ok { color: var(--pr); }
.fmsg.bad { color: #C0392B; }
:root[data-theme="dark"] .fmsg.bad, :root[data-theme="dark"] .invalid { color: #FF8A80; border-color: #FF8A80 !important; }
.notice { max-width: 720px; margin: 2rem auto 0; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.notice.ok { background: var(--jade); color: var(--pr); }
.notice.bad { background: #FDECEA; color: #A93226; }
#book, #message { scroll-margin-top: 20px; }

/* Checkup */
.quiz { display: grid; gap: 16px; text-align: left; }
.quiz .q { border: 0; margin: 0; padding: 1.5rem; }
.quiz legend { float: left; width: 100%; font-weight: 600; font-size: 1.05rem; color: var(--tx); margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.quiz legend + * { clear: both; }
.qn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pr); color: var(--on); font-size: 0.9rem; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--ln); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.opt:hover { border-color: var(--pr); }
.opt input { accent-color: var(--pr); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { border-color: var(--pr); background: var(--jade); }
:root[data-theme="dark"] .opt:has(input:checked) { background: #12302A; }
.quiz .missing { outline: 2px solid #C0392B; }
.quiz > .btn { justify-self: center; }
.quiz > .fmsg { text-align: center; }
.report { outline: none; }
.report .cs { margin-bottom: 1.5rem; }
.report .big { font-size: 3.5rem; font-weight: 700; color: var(--pr); line-height: 1; margin: 8px 0 10px; }
.recs { display: grid; gap: 12px; margin-bottom: 2rem; text-align: left; }
.recs .c p { margin-bottom: 8px; }

/* Privacy */
.prose { text-align: left; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--t2); }

/* Admin */
.admin main { text-align: left; }
.admin h1 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.admin .nv a { color: var(--ht2); }
.cards { display: grid; gap: 14px; }
.item h2 { font-size: 1.1rem; margin: 4px 0; }
.item p { color: var(--t2); margin-bottom: 4px; }
.item .msg { background: var(--bg); padding: 12px; border-radius: 10px; margin: 10px 0; color: var(--tx); }
.item form { margin-top: 12px; display: flex; gap: 10px; align-items: center; }
.item select { width: auto; min-height: 38px; padding: 6px 12px; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--jade); color: var(--pr) !important; }
.tag-checkup { background: var(--gold); color: #8A6A1C !important; }
.tag-booking { background: #E6EEF9; color: #1F4E8C !important; }
.ans { color: var(--t2); font-size: 0.9rem; }
.login { max-width: 420px; }
.login h1 { margin-bottom: 1rem; }
.lists { margin-top: 16px; }
.lists .c { text-align: left; }
.lists h2 { font-size: 1.1rem; margin-bottom: 10px; }
.rank { list-style: none; padding: 0; margin: 0; }
.rank li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--t2); }
.rank li:nth-child(odd) { background: var(--bg); }
.rank b { color: var(--tx); }

/* Responsive */
@media (max-width: 1300px) {
  .menu { display: inline-block; }
  .nv {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 6px;
    background: var(--hero);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 16px;
    z-index: 5;
  }
  .nv.open { display: flex; }
  .nv a { padding: 10px; font-size: 1rem; }
}

@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { gap: 26px 16px; }
}

@media (max-width: 760px) {
  .g3 { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .row2, .opts { grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
  .opts { gap: 10px; }
  .form { padding: 1.5rem 1.1rem; }
  .sec { padding: 3.5rem 20px; }
  .hero { padding-top: 2.5rem; }
}

@media (max-width: 480px) {
  .g4 { grid-template-columns: minmax(0, 1fr); max-width: 380px; }
  .btn { width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

@media (max-width: 1300px) {
  .admin .nv { display: flex; position: static; flex-direction: row; flex-wrap: wrap; background: none; border: 0; padding: 0; gap: 14px; }
  .admin .hd { flex-wrap: wrap; gap: 10px; }
}

.form > .btn { display: flex; margin: 8px auto 0; }
.form > .fmsg { text-align: center; }

/* Bars and bigger header */
.band.navy { background: var(--hero); }
.band.navy h2 { color: var(--htx); }
.band.navy .lead { color: var(--ht2); }
.bar .ey { margin-bottom: 10px; }
.bar .lead { margin-top: 0; }
.lg { font-size: 1.65rem; }
.nv a { font-size: 1.12rem; }
.tg, .menu { font-size: 1rem; min-height: 40px; }
.ey { font-size: 1.1rem; }

.band.sky { background: #E7EDF5; }
:root[data-theme="dark"] .band.sky { background: var(--bg); }
.band.deepjade { background: #0F7A5C; }
.band.deepjade h2 { color: #FFFFFF; }
.band.deepjade .lead { color: #D6EEE5; }
.band.deepjade .ey { color: #F1D58E; }
.band.deepjade .btn.b1 { background: #FFFFFF; color: #0F7A5C; border-color: #FFFFFF; }
:root[data-theme="dark"] .band.deepjade { background: #12302A; }
.band.navy.work h2 { color: var(--htx); }
.band.navy.work .ph { background: #1C2433; }
.band.navy.work .ph figcaption { color: var(--ht2); }
.band.navy.work .lk { color: #2BB58A; }

.admin .lead { margin: 1rem 0; text-align: left; }
.admin .chips { justify-content: flex-start; margin-bottom: 1.25rem; }
