/* ============================================================
   Assecetta LTD — shared site styling
   Premium, Apple/Stripe/Airbnb-inspired: blue, white, black, grey.
   Used by index.php, careers.php, partners.php, enquiry-results.php.
   ============================================================ */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --black: #0a0a0a;
  --ink: #111827;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; color: var(--black); margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.btn {
  display: inline-block; border: none; cursor: pointer; font: inherit; font-weight: 700;
  padding: 15px 28px; border-radius: 999px; transition: 0.18s; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #1a1a1a; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--black); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: rgba(255, 255, 255, 0.15); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.btn-light:hover { background: rgba(255, 255, 255, 0.25); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--black); font-size: 1.25rem; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--blue);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; flex-shrink: 0;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a.navlink { color: var(--muted); font-weight: 600; font-size: 0.94rem; }
.nav-links a.navlink:hover { color: var(--black); }
.menu-btn { display: none; background: none; border: none; font-size: 1.6rem; color: var(--black); cursor: pointer; }

.dropdown { position: relative; display: inline-block; }
.dropdown-toggle { color: var(--muted); font-weight: 600; font-size: 0.94rem; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; user-select: none; }
.dropdown-toggle::after { content: "▾"; font-size: 0.75rem; color: var(--muted-2); transition: transform 0.2s; }
.dropdown.open .dropdown-toggle, .dropdown.open .dropdown-toggle::after { color: var(--black); }
.dropdown.open .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  min-width: 170px; padding: 8px 0; z-index: 100; margin-top: 12px;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block !important; padding: 9px 16px !important; color: var(--muted) !important; font-weight: 600 !important; font-size: 0.9rem !important; white-space: nowrap; }
.dropdown-menu a:hover { background: var(--bg-soft) !important; color: var(--black) !important; }

@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 24px 18px; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a.navlink { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--black); }
  .nav-links .btn { margin-top: 12px; text-align: center; }
  .dropdown { display: block; width: 100%; }
  .dropdown-toggle { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--black); display: flex; justify-content: space-between; width: 100%; }
  .dropdown-menu { display: block; position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; background: transparent; margin-top: 0; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown:not(.open) .dropdown-menu { display: none; }
}

/* Hero */
.hero { padding: 100px 0 90px; text-align: center; background: linear-gradient(180deg, var(--blue-light) 0%, #ffffff 65%); }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.hero h1 { max-width: 780px; margin-left: auto; margin-right: auto; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 20px auto 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Sections */
section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }

/* Sky background — clouds + flying birds, CSS/SVG only, no image assets */
.sky-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #cdeafb 0%, #eef8fd 100%); }
.sky-section > .wrap { position: relative; z-index: 1; }
.sky-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; width: 92px; height: 32px; background: #fff; border-radius: 50px; opacity: 0.9; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 50px; height: 50px; top: -24px; left: 10px; }
.cloud::after { width: 38px; height: 38px; top: -16px; right: 10px; }
.cloud.drift { animation: cloud-drift 55s linear infinite; }
.cloud.drift.slow { animation-duration: 80s; }
@keyframes cloud-drift { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 140px)); } }
.bird { position: absolute; animation: bird-bob 3.2s ease-in-out infinite; }
.bird.b2 { animation-delay: -1s; }
.bird.b3 { animation-delay: -2.1s; }
@keyframes bird-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .cloud.drift { animation: none; }
  .bird { animation: none; }
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin-bottom: 12px; display: block; }

/* Grid + Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) { .grid-4, .grid-6 { grid-template-columns: repeat(3, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7e2f7; }
.card .ico { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.industry-card {
  text-align: center; padding: 26px 18px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light) 0%, #ffffff 62%);
}
.industry-card::before {
  content: attr(data-icon);
  position: absolute; top: -18px; right: -14px;
  font-size: 4.6rem; line-height: 1; opacity: 0.16;
  transform: rotate(8deg);
  filter: saturate(1.15);
  pointer-events: none;
  transition: 0.25s;
}
.industry-card:hover::before { transform: rotate(8deg) scale(1.08); opacity: 0.22; }
.industry-card .ico { margin: 0 auto 12px; position: relative; z-index: 1; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14); }
.industry-card h3 { font-size: 1rem; position: relative; z-index: 1; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue-light); color: var(--blue);
  font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step p { color: var(--muted); }

/* Stats */
.stats-band { background: var(--black); color: #fff; }
.stats-band h2 { color: #fff; }
.stats-band .section-head p { color: #9ca3af; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
@media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-item b { display: block; font-size: 2.2rem; color: var(--blue); font-weight: 800; }
.stat-item span { color: #9ca3af; font-size: 0.92rem; }

/* Forms */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--black); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.form-success { display: none; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; border-radius: 12px; padding: 18px 20px; font-weight: 600; margin-bottom: 16px; }
.form-error { display: none; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 18px 20px; font-weight: 600; margin-bottom: 16px; }

/* Progress bar (multi-step enquiry form) */
.progress-track { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 30px; }
.progress-fill { height: 100%; background: var(--blue); border-radius: 999px; transition: width 0.3s ease; width: 25%; }
.step-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted-2); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.step-labels span.active { color: var(--blue); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* Matching loader */
.matching-loader { text-align: center; padding: 60px 20px; display: none; }
.matching-loader.active { display: block; }
.spinner { width: 56px; height: 56px; border: 4px solid var(--blue-light); border-top-color: var(--blue); border-radius: 50%; margin: 0 auto 22px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Business profile cards */
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.profile-avatar {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.profile-name { font-weight: 800; font-size: 1.05rem; color: var(--black); display: flex; align-items: center; gap: 6px; }
.verified-badge { display: inline-flex; align-items: center; gap: 3px; background: var(--blue-light); color: var(--blue); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.profile-rating { color: #f5a623; font-size: 0.9rem; font-weight: 700; }
.profile-meta { font-size: 0.86rem; color: var(--muted); margin: 10px 0; }
.profile-meta div { margin-bottom: 4px; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--black); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .body { padding: 0 22px 20px; color: var(--muted); }

/* Testimonials */
.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .testimonial-row { grid-template-columns: 1fr; } }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.stars { color: #f5a623; font-size: 0.95rem; margin-bottom: 10px; }
.testimonial p { color: var(--ink); font-size: 0.95rem; }
.testimonial-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; }
.testimonial-who b { font-size: 0.88rem; color: var(--black); display: block; }
.testimonial-who span { font-size: 0.78rem; color: var(--muted); }
.example-badge { display: inline-block; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Footer */
footer.site { background: var(--black); color: #9ca3af; padding: 56px 0 30px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
footer.site h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
footer.site a { display: block; color: #9ca3af; margin-bottom: 8px; font-size: 0.92rem; }
footer.site a:hover { color: #fff; }
.foot-brand { max-width: 320px; }
.foot-brand p { color: #6b7280; font-size: 0.9rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #6b7280; }
