/* ===== TidyBnB — bold editorial design system ===== */
:root {
  --bg: #ffffff;
  --ink: #14152e;
  --ink-soft: #585c82;
  --brand: #4f46e5;
  --brand-2: #6366f1;
  --brand-3: #312e81;
  --ink-dark: #100f24;      /* darkest — hero/footer */
  --lilac: #c7d2fe;
  --surface: #ffffff;
  --surface-2: #f4f5fb;
  --line: #e7e8f3;
  --line-dk: rgba(255,255,255,0.14);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(28, 25, 90, 0.14);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; font-weight: 700;
  color: var(--brand); margin: 0 0 1rem; }
.eyebrow.on-dark { color: var(--lilac); }
.accent-bar { height: 4px; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); }

/* Buttons — squared, bold */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 0.98rem; cursor: pointer; border: 2px solid transparent; letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(79,70,229,0.3); }
.btn-primary:hover { background: var(--brand-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #23244a; }
.btn-white { background: #fff; color: var(--brand-3); }
.btn-white:hover { background: #eef0ff; }
.btn-outline-white { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; justify-content: center; }

/* Top accent + header */
.topbar { height: 4px; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; }
.brand-logo { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-name { font-size: 1.4rem; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { background: var(--brand); color: #fff !important; padding: 0.65rem 1.3rem; border-radius: 10px;
  text-transform: none !important; letter-spacing: -0.01em !important; font-size: 0.95rem !important; }
.nav-cta:hover { background: var(--brand-2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== HERO — dark, editorial ===== */
.hero { position: relative; background:
  radial-gradient(900px 500px at 85% 0%, rgba(99,102,241,0.35), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(49,46,129,0.5), transparent 55%),
  linear-gradient(160deg, #17163a, var(--ink-dark)); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.5; }
.hero-inner { position: relative; z-index: 1; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); max-width: 860px; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #a5b4fc, #c7d2fe);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #c3c6e8; max-width: 620px; margin: 1.25rem 0 0; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin: 2rem 0 0; }
.hero-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.65rem; padding: 0 0 clamp(2.5rem,5vw,3.5rem); }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-dk); color: #dfe2f7; border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.88rem; font-weight: 600; }
.chip svg { width: 16px; height: 16px; color: var(--lilac); }

/* Full-width photo band bridging hero -> content */
.photoband { position: relative; margin-top: -1px; }
.photoband img { width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; }
.photoband .fc { position: absolute; right: 6%; bottom: -28px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 0.9rem 1.2rem; display: flex; align-items: center; gap: 0.7rem; }
.fc .stars { color: #f5a623; letter-spacing: 1px; }
.fc strong { display: block; font-size: 0.95rem; }
.fc span { font-size: 0.82rem; color: var(--ink-soft); }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.alt { background: var(--surface-2); }
.dark { background:
  radial-gradient(700px 400px at 90% 10%, rgba(99,102,241,0.28), transparent 60%),
  linear-gradient(160deg, #1a1940, var(--ink-dark)); color: #fff; }
.dark h2 { color: #fff; }
.dark .section-sub, .dark p { color: #c3c6e8; }
.head { max-width: 720px; margin: 0 0 2.75rem; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* ===== BENTO services ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,15,36,0) 35%, rgba(16,15,36,0.82) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: relative; z-index: 1; margin-top: auto; padding: 1.3rem 1.4rem; color: #fff; width: 100%; }
.tile-body h3 { color: #fff; font-size: 1.25rem; margin: 0 0 0.15rem; }
.tile-body p { color: rgba(255,255,255,0.82); font-size: 0.9rem; margin: 0; }
.tile-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--brand); color: #fff;
  font-size: 0.76rem; font-weight: 800; padding: 0.35rem 0.7rem; border-radius: 8px; }
.tile-big { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile a.stretch { position: absolute; inset: 0; z-index: 2; }

/* ===== Feature (dark band) list ===== */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.check-list li { position: relative; padding: 0.55rem 0 0.55rem 2.1rem; border-top: 1px solid var(--line-dk); color: #d3d6f0; }
.check-list li:first-child { border-top: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 1.3rem; height: 1.3rem;
  border-radius: 6px; background: var(--brand); }
.check-list li::after { content: "✓"; position: absolute; left: 0.32rem; top: 0.5rem; color: #fff; font-size: 0.85rem; font-weight: 800; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dk); border-radius: 12px; padding: 1.4rem; }
.mini strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.mini span { color: var(--lilac); font-size: 0.9rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.step { position: relative; padding: 2rem 0 0; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 2.6rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--brand-2); letter-spacing: -0.04em; margin-bottom: 0.5rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ===== Gallery — horizontal scroller ===== */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px;
  overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; }
.scroller figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; scroll-snap-align: start; }
.scroller img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.scroller figure:hover img { transform: scale(1.06); }

/* ===== Promise cards ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 12px; padding: 2rem; }
.pcard .ico { width: 40px; height: 40px; color: var(--brand); margin-bottom: 1rem; }
.pcard h3 { margin-bottom: 0.4rem; }
.pcard p { color: var(--ink-soft); margin: 0; }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; background: var(--surface); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 1.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--brand); font-size: 1.35rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0.7rem 0 0; color: var(--ink-soft); }

/* ===== CTA ===== */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.cta p { max-width: 560px; margin: 0 auto 1.8rem; }

/* ===== Service detail rows (services page) ===== */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: clamp(2.5rem,5vw,4rem) 0; border-top: 1px solid var(--line); }
.srow:nth-child(even) .srow-media { order: 2; }
.srow-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.srow .price { display: inline-block; background: var(--surface-2); color: var(--brand-3); font-weight: 800;
  padding: 0.4rem 0.85rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 0.9rem; }
.srow h3 { font-size: 1.7rem; }
.srow ul { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.srow li { position: relative; padding: 0.35rem 0 0.35rem 1.7rem; color: var(--ink-soft); }
.srow li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* ===== Page hero (interior) ===== */
.page-hero { background:
  radial-gradient(700px 400px at 90% 0%, rgba(99,102,241,0.3), transparent 60%),
  linear-gradient(160deg, #17163a, var(--ink-dark)); color: #fff; padding: clamp(3rem,7vw,5rem) 0 clamp(2.5rem,5vw,4rem); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c3c6e8; font-size: 1.15rem; max-width: 640px; margin: 0; }

/* ===== About / split ===== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.split .story em { font-style: normal; color: var(--brand); font-weight: 700; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.areas { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.1rem; font-weight: 600; font-size: 0.92rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.cdetails { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.cdetails li { margin-bottom: 0.7rem; color: var(--ink-soft); }
.cdetails a { color: var(--brand); font-weight: 600; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.form input, .form textarea, .form select { width: 100%; margin-top: 0.4rem; padding: 0.85rem 1rem; border: 1.5px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.18); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin: 0.75rem 0 0; }
.form-note a { color: var(--brand); }

/* ===== Footer — dark ===== */
.site-footer { background: var(--ink-dark); color: #b9bce0; padding: 3.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .brand { color: #fff; margin-bottom: 0.9rem; }
.footer-about { color: #9a9dc6; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a, .footer-col li { color: #b9bce0; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dk); padding-top: 1.5rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem; color: #8184b0; font-size: 0.86rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .tile-big { grid-column: span 2; grid-row: span 1; }
  .tile-wide { grid-column: span 2; }
  .feature-grid, .split, .contact-grid, .steps, .cards-3, .faq { grid-template-columns: 1fr; }
  .steps { gap: 1.75rem; }
  .srow { grid-template-columns: 1fr; gap: 1.5rem; }
  .srow:nth-child(even) .srow-media { order: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 78px; right: 0; left: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 24px 1rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 0.7rem 0; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile-big, .tile-wide { grid-column: span 1; } }
