/* TCS House & Business Solutions — public website */
:root {
  --ink: #102420;
  --ink-2: #3c524c;
  --muted: #62756f;
  --bg: #fbfaf7;
  --sand: #f3efe6;
  --card: #ffffff;
  --line: #e6e1d6;
  --brand: #0f5c4d;
  --brand-2: #0b4a3e;
  --brand-soft: #e2f0eb;
  --accent: #f0a53a;
  --accent-ink: #3a2303;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 36, 32, .06), 0 8px 24px rgba(16, 36, 32, .07);
  --shadow-lg: 0 24px 60px rgba(16, 36, 32, .16);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.ico { width: 20px; height: 20px; flex: none; }
.small { font-size: 14px; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(240, 165, 58, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(240, 165, 58, .45); }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .88); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(145deg, #147563, var(--brand-2)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.logo-text { font-weight: 700; font-size: 13px; line-height: 1.15; color: var(--ink); }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.menu-btn .ico { width: 26px; height: 26px; }

/* Hero */
.hero { padding: 56px 0 88px; position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow .ico { width: 16px; height: 16px; }
.eyebrow.light { color: #9fd8c8; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; margin: 16px 0 20px; }
.hl { color: var(--brand); background: linear-gradient(transparent 68%, rgba(240, 165, 58, .38) 68%); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chips .ico { width: 17px; height: 17px; color: var(--brand); }

.hero-art { position: relative; min-height: 440px; display: grid; place-items: center; }
.blob { position: absolute; inset: 4% 2% 4% 8%; border-radius: 42% 58% 52% 48% / 46% 44% 56% 54%; background:
  radial-gradient(circle at 30% 25%, #1a8570 0, transparent 55%), linear-gradient(150deg, #11695a, #0a4237); }
.blob::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .16;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 26px 26px; }
.todo { position: relative; width: min(380px, 86%); background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px 22px 14px; transform: rotate(-2deg); }
.todo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.todo-pill { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.todo ul { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); font-size: 15px; font-weight: 600; }
.todo li:first-child { border-top: 0; }
.todo li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(98, 117, 111, .6); }
.box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.done .box { background: var(--brand); border-color: var(--brand); color: #fff; }
.box .ico { width: 15px; height: 15px; stroke-width: 3; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 11px 14px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.3; }
.float .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.float strong { display: block; font-size: 14px; }
.float span { color: var(--muted); }
.f1 { top: 6%; left: -2%; animation: bob 6s ease-in-out infinite; }
.f2 { bottom: 8%; right: -1%; animation: bob 6s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: 92px 0; }
.section.alt { background: var(--sand); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2, .area h2, .quote h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-top: 10px; }
.sub { color: var(--ink-2); margin-top: 14px; font-size: 18px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.svc-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }
.svc-ico .ico { width: 28px; height: 28px; }
.svc h3 { font-size: 19px; font-weight: 800; }
.svc p { color: var(--muted); font-size: 15px; flex: 1; }
.svc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--brand); }
.svc-go .ico { width: 16px; height: 16px; transition: transform .18s; }
.svc:hover .svc-go .ico { transform: translateX(3px); }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: var(--card); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 1px 0 var(--line); }
.why-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; margin-bottom: 18px; }
.why-ico .ico { width: 24px; height: 24px; }
.why-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.why-card p { color: var(--ink-2); font-size: 15px; }
.reviews-band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding: 22px; border-radius: var(--radius); background: var(--card); text-align: center; font-weight: 600; }
.stars { display: flex; gap: 2px; color: var(--accent); }
.stars .ico { width: 20px; height: 20px; fill: currentColor; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 14px; font-weight: 600; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; border-top: 2px dashed var(--line); }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 2px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 22px; margin-bottom: 18px; }
.steps h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; max-width: 30ch; margin: 0 auto; }

/* Area */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.towns { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.area-map { width: 100%; max-width: 460px; justify-self: center; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.m-grid { stroke: #efe9dd; stroke-width: 1; }
.m-ring { fill: rgba(15, 92, 77, .08); stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 5 5; }
.m-ring2 { fill: rgba(15, 92, 77, .08); stroke: none; }
.m-dot { fill: var(--brand); }
.m-home { fill: var(--accent); }
.m-label { font: 600 11px "Plus Jakarta Sans", system-ui, sans-serif; fill: var(--ink-2); }
.m-small { font: 600 10px "Plus Jakarta Sans", system-ui, sans-serif; fill: var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.m-city { font: 800 14px "Plus Jakarta Sans", system-ui, sans-serif; fill: var(--ink); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* Quote */
.quote-sec { background: linear-gradient(160deg, #0f5c4d, #093a31); color: #fff; }
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote-copy p { color: #cfe6df; font-size: 18px; margin-top: 14px; }
.quote-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.quote-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.quote-list .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--accent); }
.quote-alt { display: grid; gap: 10px; }
.alt-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.alt-link:hover span { text-decoration: underline; }
.form { background: var(--card); color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; margin: 0; border: 0; padding: 0; min-width: 0; }
.f em { font-style: normal; font-weight: 500; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 92, 77, .12); }
.f .bad { border-color: #c2410c; }
.drop { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border: 1.5px dashed #c9c2b2; border-radius: 12px; color: var(--brand); cursor: pointer; font-weight: 700; background: #fcfbf8; }
.drop:hover { border-color: var(--brand); background: var(--brand-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; line-height: 22px; padding: 0; cursor: pointer; }
.pref { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.pref legend { padding: 0; margin-bottom: 6px; width: 100%; }
.pref label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; }
.pref input { accent-color: var(--brand); width: 18px; height: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 12.5px; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-msg.err { background: #fdecea; color: #9f1c10; }
.form-done { text-align: center; padding: 36px 10px; display: grid; gap: 12px; justify-items: center; }
.form-done .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.form-done .ok .ico { width: 34px; height: 34px; stroke-width: 2.5; }
.form-done h3 { font-size: 24px; font-weight: 800; }
.form-done p { color: var(--ink-2); }

/* Footer */
.foot { background: #0b1a17; color: #b9c9c4; padding: 64px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .logo-text { color: #fff; }
.foot p.small { color: #93a8a2; margin-top: 16px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); color: #7d938d; }

/* Mobile bottom bar */
.mobile-bar { display: none; }

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

/* Responsive */
@media (max-width: 1040px) {
  .services, .why { grid-template-columns: repeat(2, 1fr); }
  .links { gap: 18px; }
  .nav-phone span { display: none; }
}
@media (max-width: 880px) {
  .links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .links.open { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-btn { display: block; }
  .nav-phone { display: none; }
  .hero { padding: 28px 0 64px; }
  .hero-in, .area, .quote, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 380px; }
  .section { padding: 68px 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  body { padding-bottom: 72px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; border-radius: 12px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); }
  .mobile-bar a .ico { width: 20px; height: 20px; }
  .mobile-bar .mb-primary { flex: 1.6; background: var(--accent); color: var(--accent-ink); font-size: 15px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-cta .btn-sm { display: none; }
  .services, .why { grid-template-columns: 1fr; }
  .svc { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px; }
  .svc-ico { margin: 0; width: 46px; height: 46px; }
  .svc h3 { flex: 1; }
  .svc p { flex-basis: 100%; }
  .svc-go { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .f1 { left: 0; top: 2%; }
  .f2 { right: 0; bottom: 2%; }
  .todo { width: 92%; padding: 18px 16px 10px; }
  .todo li { font-size: 14px; }
  .foot-in { grid-template-columns: 1fr; }
}
