/* ==========================================================
   NEXORA WEB STUDIO LAB — Shared stylesheet
   ========================================================== */
:root {
  --navy: #0B192C;
  --slate-navy: #132640;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --teal: #14B8A6;
  --white: #FFFFFF;
  --soft-gray: #F8FAFC;
  --dark-slate: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 18px 40px rgba(11, 25, 44, 0.18);
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark-slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-light { background: var(--soft-gray); }
.section-dark { background: var(--navy); color: var(--white); }
.section-slate { background: var(--slate-navy); color: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p, .section-slate .section-head p { color: #A9B8CC; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--teal); color: var(--navy); box-shadow: 0 8px 20px rgba(20, 184, 166, .35); }
.btn-outline { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline-dark { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline-dark:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11, 25, 44, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--teal)); color: var(--white); }
.logo-text { display: flex; flex-direction: column; font-weight: 800; letter-spacing: .08em; line-height: 1.1; font-size: 1.05rem; }
.logo-text small { font-size: .6rem; letter-spacing: .2em; color: var(--teal); font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.primary-nav ul { display: flex; list-style: none; gap: 1.4rem; }
.primary-nav a:not(.btn) { color: #CBD5E1; font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.primary-nav a:not(.btn):hover, .primary-nav a[aria-current="page"] { color: var(--white); border-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 6.5rem 0 6rem; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; background: radial-gradient(circle, rgba(20,184,166,.35), transparent 65%); filter: blur(10px); }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 780px; }
.hero h1 span { color: var(--teal); }
.hero p.lead { font-size: 1.15rem; color: #B6C4D8; max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.badge { display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(20,184,166,.15); color: var(--teal); border: 1px solid rgba(20,184,166,.35); }
.page-hero { padding: 4.5rem 0 4rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.page-hero p.lead { margin-bottom: 0; }

/* Grids & Cards */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.card p { color: var(--muted); margin-bottom: 0; }
.section-dark .card, .section-slate .card { background: var(--slate-navy); border-color: rgba(255,255,255,.08); box-shadow: none; }
.section-dark .card p, .section-slate .card p { color: #A9B8CC; }
.icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.2rem; font-size: 1.5rem; background: rgba(37,99,235,.1); color: var(--blue); }
.section-dark .icon { background: rgba(20,184,166,.15); color: var(--teal); }

/* Package preview */
.pkg-card { text-align: center; position: relative; }
.pkg-card .price { font-size: 2.6rem; font-weight: 800; color: var(--navy); margin: .4rem 0; }
.pkg-card .price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pkg-card.featured { border-color: var(--teal); border-width: 2px; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap; }

/* Steps */
.step { text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; background: linear-gradient(135deg, var(--blue), var(--teal)); color: var(--white); }
.step p { color: #A9B8CC; margin: 0; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--blue), #0E7490 60%, var(--teal)); color: var(--white); text-align: center; padding: 4.5rem 0; }
.cta-banner p { opacity: .92; font-size: 1.1rem; margin-bottom: 1.8rem; }
.cta-banner .btn-primary { background: var(--white); color: var(--navy); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--navy); color: var(--white); }

/* Lists */
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.compare-card h3 { display: flex; align-items: center; gap: .6rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: rgba(37,99,235,.1); color: var(--blue); }
.tag-teal { background: rgba(20,184,166,.15); color: #0F766E; }

/* Pricing */
.billing-toggle { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; background: var(--slate-navy); padding: .4rem; border-radius: 14px; width: fit-content; max-width: 100%; margin: 0 auto 3rem; }
.billing-toggle button { font-family: inherit; font-weight: 700; font-size: .92rem; color: #CBD5E1; background: transparent; border: 0; padding: .75rem 1.2rem; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.billing-toggle button:hover { color: var(--white); }
.billing-toggle button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.billing-toggle .mini { display: block; font-size: .7rem; font-weight: 600; color: var(--teal); }
.billing-toggle button[aria-pressed="true"] .mini { color: #CFFAFE; }
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; padding: 2.2rem 2rem; }
.price-card.popular { border: 2px solid var(--teal); transform: translateY(-8px); }
.price-card.popular:hover { transform: translateY(-14px); }
.plan-name { font-size: .85rem; letter-spacing: .14em; font-weight: 800; color: var(--blue); text-transform: uppercase; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: .5rem 0 .2rem; }
.price-amount small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-setup { font-weight: 600; color: var(--dark-slate); margin-bottom: .4rem !important; }
.price-save { display: inline-block; font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: rgba(20,184,166,.15); color: #0F766E; margin-bottom: 1.4rem; min-height: 1.6rem; }
.price-save:empty { display: none; }
.price-card .check-list { margin: 1.2rem 0 2rem; flex-grow: 1; font-size: .95rem; }
.price-card .check-list li { color: var(--dark-slate); }
.notes-box { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.notes-box li { margin-bottom: .6rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: .9rem; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--navy); background: none; border: 0; padding: 1.2rem 1.4rem; cursor: pointer; }
.faq-q:hover { color: var(--blue); }
.faq-q .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(37,99,235,.1); color: var(--blue); font-size: 1.2rem; transition: transform .25s, background .25s; }
.faq-q[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--teal); color: var(--navy); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* Portfolio */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn { font-family: inherit; font-weight: 700; font-size: .9rem; padding: .55rem 1.2rem; border-radius: 999px; border: 2px solid var(--border); background: var(--white); color: var(--dark-slate); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project.is-hidden { display: none; }
.project-body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-body .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.project-body p { flex-grow: 1; margin-bottom: 1.4rem; }
.mock { padding: 1.4rem 1.4rem 0; background: linear-gradient(160deg, var(--slate-navy), var(--navy)); }
.browser { background: var(--white); border-radius: 10px 10px 0 0; overflow: hidden; height: 230px; box-shadow: 0 -4px 30px rgba(0,0,0,.25); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E2E8F0; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #94A3B8; display: block; }
.browser-bar b { flex: 1; margin-left: 8px; height: 14px; border-radius: 7px; background: #F8FAFC; }
.m-nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; }
.m-logo { width: 54px; height: 9px; border-radius: 4px; background: var(--m1); }
.m-links { display: flex; gap: 6px; }
.m-links i { width: 22px; height: 6px; border-radius: 3px; background: #CBD5E1; display: block; }
.m-hero { margin: 4px 14px; padding: 18px 16px; border-radius: 8px; background: var(--m1); }
.m-hero .l1 { width: 62%; height: 12px; border-radius: 6px; background: rgba(255,255,255,.92); margin-bottom: 8px; }
.m-hero .l2 { width: 42%; height: 7px; border-radius: 4px; background: rgba(255,255,255,.55); margin-bottom: 12px; }
.m-hero .b { width: 56px; height: 16px; border-radius: 5px; background: var(--m2); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px; }
.m-cards div { height: 46px; border-radius: 6px; background: #F1F5F9; border-top: 4px solid var(--m2); }
.mock-cafe { --m1: #7C4A2D; --m2: #F59E0B; }
.mock-barber { --m1: #111827; --m2: #C9A24B; }
.mock-land { --m1: #166534; --m2: #84CC16; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label .req { color: #DC2626; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; padding: .8rem 1rem; border: 2px solid var(--border); border-radius: 10px; background: var(--soft-gray); color: var(--dark-slate); transition: border-color .2s, background .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #DC2626; background: #FEF2F2; }
.error-msg { color: #DC2626; font-size: .82rem; font-weight: 600; min-height: 1em; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #FEF2F2; color: #B91C1C; }
.form-status.ok { background: #F0FDFA; color: #0F766E; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: .9rem; margin-bottom: 1.3rem; }
.contact-list .ci { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(20,184,166,.15); }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.contact-list a, .contact-list span.v { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--teal); }

/* Footer */
.site-footer { background: var(--navy); color: #A9B8CC; padding: 4rem 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: var(--white); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #A9B8CC; }
.site-footer a:hover { color: var(--teal); }
.footer-tag { color: var(--teal); font-weight: 700; margin: .8rem 0 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 1.5rem 1.6rem; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); display: none; }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: .2rem; }
  .primary-nav a:not(.btn) { display: block; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .primary-nav .btn { width: 100%; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .billing-toggle { width: 100%; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
