/* ============ Design tokens ============ */
:root {
  --bg: #0b0d10;
  --card: #121418;
  --muted: #9aa3ae;
  --text: #e9edf1;
  --primary: #7dd3fc;
  --primary-ink: #0c1116;
  --line: #1d2128;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji",sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 75% -10%, #16202a 0%, transparent 60%) , var(--bg);
  letter-spacing: .01em;
}

img { max-width: 100%; display: block; border-radius: calc(var(--radius) - 6px); }
h1,h2,h3 { margin: 0 0 .6rem; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1rem; color: var(--text); opacity: .9; }
a { color: inherit; text-decoration: none; }
.nowrap { white-space: nowrap; }
.small { font-size: .9rem; }
.center { text-align: center; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, #0c1116 70%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 0;
}
.brand { font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: center; gap:.6rem; }
.brand.big { font-size: clamp(1.4rem, 3vw, 2.2rem);}
.brand .muted { color: var(--muted); font-weight: 600; }
.brand-dot { width:.8rem; height:.8rem; background: linear-gradient(135deg, #7dd3fc, #22d3ee); border-radius: 50%; box-shadow: 0 0 0 4px rgba(125,211,252,.15); }

.main-nav { display: flex; gap: 1.2rem; align-items: center; }
.main-nav a { color: var(--muted); font-weight: 600; padding:.5rem .6rem; border-radius: 10px; }
.main-nav a:hover { color: var(--text); background: #161a20; }

.hamburger { display:none; background:none; border:0; width:42px; height:36px; position:relative; }
.hamburger span { position:absolute; left:8px; right:8px; height:2px; background:var(--text); border-radius:2px; transition:.3s; }
.hamburger span:nth-child(1){ top:10px } .hamburger span:nth-child(2){ top:17px } .hamburger span:nth-child(3){ top:24px }

.mobile-menu { display:none; grid-template-columns:1fr; gap:.2rem; padding: 0 1rem .8rem; border-bottom: 1px solid var(--line); }
.mobile-menu a { padding:.8rem 1rem; border-radius:12px; background:#101419; color:var(--muted) }
.mobile-menu a:hover { color:var(--text) }

/* ============ Hero ============ */
.hero { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 5rem); }
.hero-grid {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1.1fr 1fr;
}
.display { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
.lede { font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--muted); max-width: 48ch; }
.pill {
  display:inline-flex; align-items:center; gap:.5rem;
  background:#11151b; color:#c7d0da; border:1px solid var(--line); padding:.35rem .6rem; border-radius:999px; font-size:.85rem;
}
.hero-image { position: relative; }
.hero-image img { width: 100%; height: clamp(420px, 60vh, 720px); object-fit: cover; border-radius: var(--radius); }
.rating-card {
  position: absolute; right: 16px; bottom: 16px; width: min(320px, 80%);
  background: #0c1116cc; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow);
  font-size: .95rem;
}
.rating-card .stars { color: #ffd166; letter-spacing:.15em; margin-bottom:.4rem; }

.cta-row { display:flex; gap:.8rem; align-items:center; }
.btn {
  display:inline-flex; align-items:center; gap:.5rem; padding:.8rem 1rem; border-radius: 999px; font-weight:700; border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn .arrow { width: 22px; height: 22px; }
.btn--primary { background: linear-gradient(135deg,#7dd3fc 0%,#22d3ee 100%); color: #0b0d10; border-color: transparent; }
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--ghost { background:#12161d; color:#d1d7de; }
.btn--ghost:hover { background:#151a22 }

/* ============ About ============ */
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.eyebrow { display:inline-block; font-weight:700; color:#c7d0da; background:#12161d; padding:.35rem .6rem; border-radius:999px; border:1px solid var(--line); margin-bottom: .9rem;}
.eyebrow.center { display:inline-flex; margin-inline:auto; }
.about-grid { display:grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: end;}
.about-title h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); text-transform: none; }
.about-copy { color: var(--muted); font-size: 1.05rem; }
.gallery { display:grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; overflow-x:auto; padding: 1rem 0; scrollbar-width: thin; }
.gallery img { height: 260px; object-fit: cover; border:1px solid var(--line); }

.stats { display:grid; grid-template-columns: repeat(4,1fr); gap:1rem; margin-top: 1.2rem; }
.stat { background:#0f141a; border:1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.stat-num { font-weight: 900; font-size: 2rem; }
.stat-label { color:#d7dee6; font-weight: 700; margin-top:.2rem; }
.muted { color: var(--muted); }

/* ============ Services ============ */
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.services-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: stretch; }
.service-figure img { width:100%; height: 520px; object-fit:cover; border-radius: var(--radius); }
.accordion .acc-item {
  background:#0f141a; border:1px solid var(--line); border-radius: var(--radius); margin-bottom:.8rem; overflow:hidden;
}
.acc-summary {
  list-style: none; cursor:pointer; display:flex; align-items:center; gap:.8rem;
  padding: 1rem 1.1rem; font-weight: 800; position:relative;
}
.acc-summary::-webkit-details-marker { display:none; }
.acc-summary .icon { font-size: 1.3rem; }
.acc-summary .plus { position:absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(0deg); width:20px; height:20px; transition:.25s; opacity:.7; }
details[open] > .acc-summary .plus { transform: translateY(-50%) rotate(45deg); opacity:.5; }
.acc-panel { padding: 0 1.1rem 1rem 3.1rem; color: var(--muted); line-height:1.6; }

/* ============ Work / Carousel ============ */
.work .carousel {
  position: relative; margin-top: 1.2rem; border-radius: var(--radius);
}
.c-track { display:flex; gap: 1rem; overflow: hidden; scroll-behavior: smooth; }
.project-card {
  min-width: 100%;
  display:grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; align-items: center;
  background: #0f141a; border:1px solid var(--line); border-radius: var(--radius); padding: 1rem;
}
.project-card.dark { background: #0c1015; }
.project-img { height: 320px; object-fit: cover; border-radius: 12px; }
.project-body h3 { font-size: 1.6rem; margin-bottom:.5rem; }
.project-body p { color: var(--muted); }
.chips { display:flex; gap:.5rem; margin:.7rem 0; flex-wrap:wrap; }
.chip { background:#12161d; color:#c7d0da; border:1px solid var(--line); padding:.3rem .6rem; border-radius:999px; font-size:.8rem; }
.project-body blockquote { margin:.6rem 0 0; color:#dbe4ee; padding-left:1rem; border-left: 3px solid #222a33; }
.project-body cite { display:block; color:var(--muted); font-style: normal; margin-top:.3rem; }

.c-arrow {
  position:absolute; top: 50%; transform: translateY(-50%);
  background:#11161c; border:1px solid var(--line); width:42px; height:42px; border-radius:999px; color:#d7dee6;
}
.c-arrow:hover { background:#151b22 }
.c-arrow.prev { left: -12px; } .c-arrow.next { right: -12px; }
.c-dots { display:flex; justify-content:center; gap:.4rem; padding:.6rem 0; }
.c-dots button { width:9px; height:9px; border-radius:50%; border:0; background:#3a4757; opacity:.6; }
.c-dots button[aria-current="true"]{ opacity:1; background:#7dd3fc; }

/* ============ Testimonials ============ */
.cards-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:1rem; margin-top: 1rem; }
.review-card { background:#0f141a; border:1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.review-card .stars { color:#ffd166; letter-spacing:.15em; margin-bottom:.4rem; }
.author { display:flex; gap:.6rem; align-items:center; margin-top: .6rem; color:#c9d2dd; }
.author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border:1px solid #202631; }

/* ============ FAQs ============ */
.faqs-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.faqs-left h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom:.3rem; }
.faqs .accordion .acc-item { background:#0f141a; }
.faqs .acc-summary { font-weight:700; }
.faqs .acc-panel { padding-left: 1.1rem; }

/* ============ Contact ============ */
.contact-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; }
.contact-card {
  background:#0e1319; border:1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.contact-list { list-style:none; padding:0; margin:1rem 0; display:grid; gap:.5rem; }
.contact-list .label { color:#aeb7c2; width:120px; display:inline-block; }
.social { display:flex; gap:.6rem; }
.social a { display:grid; place-items:center; width:38px; height:38px; background:#12161d; border:1px solid var(--line); border-radius:10px; }
.social svg { width:18px; height:18px; }

.contact-form {
  background:#0f141a; border:1px solid var(--line); border-radius: var(--radius); padding: 1rem;
  display:grid; gap:.8rem;
}
.contact-form label { display:grid; gap:.35rem; font-weight:700; color:#c9d2dd; }
.contact-form input, .contact-form textarea {
  background:#0c1116; color:#e9edf1; border:1px solid #1a212b; border-radius:12px; padding:.75rem .9rem; font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #263445; border-color:#2a3a4d; }
.form-note { margin: 0; }
.form-toast { margin:.4rem 0 0; color:#60d394; min-height: 1rem; }

/* ============ Footer ============ */
.footer { border-top:1px solid var(--line); padding: 2rem 0 2.4rem; background: #0a0d11; }
.footer-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items:start; }
.footer-links { display:grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.footer-links h4 { color:#aeb7c2; margin:0 0 .6rem; }
.footer-links a { color:#c0c9d3; display:block; margin:.2rem 0; }
.copy { margin-top: 1.2rem; }

/* ============ Animations / Reveal ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .btn { transition: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-grid, .services-grid, .contact-grid, .faqs-grid, .footer-grid, .work .project-card {
    grid-template-columns: 1fr;
  }
  .main-nav { display:none; }
  .hamburger { display:block; }
  .hero-image img { height: 420px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .c-arrow.prev { left: 8px; } .c-arrow.next { right: 8px; }
}
@media (max-width: 680px) {
  .gallery img { height: 200px; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .project-card { grid-template-columns: 1fr; }
}

/* ---------- Stats: plain lighter numbers ---------- */
.stats--plain {
  background:#fff;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.metric-num {
  line-height:1;
  margin-bottom:.8rem;
}

.metric-num .counter {
  font-weight: 600; /* lighter than 900 */
  font-size: clamp(56px, 7vw, 84px); /* slightly smaller */
  color:#0f172a;
  letter-spacing:-.01em;
}

.metric h3 {
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color:#0f172a;
  margin: 0 0 .4rem;
}

.metric p {
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  color:#475569;
  margin: 0;
}

/* Responsive */
@media (max-width:1080px){
  .stats--plain{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width:640px){
  .stats--plain{ grid-template-columns: 1fr; }
}

/* Navbar brand fix for dark background */
.site-header .brand {
  color: #f8fafc;   /* very light gray, close to white */
  font-weight: 700;
}

.site-header .brand .muted {
  color: #cbd5e1;   /* softer gray for "Services Ltd" */
}

.site-header .brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8; /* cyan/blue dot */
  margin-right: .4rem;
}

/* SERVICES – light theme */
.services--light { background:#f6f7f9; }                    /* light grey section */
.services--alt { align-items: start; }

.services--light .service-figure img{
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}

/* White list with subtle borders */
.service-list {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 16px;
  overflow:hidden;
}

.service-list .service {
  background:#fff;
  border-bottom:1px solid #eef0f2;
}

.service-list .service:last-child { border-bottom: 0; }

.service-list summary{
  list-style:none;
  display:flex; align-items:center; gap:.8rem;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color:#0f172a;
  cursor:pointer;
  position:relative;
}

.service-list summary::-webkit-details-marker{ display:none; }

.service-list .s-ico{ width:22px; text-align:center; opacity:.9; }
.service-list .s-title{ flex:1; }

.service-list .plus{
  width:20px; height:20px; opacity:.6;
  transform: rotate(0deg); transition:.2s;
}
.service-list details[open] .plus{ transform: rotate(45deg); opacity:.35; }

.service-list .s-body{
  padding: .8rem 1.1rem 1rem 3rem;
  color:#475569; line-height:1.7;
  background:#fff;
}

/* Grid relationship on this section only */
.services-grid.services--alt{
  display:grid; gap: 1.5rem;
  grid-template-columns: 1.15fr 1fr;
}

@media (max-width: 1080px){
  .services-grid.services--alt{ grid-template-columns: 1fr; }
  .services--light .service-figure img{ height: 420px; }
}

/* Center align section title + subtitle */
#services .section-title,
#services .muted,
#services .eyebrow {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Remove all borders from service list */
.service-list {
  background: transparent;   /* no card background */
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.service-list .service {
  border: none;              /* remove dividers */
  background: transparent;
}

.service-list summary {
  padding: 1rem 0;           /* cleaner spacing */
  border-radius: 0;
}

.service-list .s-body {
  padding: .8rem 0 1rem 2.5rem;
  background: transparent;
}

/* OUR WORK — light card layout */
#work .section-title,
#work .muted,
#work .eyebrow { text-align:center; margin-left:auto; margin-right:auto; }

.work { background:#ffffff; }
.work .carousel { margin-top: 1.2rem; }

/* Light card */
.work .project-card{
  min-width:100%;
  background:#eef2f6;                  /* soft light grey */
  border:1px solid #e5e7eb;
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.25rem);
  display:grid;
  grid-template-columns: .9fr 1.1fr;   /* image left, text right */
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items:center;
  color:#0f172a;                        /* dark text */
}

/* Image */
.work .project-img{
  height: clamp(260px, 45vh, 360px);
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}

/* Card content */
.work .project-body h3{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: .1rem 0 .6rem;
  color:#111827;
}
.work .project-body p{ color:#475569; line-height:1.7; }

/* Chips + quote */
.work .chips{ display:flex; gap:.5rem; margin:.9rem 0 .5rem; flex-wrap:wrap; }
.work .chip{
  background:#ffffff;
  border:1px solid #e5e7eb;
  color:#0f172a;
  padding:.35rem .6rem;
  border-radius:999px;
  font-size:.85rem;
  font-weight:600;
}
.work .project-body blockquote{
  margin: .6rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid #d1d5db;
  color:#0f172a;
}
.work .project-body cite{
  display:block; color:#6b7280; font-style:normal; margin-top:.35rem;
}

/* Center title/subtitle spacing */
.work .section-title{ margin-top:.25rem; }
.work .muted{ max-width: 68ch; margin-top:.3rem; }

/* Hide arrows to match reference; keep dots */
.work .c-arrow{ display:none; }
.work .c-dots{ gap:.45rem; padding:.8rem 0 0; }
.work .c-dots button{
  width:8px; height:8px; border-radius:50%; border:0; background:#c5ced8;
}
.work .c-dots button[aria-current="true"]{ background:#7b8aa0; }

/* Responsive stack */
@media (max-width: 980px){
  .work .project-card{ grid-template-columns: 1fr; }
  .work .project-img{ height: 260px; }
}

/* --- Testimonials: two-row marquee --- */
.testimonials--marquee { background:#fff; }
.t-marquee { display:grid; gap: 1.2rem; margin-top: 1.5rem; }

.t-row {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.t-track {
  display:flex; gap: 1.2rem; padding: .3rem 0;
  will-change: transform;
}

/* Base card */
.t-card {
  flex: 0 0 32%;
  min-width: 320px;
  max-width: 520px;
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(2,6,23,.05);
  color:#0f172a;
}

/* Alternate row colors */
.t-row:nth-of-type(1) .t-card { background:#ffffff; }
.t-row:nth-of-type(2) .t-card { background:#f3f4f6; } /* light grey */

.t-card .stars { color:#f5b301; font-size:1rem; letter-spacing:.18em; margin-bottom:.6rem; }
.t-card p { color:#475569; line-height:1.7; margin:0 0 .9rem; }
.t-card .author { display:flex; align-items:center; gap:.6rem; color:#111827; font-weight:600; }
.t-card .author img { width:34px; height:34px; border-radius:50%; object-fit:cover; border:1px solid #e5e7eb; }

/* Responsive adjustments */
@media (max-width: 1080px) {
  .t-card { flex-basis: 48%; }
}
@media (max-width: 680px) {
  .t-card { flex-basis: 78%; min-width: 260px; }
}

/* Alternating card colors within each row */
.t-row:nth-of-type(1) .t-card:nth-child(2n+1) { background:#ffffff; } /* odd */
.t-row:nth-of-type(1) .t-card:nth-child(2n)   { background:#f3f4f6; } /* even */

.t-row:nth-of-type(2) .t-card:nth-child(2n+1) { background:#f3f4f6; } /* odd */
.t-row:nth-of-type(2) .t-card:nth-child(2n)   { background:#ffffff; } /* even */

/* keep subtle border for both */
.t-card { border:1px solid #e5e7eb; }

/* FAQs section */
.faqs { background:#fff; }
.faqs-grid {
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2.5rem;
  align-items:start;
}

.faqs-left .section-title { margin:.5rem 0; }
.faqs-left .btn { margin-top:1rem; }

/* Right side (accordion) */
.faqs-right { display:flex; flex-direction:column; gap:.8rem; }

.faqs-right details {
  background:#fafafa;
  border:1px solid #e5e7eb;
  border-radius: 10px;
  padding:.9rem 1.1rem;
  transition:background .2s;
}
.faqs-right details[open] {
  background:#fff;
  border-color:#d1d5db;
}

.faqs-right summary {
  list-style:none;
  cursor:pointer;
  font-weight:600;
  font-size:1.05rem;
  color:#111827;
  display:flex; justify-content:space-between; align-items:center;
}
.faqs-right summary::-webkit-details-marker { display:none; }

/* toggle indicator */
.faqs-right summary::after {
  content:"+";
  font-weight:700;
  font-size:1.2rem;
  color:#475569;
}
.faqs-right details[open] summary::after {
  content:"×";
  font-size:1.25rem;
  color:#475569;
}

.faqs-right p {
  margin-top:.7rem;
  font-size:.95rem;
  line-height:1.65;
  color:#475569;
}

/* responsive */
@media(max-width:900px){
  .faqs-grid { grid-template-columns:1fr; }
}

/* ===== Contact (match reference) ===== */
.contact { background: #fff; }
.contact .container { max-width: 1200px; }

.contact-wrap{
  background:#0b0f14;               /* dark wrapper */
  border-radius: 18px;
  padding: clamp(1rem,2.5vw,1.4rem);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem,2vw,1.2rem);
}

/* Left panel on dark */
.contact-info { color:#e5eaf0; padding: .75rem; }
.contact-info .section-title{ color:#f3f6fb; margin:.4rem 0 .6rem; }
.contact-info .lede{ color:#c8d1db; max-width: 46ch; }

.contact-list { margin: 1.2rem 0 1rem; }
.contact-list .row{ display:flex; gap:2rem; align-items:baseline; padding:.6rem 0; border-bottom:1px solid #1b2531; }
.contact-list .row:last-child{ border-bottom:0; }
.contact-list dt{ width:140px; color:#e8edf5; font-weight:700; }
.contact-list dd, .contact-list a{ color:#c8d1db; }
.contact-list a:hover{ color:#ffffff; }

.socials{ display:flex; gap:.6rem; margin-top: .6rem; }
.socials .soc{
  display:inline-grid; place-items:center;
  width:40px; height:40px; border-radius:12px;
  background:#0e141b; border:1px solid #1f2b38; color:#d7dde6;
}

/* Right panel: white card form */
.contact-form{
  background:#ffffff;
  border-radius: 14px;
  border:1px solid #e5e7eb;
  padding: clamp(1rem,2vw,1.25rem);
  color:#0f172a;
  display:grid; gap:.85rem;
}
.contact-form label{ display:grid; gap:.4rem; font-weight:700; color:#0f172a; }
.contact-form input,
.contact-form textarea{
  background:#f7f8fa;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:.85rem 1rem;
  color:#0f172a;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color:#9aa5b1; }

/* dark button inside white card */
.btn--dark-fill{
  background:#3f3f46;
  color:#fff;
  border-radius: 9999px;
  padding: .9rem 1rem;
  font-weight: 700;
  border: none;
}
.btn--dark-fill:hover{ filter: brightness(1.05); }

.req-note{ color:#6b7280; }

/* Responsive */
@media (max-width: 980px){
  .contact-wrap{ grid-template-columns:1fr; }
}

/* Force all contact-info text to white/light shades */
.contact-info,
.contact-info .lede,
.contact-info dt,
.contact-info dd,
.contact-info a {
  color: #ffffff !important;   /* pure white */
}

.contact-info .lede,
.contact-info dd,
.contact-info a {
  color: #e5e7eb !important;   /* softer light grey for secondary text */
}

.contact-info .section-title {
  color: #ffffff !important;
}

/* Contact section theme fix */
.contact-info .eyebrow {
  background: #374151;        /* dark grey pill */
  color: #ffffff;             /* white text */
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
}

.contact-info .section-title {
  color: #ffffff;             /* pure white heading */
  font-weight: 800;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.contact-info .lede {
  color: #d1d5db;             /* softer grey paragraph */
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 46ch;
}

/* Footer brand text fix */
.footer-brand,
.footer-brand span,
.footer-brand strong {
  color: #f3f4f6 !important;   /* light grey/white */
  font-weight: 700;
}

.footer-brand {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

/* Logo styling for navbar + footer */
.nav-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand img.logo,
.footer-brand img.logo {
  height: 36px;    /* navbar logo size */
  width: auto;
}

.footer-brand img.logo {
  height: 42px;    /* footer logo slightly bigger */
}

.nav-brand span,
.footer-brand span {
  font-weight: 700;
  color: #f3f4f6;   /* light text */
  font-size: 1.1rem;
}

/* =========================
   GLOBAL RESPONSIVE LAYER
   ========================= */

/* Fluid container + section spacing */
:root{
  --container-max: 1200px;
  --gutter: clamp(16px, 3vw, 28px);
}
.container{
  width: min(100% - var(--gutter)*2, var(--container-max));
  margin-inline: auto;
}
section.section{ padding: clamp(48px, 7vw, 96px) 0; }

/* Fluid type scale */
html{ font-size: 16px; }
body{ line-height: 1.6; }
h1,.display{ font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
h2{ font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.15; }
h3{ font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.2; }
.lede,.muted{ font-size: clamp(1rem, 1.6vw, 1.125rem); }

/* Media helpers */
@media (max-width: 1200px){
  .main-nav a{ padding-inline: .4rem; }
}
@media (max-width: 1024px){
  /* Header: switch to hamburger */
  .main-nav{ display: none; }
  .hamburger{ display:block; }
  .mobile-menu{ display:block; }
  /* Grids collapse */
  .hero-grid,
  .services-grid.services--alt,
  .work .project-card,
  .faqs-grid,
  .contact-wrap,
  .footer-grid{
    grid-template-columns: 1fr !important;
  }
  .hero-image{ order: -1; margin-bottom: 1rem; }

  /* Large images shrink */
  .service-figure img,
  .work .project-img{ height: clamp(200px, 42vw, 340px); }
}
@media (max-width: 768px){
  /* Buttons: full width inside tight stacks */
  .cta-row .btn,
  .contact-form .btn,
  .btn-row .btn{ width: 100%; justify-content: center; }

  /* Stats grid */
  .stats--plain, .stats--shot, .stats--simple{
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 4vw, 24px);
  }
}
@media (max-width: 560px){
  .stats--plain, .stats--shot, .stats--simple{ grid-template-columns: 1fr; }
  .t-card{ flex-basis: 82% !important; min-width: 250px !important; }
}

/* Images & media are fluid by default */
img, video, canvas{ max-width: 100%; height: auto; }

/* Navbar brand + logo behave on small screens */
.nav-brand{ display:flex; align-items:center; gap:.5rem; }
.nav-brand img.logo{ height: 28px; width:auto; }
@media (min-width: 1025px){
  .nav-brand img.logo{ height: 32px; }
}

/* Mobile menu sheet */
.hamburger{ display:none; background:none; border:0; width:40px; height:40px; position:relative; }
.hamburger span{ position:absolute; left:10px; right:10px; height:2px; background:#e5e7eb; transition:.2s; }
.hamburger span:nth-child(1){ top:12px; }
.hamburger span:nth-child(2){ top:19px; }
.hamburger span:nth-child(3){ top:26px; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:none; /* shown only <1024 via @media */
  position: fixed; inset: 56px 0 0 0; /* below header */
  background: rgba(12,16,20,.98);
  backdrop-filter: blur(6px);
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  padding: 12px var(--gutter) 32px;
}
.mobile-menu a{
  display:block; padding:14px 8px; color:#e5e7eb; font-weight:600; border-bottom:1px solid rgba(255,255,255,.06);
}
.mobile-menu.open{ opacity:1; transform: translateY(0); pointer-events:auto; }

/* Hero specifics */
.hero-grid{ display:grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 36px); align-items:center; }
@media (max-width: 1024px){ .hero-grid{ grid-template-columns: 1fr; } }

/* Services */
.services-grid.services--alt{
  display:grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2.5vw, 24px);
}
@media (max-width:1024px){ .services-grid.services--alt{ grid-template-columns:1fr; } }
.service-figure img{ width:100%; border-radius:16px; }

/* Work */
.work .project-card{ display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(16px, 2.2vw, 24px); }
@media (max-width:980px){ .work .project-card{ grid-template-columns: 1fr; } }

/* FAQs */
.faqs-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 3vw, 36px); }
@media (max-width:900px){ .faqs-grid{ grid-template-columns:1fr; } }

/* Contact wrap */
.contact-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 24px); }
@media (max-width:980px){ .contact-wrap{ grid-template-columns: 1fr; } }

/* Footer */
.footer-grid{ display:grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(16px, 2.5vw, 24px); }
@media (max-width:900px){ .footer-grid{ grid-template-columns: 1fr; text-align:center; } .footer-brand{ justify-content:center; } }

/* Utilities */
.nowrap{ white-space: nowrap; }
.center{ text-align:center; }

/* About carousel */
.gallery-carousel{
  position: relative;
  margin-top: 1rem;
  user-select: none;
}
.gallery-carousel .c-viewport{
  overflow: hidden;
  border-radius: 14px;
}
.gallery-carousel .c-track{
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .35s ease;
  padding-block: 2px; /* helps antialiasing on some GPUs */
}
.gallery-carousel .c-slide{
  flex: 0 0 calc(100%);                  /* 1 per view (mobile) */
}
@media (min-width: 640px){
  .gallery-carousel .c-slide{ flex-basis: calc(50% - 8px); }  /* 2 up */
}
@media (min-width: 1024px){
  .gallery-carousel .c-slide{ flex-basis: calc(33.333% - 10.67px); } /* 3 up */
}
.gallery-carousel img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
}
@media (min-width: 1024px){ .gallery-carousel img{ height: 380px; } }

/* arrows + dots */
.c-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(15,23,42,.8); color: #fff; border: 0;
  display: grid; place-items: center; cursor: pointer;
  transition: opacity .2s;
}
.c-arrow.prev{ left: -6px; } .c-arrow.next{ right: -6px; }
.c-arrow:hover{ opacity: .9; }
.c-dots{
  display: flex; gap: 8px; justify-content: center; margin-top: 10px;
}
.c-dots button{
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: #cbd5e1; cursor: pointer;
}
.c-dots button[aria-current="true"]{ background: #64748b; }

/* ----- ABOUT CAROUSEL: containment so it can't affect following sections ----- */
.gallery-carousel{ position:relative; margin-top: 1rem; }
.gallery-carousel .c-viewport{ overflow:hidden; border-radius:14px; }
.gallery-carousel .c-track{
  display:flex;
  gap: clamp(12px, 2vw, 16px);
  will-change: transform;
  transform: translate3d(0,0,0);
}
.gallery-carousel .c-slide{ flex: 0 0 auto; width: 100%; }
@media (min-width:640px){ .gallery-carousel .c-slide{ width: calc(50% - (var(--g-gap,16px)/2)); } }
@media (min-width:1024px){ .gallery-carousel .c-slide{ width: calc(33.333% - (var(--g-gap,16px)*2/3)); } }

.gallery-carousel img{
  width:100%;
  height: clamp(220px, 36vw, 380px);
  object-fit:cover;
  border-radius:14px;
  border:1px solid #e5e7eb;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
}

/* arrows + dots */
.c-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:999px; border:0;
  display:grid; place-items:center; color:#fff; cursor:pointer;
  background: rgba(15,23,42,.85);
}
.c-arrow.prev{ left: .25rem; } .c-arrow.next{ right: .25rem; }
.c-dots{ display:flex; gap:8px; justify-content:center; margin-top:10px; }
.c-dots button{ width:8px; height:8px; border-radius:50%; border:0; background:#cbd5e1; }
.c-dots button[aria-current="true"]{ background:#64748b; }

/* ----- STATS: robust grid so nothing looks “skewed” ----- */
.stats, .stats--plain, .stats--simple{
  display:grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items:start;
  margin-top: clamp(16px, 2vw, 24px);
}
.stats .metric, .metric{ min-width:0; }
.metric-num .counter{
  font-weight:600;
  font-size: clamp(40px, 6vw, 72px);
  line-height:1;
  color:#0f172a;
  letter-spacing:-.01em;
}
.metric h3{ margin:.4rem 0 .25rem; font-weight:700; color:#0f172a; }
.metric p{ color:#475569; }

/* Stack on small screens */
@media (max-width:1080px){ .stats, .stats--plain, .stats--simple{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .stats, .stats--plain, .stats--simple{ grid-template-columns: 1fr; } }

/* =========================
   MOBILE POLISH (≤ 768px)
   ========================= */
@media (max-width: 768px){

  /* Safe-area padding for iOS */
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  /* Container gutters */
  :root { --gutter: clamp(14px, 5vw, 20px); }
  section.section { padding: clamp(28px, 7vw, 44px) 0; }

  /* Navbar brand (logo + text) */
  .nav-brand img.logo { height: 26px; }
  .nav-brand span { font-size: 1rem; }

  /* HERO */
  .hero-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .hero-image img { width: 100%; height: auto; border-radius: 18px; }
  .hero-badge,
  .quote-card { transform: none; left: auto; right: auto; } /* avoid overflow */
  .hero h1 { font-size: clamp(1.8rem, 8.2vw, 2.4rem); line-height: 1.15; }
  .hero p  { font-size: 1rem; }
  .cta-row .btn { width: 100%; justify-content: center; }

  /* ABOUT (two columns → stacked) */
  .about-grid { display: block !important; }
  .about-title h2 {
    font-size: clamp(1.8rem, 8.2vw, 2.3rem);
    line-height: 1.05;
    margin-bottom: .6rem;
  }
  .about-copy { margin-top: .6rem; }
  .about-copy p { font-size: 1rem; }

  /* ABOUT carousel: 1 card, no shadows outside, no arrow overlap */
  .gallery-carousel .c-slide { width: 100% !important; }
  .gallery-carousel .c-viewport { border-radius: 14px; overflow: hidden; }
  .gallery-carousel img {
    height: clamp(220px, 58vw, 360px);
    border-radius: 14px;
  }
  .gallery-carousel .c-arrow.prev { left: 6px; }
  .gallery-carousel .c-arrow.next { right: 6px; }

  /* METRICS / STATS – robust grid, no skew */
  .stats, .stats--plain, .stats--simple {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
  }
  @media (max-width: 480px){
    .stats, .stats--plain, .stats--simple { grid-template-columns: 1fr !important; }
  }
  .metric-num .counter { font-size: clamp(36px, 12vw, 56px); }

  /* SERVICES – single column, image first */
  .services-grid.services--alt { grid-template-columns: 1fr !important; gap: 18px; }
  .service-figure img {
    width: 100%; height: clamp(220px, 58vw, 420px); object-fit: cover; border-radius: 16px;
  }
  .services-accordion details,
  .service-list details {
    border: 1px solid #e5e7eb; border-radius: 12px; padding: .9rem 1rem;
  }
  .services-accordion summary,
  .service-list summary { font-size: 1.05rem; }
  .services-accordion .s-body,
  .service-list .s-body { font-size: 0.98rem; }

  /* WORK – card becomes stacked */
  .work .project-card { grid-template-columns: 1fr !important; gap: 14px; }
  .work .project-card img { width: 100%; height: auto; border-radius: 14px; }

  /* TESTIMONIALS – two rows as carousels; remove hard mask on small screens */
  .t-row { mask: none !important; -webkit-mask-image: none !important; overflow: hidden; }
  .t-card { flex-basis: 86% !important; min-width: 260px !important; }
  .t-track { gap: 12px !important; }

  /* FAQS */
  .faqs-grid { grid-template-columns: 1fr !important; gap: 18px; }
  .faqs-right details { border-radius: 12px; padding: .9rem 1rem; }

  /* CONTACT */
  .contact-wrap { grid-template-columns: 1fr !important; gap: 16px; padding: 16px; border-radius: 18px; }
  .contact-info .section-title { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .contact-list .row { flex-wrap: wrap; gap: .5rem 1rem; }
  .contact-list dt { width: auto; min-width: 88px; }
  .contact-list dd, .contact-list a { overflow-wrap: anywhere; word-break: break-word; }
  .contact-form { padding: 14px; border-radius: 14px; }
  .contact-form .btn { width: 100%; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; gap: 8px; }
  .footer-brand { justify-content: center; }
  .footer-brand img.logo { height: 34px; }
}

/* Prevent any horizontal scroll on mobile */
html, body { overflow-x: hidden; }

/* ===== CAREERS ===== */
.careers-head { margin-bottom: clamp(18px, 3vw, 28px); }
.careers-head h2 { margin: 6px 0 4px; }
.careers-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(16px, 2.6vw, 22px);
}
@media (max-width: 900px){ .careers-grid{ grid-template-columns: 1fr; } }

.job-card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  overflow: hidden;
}
.job-top{
  padding: 16px 16px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: start;
}
.job-title{ font-weight: 700; color: #0f172a; }
.job-meta{ color: #475569; font-size: .95rem; display:flex; align-items:center; gap:.5rem; }
.badge{ background:#eef2ff; color:#3730a3; padding:.18rem .5rem; border-radius:999px; font-weight:600; font-size:.85rem; }
.dot{ opacity:.5; }
.job-toggle{
  justify-self: end;
  background:#111827;
  color:#fff;
  border:0;
  border-radius: 999px;
  padding:.5rem .8rem;
  font-weight:600;
  cursor:pointer;
}
.job-toggle[aria-expanded="true"]{ background:#334155; }

.job-body{ padding: 6px 16px 16px; border-top:1px solid #e5e7eb; }
.job-desc h3{ font-size:1.05rem; margin:.6rem 0 .35rem; color:#0f172a; }
.job-desc ul{ padding-left: 1.1rem; margin: 0 0 .6rem; color:#475569; }
.job-desc li{ margin:.28rem 0; }

.apply-form{ margin-top:.6rem; background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px; padding:12px; }
.apply-form h4{ margin:0 0 .6rem; }
.apply-form .fields{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.apply-form .fields .full{ grid-column: 1 / -1; }
.apply-form label span{ display:block; font-weight:600; font-size:.92rem; margin-bottom:.25rem; }
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="file"],
.apply-form textarea{
  width:100%; border:1px solid #d1d5db; border-radius:10px; padding:.65rem .75rem; background:#fff;
}
.apply-form input[type="file"]{ padding:.5rem; }
.apply-actions{ display:flex; align-items:center; gap:12px; margin-top:10px; }
.apply-status{ font-size:.95rem; color:#0f172a; }

@media (max-width: 640px){
  .apply-form .fields{ grid-template-columns: 1fr; }
}

/* Button reuse */
.btn.btn-primary{
  background:#111827; color:#fff; border:0; border-radius:999px; padding:.7rem 1rem; font-weight:700; cursor:pointer;
}
.btn.btn-primary:hover{ background:#334155; }

/* Careers card teaser */
.job-snippet{
  margin: 4px 0 10px;
  color: #475569;
  max-width: 60ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* clamp to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Make whole header feel clickable */
.job-top{ cursor: pointer; position: relative; }
.job-top:focus{ outline: 2px solid #94a3b8; outline-offset: 2px; }

/* Keep the button visually present but non-blocking for header clicks */
.job-toggle{
  position: absolute; right: 12px; bottom: 12px;
  pointer-events: none;           /* header receives the click */
}
.job-top:has(.job-toggle){ padding-bottom: 46px; }   /* space for button */

/* When open */
.job-card[open] .job-toggle{ background:#334155; }

/* --- Careers: card clickability & button --- */

/* The whole card should look clickable */
.job-card { cursor: pointer; }

/* But the open content / form should not toggle when interacting */
.job-card .job-body, 
.job-card .job-body * { cursor: auto; }

/* Keep the “View details” button clickable */
.job-toggle{
  position: absolute;
  right: 12px;
  bottom: 12px;
  pointer-events: auto;       /* was none — restore clickability */
}

/* Keep space for the button at the bottom of the header */
.job-top{ position: relative; padding-bottom: 46px; }

/* Careers: card-wide click feel, but not inside the expanded area */
.job-card { cursor: pointer; }
.job-card .job-body, .job-card .job-body * { cursor: auto; }

/* Keep the bottom-right button clickable and visible */
.job-top { position: relative; padding-bottom: 46px; }
.job-toggle { position: absolute; right: 12px; bottom: 12px; pointer-events: auto; }

/* Careers visibility fallback */
.job-card .job-body{ display:none; }
.job-card.is-open .job-body{ display:block; }

/* Click affordance (card) but not inside expanded area */
.job-card{ cursor:pointer; }
.job-card .job-body, .job-card .job-body *{ cursor:auto; }

/* Keep the “View details” button clickable & placed */
.job-top{ position:relative; padding-bottom:46px; }
.job-toggle{
  position:absolute; right:12px; bottom:12px;
  pointer-events:auto;
}

/* ====== Job Card: modern & minimalist ====== */
.job-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 6px 18px rgba(2,6,23,.06);overflow:hidden;transition:border-color .2s,box-shadow .2s;}
.job-card.is-open{border-color:#d1d5db;box-shadow:0 10px 28px rgba(2,6,23,.10);}
.job-top{padding:16px;display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:start;position:relative;padding-bottom:56px;background:#fff;}
.job-title{font-weight:700;color:#0f172a;letter-spacing:-.01em;}
.job-meta{display:flex;align-items:center;gap:.6rem;color:#475569;font-size:.95rem;}
.badge{background:#eef2ff;color:#3730a3;padding:.2rem .55rem;border-radius:999px;font-weight:600;font-size:.85rem;}
.job-snippet{grid-column:1/-1;margin-top:2px;color:#475569;max-width:70ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.job-toggle{position:absolute;right:12px;bottom:12px;background:#111827;color:#fff;border:0;border-radius:999px;padding:.55rem .9rem;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem;box-shadow:0 4px 12px rgba(2,6,23,.12);}
.job-toggle:hover{filter:brightness(1.05);} .job-toggle[aria-expanded="true"]{background:#334155;}
.job-body{padding:10px 16px 16px;border-top:1px solid #e5e7eb;background:#fafafa;display:none;}
.job-card.is-open .job-body{display:block;}
.job-desc h3{font-size:1.05rem;margin:.8rem 0 .4rem;color:#0f172a;}
.job-desc ul{padding-left:1.1rem;margin:0;color:#475569;} .job-desc li{margin:.34rem 0;}
.apply-form{margin-top:.8rem;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px;}
.apply-form h4{margin:0 0 .6rem;color:#0f172a;}
.apply-form .fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}
.apply-form .fields .full{grid-column:1/-1;}
.apply-form label span{display:block;font-weight:600;font-size:.92rem;margin-bottom:.25rem;color:#0f172a;}
.apply-form input[type="text"],.apply-form input[type="email"],.apply-form input[type="tel"],.apply-form input[type="file"],.apply-form textarea{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:.65rem .75rem;background:#f8fafc;color:#0f172a;font:inherit;}
.apply-form input[type="file"]{padding:.5rem;background:#fff;}
.apply-actions{display:flex;align-items:center;gap:12px;margin-top:10px;}
.apply-status{font-size:.95rem;color:#0f172a;}
.btn.btn-primary{background:#111827;color:#fff;border:0;border-radius:999px;padding:.7rem 1rem;font-weight:700;cursor:pointer;}
.btn.btn-primary:hover{background:#334155;}
@media (max-width:640px){.apply-form .fields{grid-template-columns:1fr;}}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img.logo {
  height: 36px; /* adjust as needed */
  width: auto;
}
