/* ==========================================================================
   Responsive Web Pros — brand theme
   Deep navy with RWP blue (from the original site); the logo is white + grey.
   Shared sections (hero, plans, contact…) live in shared family.css.
   ========================================================================== */
:root {
  --brand: #0b7bbd;          /* buttons & highlights (white text passes contrast) */
  --brand-ink: #ffffff;
  --accent: #29abe1;         /* RWP sky blue for small labels */
  --accent-2: #7fd3f5;

  --bg: #0d1520;
  --bg-2: #111b29;
  --surface: #16222f;
  --line: #233246;
  --muted: #a3afbf;
}

.hero .display em, .hl { color: var(--accent); }
.eyebrow { color: var(--accent); }
.icon { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.section-light .icon { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.card-link, .prose a { color: var(--accent); }
.section-light .card-link, .section-light .prose a { color: var(--brand); }
.family-card .tag { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.section-light .family-card .tag { color: var(--brand); }
.step::before { -webkit-text-stroke-color: var(--brand); }

/* thin blue rule used above some headings */
.rule { height: 4px; width: 120px; border-radius: 4px; margin: 0 0 26px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- hero illustration: a laptop browser + a phone (pure CSS) ---------- */
.devices { position: relative; width: 100%; aspect-ratio: 1 / .82; }
.browser { position: absolute; left: 0; top: 6%; width: 86%; border-radius: 14px; background: #0f1a27; border: 1px solid var(--line); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); overflow: hidden; animation: float 7s ease-in-out infinite; }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #142233; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2d4058; }
.browser-bar i:first-child { background: #3b7fb0; }
.browser-bar b { flex: 1; height: 10px; margin-left: 10px; border-radius: 6px; background: #1c2d41; }
.screen { padding: 14px; display: grid; gap: 10px; }
.sk { border-radius: 6px; background: #1b2b3e; }
.sk-hero { height: 70px; background: linear-gradient(110deg, color-mix(in srgb, var(--brand) 55%, #10233a), #10233a 70%); }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-row .sk { height: 46px; }
.sk-line { height: 8px; width: 70%; }
.sk-line.short { width: 45%; }
.phone { position: absolute; right: 0; bottom: 0; width: 32%; aspect-ratio: 9 / 18; border-radius: 22px; background: #0f1a27; border: 2px solid #2a3c54; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); padding: 16px 9px 10px; display: grid; align-content: start; gap: 8px; animation: float 7s ease-in-out -3.5s infinite; }
.phone::before { content: ""; position: absolute; top: 6px; left: 50%; width: 30%; height: 5px; margin-left: -15%; border-radius: 4px; background: #2a3c54; }
.phone .sk-hero { height: 54px; }
.phone .sk { height: 26px; }
.phone .sk-line { height: 6px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .hero-art { width: min(80%, 360px); } }

/* ---------- three promises strip ---------- */
.promise { display: flex; gap: 16px; align-items: flex-start; }
.promise .icon { flex: none; margin: 0; }
.promise h3 { margin-bottom: .3em; }

/* RWP's logo is compact, so it shows a little larger than the family default */
.brand img { height: 52px; }
.footer-about img { height: 56px; }
@media (min-width: 901px) { .footer-about img { height: 64px; } }

/* Wide screens show the side-by-side logo (see "logo_wide" in site.json) */
.brand picture { display: block; }
@media (min-width: 1300px) { .brand picture img { height: 46px; } }  /* only the wide (English) logo */

/* ---------- Our Work: client site cards ---------- */
.work-grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.work-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.work-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b121b; border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.work-card:hover .work-shot img { transform: scale(1.04); }
.work-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.work-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 30px); }
.work-tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.work-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .4em; }
.work-body .muted { font-size: 1rem; }
.work-visit { margin-top: auto; padding-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.work-visit:hover { text-decoration: underline; }
.work-visit svg { width: 16px; height: 16px; }

/* keep menu labels on one line (e.g. "Our Work") */
.site-nav a { white-space: nowrap; }
.brand { flex: none; }                       /* the logo never shrinks */
@media (min-width: 901px) and (max-width: 1199px) {
  .site-nav, .site-nav ul { gap: 16px; }     /* tighter menu on mid-size screens */
  .site-nav a:not(.btn) { font-size: .92rem; }
}
@media (min-width: 901px) and (max-width: 1023px) { .nav-cta { display: none; } }  /* the quote button is still in the page content */
