/* Homepage (2026 design). Shared pieces live in site.css. */

/* Hero */
.h-hero { position: relative; padding: 120px 0 40px; overflow: hidden; }
.h-mesh { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 320px at 15% 15%, rgba(20, 184, 166, .16), transparent 70%), radial-gradient(700px 380px at 90% 10%, rgba(37, 99, 235, .14), transparent 70%); }
.h-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--s-line) 1px, transparent 1px), linear-gradient(90deg, var(--s-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 15%, transparent 65%); mask-image: radial-gradient(ellipse at 30% 30%, #000 15%, transparent 65%); opacity: .5; }
.h-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.h-hero-grid > div { min-width: 0; }
.h-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); font-size: .86rem; font-weight: 500; color: var(--s-ink-2); box-shadow: var(--s-shadow); }
.h-pill b { background: var(--s-grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
.h-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; margin: 18px 0 16px; font-weight: 700; }
.h-lead { font-size: 1.12rem; color: var(--s-muted); max-width: 540px; }
.h-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.h-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .9rem; color: var(--s-ink-2); }
.h-ticks span { display: inline-flex; gap: 8px; align-items: center; }
.h-ticks i { color: var(--s-teal); }

/* The showcase: a real business page at its real address, on a laptop and a phone */
.h-show { position: relative; height: 480px; }
.h-browser { position: absolute; right: 0; top: 0; width: 500px; height: 440px; border-radius: 16px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 40px 80px rgba(11, 19, 36, .18); overflow: hidden; animation: h-drift 8s ease-in-out infinite; }
.h-browser img { width: 100%; height: calc(100% - 47px); object-fit: cover; object-position: top; }
@keyframes h-drift { 50% { transform: translateY(-8px); } }
.h-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--s-soft); border-bottom: 1px solid var(--s-line); }
.h-dots { display: flex; gap: 6px; }
.h-dots i { width: 10px; height: 10px; border-radius: 50%; }
.h-dots i:nth-child(1) { background: #FCA5A5; } .h-dots i:nth-child(2) { background: #FCD34D; } .h-dots i:nth-child(3) { background: #86EFAC; }
.h-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--s-line); border-radius: 9px; padding: 5px 10px; font-size: .78rem; color: var(--s-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-url i { color: var(--s-green); font-size: .7rem; }
.h-url b { font-weight: 600; color: var(--s-ink); }
.h-phone { position: absolute; left: 0; top: 90px; width: 210px; height: 420px; border-radius: 34px; background: #0B1324; padding: 9px; box-shadow: 0 40px 80px rgba(11, 19, 36, .25); animation: h-float 7s ease-in-out infinite; z-index: 2; }
@keyframes h-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.h-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; position: relative; }
.h-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.h-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 20px; background: #0B1324; z-index: 3; }
.h-tag { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--s-line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--s-shadow-lift); font-size: .85rem; font-weight: 600; display: flex; gap: 10px; align-items: center; white-space: nowrap; animation: h-bob 5s ease-in-out infinite; }
.h-tag i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--s-grad); font-size: .85rem; }
.h-t1 { right: 30px; top: -6px; } .h-t2 { right: -10px; top: 300px; animation-delay: -1.6s; } .h-t3 { left: 150px; bottom: 0; animation-delay: -3.2s; }
@keyframes h-bob { 50% { transform: translateY(-8px); } }

/* Search for people looking for a business */
.h-finder { margin-top: 44px; background: #fff; border: 1px solid var(--s-line); border-radius: 22px; box-shadow: var(--s-shadow-lift); padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; }
.h-finder-label { font-family: 'Sora'; font-weight: 600; font-size: 1rem; letter-spacing: -.02em; padding-left: 6px; white-space: nowrap; }
.h-finder-label small { display: block; font-family: 'Inter'; font-weight: 500; font-size: .8rem; color: var(--s-muted); letter-spacing: 0; }
.h-search { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 4px; padding: 6px; border-radius: 16px; background: var(--s-soft); border: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.h-search:focus-within { background: #fff; border-color: var(--s-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.h-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 0; }
.h-field + .h-field { border-left: 1px solid var(--s-line); }
.h-field i { color: var(--s-teal); }
.h-field input, .h-field select { border: 0; outline: 0; font: inherit; width: 100%; height: 46px; background: transparent; color: var(--s-ink); min-width: 0; }
.h-field select { cursor: pointer; -webkit-appearance: none; appearance: none; }
.h-search .s-btn { min-height: 46px; border-radius: 12px; }
.h-chips { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.h-chips::-webkit-scrollbar { display: none; }
.h-chips a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 11px; border: 1px solid var(--s-line); font-size: .88rem; font-weight: 500; white-space: nowrap; transition: border-color .2s, transform .2s var(--s-ease), color .2s; }
.h-chips a i { color: var(--s-blue); }
.h-chips a:hover { border-color: var(--s-blue); color: var(--s-blue); transform: translateY(-2px); }

.h-first { padding-top: 44px; }
.h-more-wrap { text-align: center; margin-top: 28px; }
.h-more[disabled] { opacity: .6; cursor: wait; }
.h-empty { text-align: center; padding: 44px 20px; border: 1px dashed var(--s-line); border-radius: var(--s-r-lg); color: var(--s-muted); }
.h-empty i { font-size: 1.6rem; color: var(--s-blue); margin-bottom: 10px; }
.h-empty a { color: var(--s-blue); font-weight: 600; }

/* Categories */
.h-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.h-cat { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--s-soft); border: 1px solid var(--s-line); transition: transform .3s var(--s-ease), box-shadow .3s var(--s-ease), background .3s; }
.h-cat:hover { transform: translateY(-3px); box-shadow: var(--s-shadow); background: #fff; }
.h-cat-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--s-blue); box-shadow: var(--s-shadow); transition: transform .35s var(--s-ease), background .3s, color .3s; }
.h-cat:hover .h-cat-ic { transform: rotate(-8deg) scale(1.06); background: var(--s-grad); color: #fff; }
.h-cat b { display: block; font-size: .92rem; line-height: 1.25; }
.h-cat small { font-size: .78rem; color: var(--s-muted); }

/* Everything customers need */
.h-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-feat { padding: 22px; border-radius: 20px; border: 1px solid var(--s-line); background: #fff; transition: transform .3s var(--s-ease), box-shadow .3s var(--s-ease), border-color .3s; }
.h-feat:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lift); border-color: transparent; }
.h-feat-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--s-soft); color: var(--s-blue); font-size: 1.1rem; margin-bottom: 14px; transition: background .3s, color .3s, transform .35s var(--s-ease); }
.h-feat:hover .h-feat-ic { background: var(--s-grad); color: #fff; transform: rotate(-8deg); }
.h-feat b { display: block; font-family: 'Sora'; font-size: 1rem; letter-spacing: -.02em; }
.h-feat p { color: var(--s-muted); font-size: .88rem; margin-top: 4px; }

/* Steps */
.h-how { background: var(--s-soft); }
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-step { padding: 26px; border-radius: var(--s-r-lg); border: 1px solid var(--s-line); background: #fff; transition: transform .3s var(--s-ease), box-shadow .3s var(--s-ease); }
.h-step:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lift); }
.h-step-n { font-family: 'Sora'; font-weight: 800; font-size: 3rem; line-height: 1; background: var(--s-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-step b { display: block; font-family: 'Sora'; font-size: 1.1rem; margin: 14px 0 6px; letter-spacing: -.02em; }
.h-step p { color: var(--s-muted); font-size: .94rem; }

/* Areas */
.h-areas { display: flex; flex-wrap: wrap; gap: 10px; }
.h-areas a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--s-line); background: #fff; font-weight: 500; font-size: .92rem; transition: border-color .2s, transform .2s var(--s-ease), box-shadow .2s; }
.h-areas a i { color: var(--s-teal); }
.h-areas a span { font-size: .78rem; color: var(--s-muted); background: var(--s-soft); padding: 1px 8px; border-radius: 999px; }
.h-areas a:hover { border-color: var(--s-blue); transform: translateY(-2px); box-shadow: var(--s-shadow); }

/* Final call */
.h-cta { border-radius: 32px; background: var(--s-grad); color: #fff; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.h-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 240px at 80% 0%, rgba(255, 255, 255, .25), transparent 70%); }
.h-cta h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; position: relative; }
.h-cta p { opacity: .92; margin: 12px auto 26px; max-width: 520px; position: relative; }
.h-cta .s-btn { background: #fff; color: var(--s-ink) !important; position: relative; }

@media (max-width: 980px) {
    .h-hero-grid { grid-template-columns: 1fr; }
    .h-show { height: 440px; max-width: 520px; margin: 10px auto 0; width: 100%; }
    .h-cats { grid-template-columns: repeat(2, 1fr); }
    .h-feats { grid-template-columns: repeat(2, 1fr); }
    .h-steps { grid-template-columns: 1fr; }
    .h-finder { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .h-hero { padding: 96px 0 20px; }
    .h-hero h1 { font-size: 2.2rem; margin: 12px 0; }
    .h-lead { font-size: 1rem; }
    .h-pill { font-size: .8rem; }
    .h-ctas { flex-direction: column; }
    .h-ctas .s-btn { width: 100%; }
    .h-ticks { gap: 6px 14px; font-size: .84rem; }
    .h-show { height: auto; display: flex; justify-content: center; padding: 22px 0 10px; }
    .h-browser, .h-t3 { display: none; }
    .h-phone { position: relative; left: auto; top: auto; width: 220px; height: 440px; }
    .h-t1 { left: 0; right: auto; top: 60px; } .h-t2 { right: 0; top: 280px; }
    .h-tag { font-size: .75rem; padding: 8px 10px; } .h-tag i { width: 24px; height: 24px; }
    .h-finder { margin-top: 30px; padding: 14px; }
    .h-search { grid-template-columns: 1fr; }
    .h-field + .h-field { border-left: 0; border-top: 1px solid var(--s-line); }
    .h-search .s-btn { width: 100%; }
    .h-feats { gap: 10px; } .h-feat { padding: 16px; }
    .h-cta { padding: 40px 22px; border-radius: 24px; }
}

/* About Adenta (with live numbers) */
.h-about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 28px; background: var(--s-soft); border: 1px solid var(--s-line); }
.h-about h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.12; margin: 6px 0 14px; }
.h-about p { color: var(--s-ink-2); margin-top: 10px; }
.h-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h-stats div { background: #fff; border: 1px solid var(--s-line); border-radius: 18px; padding: 20px; }
.h-stats strong { display: block; font-family: 'Sora'; font-size: 2rem; line-height: 1.1; background: var(--s-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-stats span { font-size: .88rem; color: var(--s-muted); }
@media (max-width: 980px) { .h-about { grid-template-columns: 1fr; padding: 26px 20px; } }
/* Calmer hero (one phone, one tag) */
.h-hero .h-show { height: auto; display: flex; justify-content: center; padding: 10px 0; }
.h-hero .h-phone, .p-hero .h-phone { position: relative; left: auto; top: auto; width: 270px; height: 560px; border-radius: 42px; padding: 10px; }
.h-hero .h-screen, .p-hero .h-screen { border-radius: 32px; }
.p-hero .h-show { height: auto; display: flex; justify-content: center; padding: 10px 0; }
.h-show .h-t3 { left: auto; right: calc(50% + 90px); bottom: 70px; }
.h-lead { font-size: 1.15rem; }
@media (max-width: 640px) {
    .h-hero .h-phone, .p-hero .h-phone { width: 230px; height: 478px; }
    .h-show .h-t3 { display: flex; right: auto; left: 0; bottom: 40px; }
}
/* Phone stands straight and fits beside the text */
@keyframes h-float-straight { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.h-hero .h-phone, .p-hero .h-phone { width: 240px; height: 496px; border-radius: 38px; padding: 9px; animation-name: h-float-straight; }
.h-hero .h-screen, .p-hero .h-screen { border-radius: 30px; }
.h-hero .h-show, .p-hero .h-show { padding: 0; align-items: center; }
.h-hero-grid { align-items: center; }
.h-show .h-t3 { right: auto; left: calc(50% - 205px); bottom: 48px; }
@media (max-width: 980px) { .h-show .h-t3 { left: 0; } }
@media (max-width: 640px) {
    .h-hero .h-phone, .p-hero .h-phone { width: 210px; height: 434px; }
    .h-show .h-t3 { left: 0; bottom: 30px; }
}

/* ── Colour rhythm down the page (white → tint → white → dark → tint → white → colour) ── */
.h-first { background: #F3F6FA; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); padding-bottom: 64px; }
.h-first .s-card { box-shadow: 0 1px 2px rgba(11, 19, 36, .04), 0 8px 22px rgba(11, 19, 36, .06); border-color: #E8EDF3; }

/* Category tiles: each icon in its own soft colour */
.h-cat { background: #fff; }
.h-cat:nth-child(6n+1) .h-cat-ic { background: #E6FBF7; color: #0F9C8E; }
.h-cat:nth-child(6n+2) .h-cat-ic { background: #EAF1FF; color: #2563EB; }
.h-cat:nth-child(6n+3) .h-cat-ic { background: #FFF4E5; color: #D97706; }
.h-cat:nth-child(6n+4) .h-cat-ic { background: #FDECF3; color: #DB2777; }
.h-cat:nth-child(6n+5) .h-cat-ic { background: #F1ECFF; color: #7C3AED; }
.h-cat:nth-child(6n+6) .h-cat-ic { background: #E9F8EE; color: #16A34A; }
.h-cat .h-cat-ic { box-shadow: none; }

/* "Everything customers need": a dark band */
.h-dark { position: relative; background: #0B1324; color: #fff; overflow: hidden; }
.h-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 0%, rgba(20, 184, 166, .22), transparent 70%), radial-gradient(700px 340px at 95% 100%, rgba(37, 99, 235, .22), transparent 70%); pointer-events: none; }
.h-dark .s-wrap { position: relative; }
.h-dark .s-kicker { color: #5EEAD4; }
.h-dark .s-head h2 { color: #fff; }
.h-dark .s-head p { color: rgba(255, 255, 255, .7); }
.h-dark .h-feat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.h-dark .h-feat:hover { background: rgba(255, 255, 255, .09); border-color: rgba(94, 234, 212, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.h-dark .h-feat-ic { background: rgba(94, 234, 212, .12); color: #5EEAD4; }
.h-dark .h-feat:hover .h-feat-ic { background: var(--s-grad); color: #fff; }
.h-dark .h-feat b { color: #fff; }
.h-dark .h-feat p { color: rgba(255, 255, 255, .65); }

/* Steps: a light teal tint */
.h-how { background: linear-gradient(180deg, #ECFDF8 0%, #F0F9FF 100%); }
.h-how .h-step { border-color: #D7F2EC; }
