/* =========================================================================
   RIMM TECH — single-page agency site
   Pure HTML + CSS. No JavaScript, no frameworks, no external fonts.
   ========================================================================= */

:root {
  color-scheme: light;

  /* ---- Brand palette ---- */
  --white:      #FFFFFF;   /* primary background */
  --surface-1:  #F0F4F8;   /* secondary background / section tint */
  --surface-2:  #E2E8F0;   /* card surfaces / borders */
  --accent:     #BAE6FD;   /* light cyan highlight */
  --steel:      #4682B4;   /* primary action / titles */
  --steel-hover:#3B6E99;
  --steel-press:#346187;
  --ink:        #0F172A;   /* text / borders / details */
  --ink-soft:   rgba(15, 23, 42, 0.68);
  --ink-faint:  rgba(15, 23, 42, 0.55);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(15,23,42,.05), 0 18px 32px -20px rgba(70,130,180,.35);
  --shadow-card-hover: 0 2px 4px rgba(15,23,42,.08), 0 24px 40px -18px rgba(70,130,180,.5);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--ink); }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: 680px; }

section[id], #top { scroll-margin-top: 92px; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.tinted { background: var(--surface-1); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.25rem);
  text-align: center;
}
.section-head h2 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .4rem .85rem;
  color: var(--steel);
  background: rgba(186,230,253,.45);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 12px;
  font: inherit;
  font-size: .975rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-block { width: 100%; }

.btn-primary {
  color: var(--white);
  background: var(--steel);
  box-shadow: 0 1px 2px rgba(15,23,42,.12), 0 10px 20px -8px rgba(70,130,180,.65);
}
.btn-primary:hover { background: var(--steel-hover); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(15,23,42,.14), 0 14px 24px -10px rgba(70,130,180,.8); }
.btn-primary:active { background: var(--steel-press); transform: translateY(0); }

.btn-outline {
  color: var(--steel);
  background: transparent;
  border-color: var(--accent);
}
.btn-outline:hover { background: rgba(186,230,253,.3); border-color: var(--steel); transform: translateY(-1px); }

.btn:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-2);
}

.nav-wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding: .75rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 66px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.brand:hover .brand-logo {
  transform: translateY(-1px);
  opacity: .95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.1rem);
  margin-inline: auto;
}
.nav-links a {
  position: relative;
  padding: .3rem 0;
  color: var(--ink-soft);
  font-size: .9375rem;
  font-weight: 600;
  transition: color .15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--steel);
  transition: right .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { flex: none; }

.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-label {
  display: none;
  flex: none;
  width: 2.5rem; height: 2.5rem;
  margin-left: -.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-label:hover { background: var(--surface-1); }
.nav-toggle-label span {
  position: relative;
  display: block;
  width: 1.25rem; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle-label span::before { top: -6px; }
.nav-toggle-label span::after { top: 6px; }

.nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }
.nav-toggle:focus-visible ~ .nav-toggle-label { outline: 3px solid var(--steel); outline-offset: 2px; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(3rem, 9vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.hero::before { width: 420px; height: 420px; top: -160px; right: -120px; background: rgba(186,230,253,.55); }
.hero::after { width: 360px; height: 360px; bottom: -180px; left: -140px; background: rgba(226,232,240,.8); }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero-copy h1 em { color: var(--steel); font-style: normal; }
.hero-copy .lede {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  max-width: 46ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.75rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-faint);
  font-size: .85rem;
  font-weight: 600;
}
.trust-row li { display: flex; align-items: center; gap: .4rem; }
.trust-row li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--steel);
}

/* ---- Hero visual: Image showcase + gamified widget ---- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-showcase {
  position: relative;
  width: min(100%, 25rem);
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-2);
  box-shadow: 0 10px 25px -10px rgba(15,23,42,.15), 0 24px 45px -16px rgba(70,130,180,.45);
  background: var(--ink);
  aspect-ratio: 1 / 1;
}

.hero-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.hero-showcase:hover .hero-preview-img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .7);
  z-index: 2;
}

.mock-card {
  position: absolute;
  right: -1.25rem;
  bottom: -1.5rem;
  width: min(92%, 21rem);
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  transform: rotate(-1.5deg);
  z-index: 3;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mock-card:hover {
  transform: rotate(0deg) translateY(-2px);
}

.mock-card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.mock-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  color: var(--steel);
  background: rgba(186,230,253,.4);
  border: 1px solid var(--accent);
  border-radius: 12px;
}
.mock-avatar svg { width: 1.4rem; height: 1.4rem; }
.mock-card-head strong { display: block; font-size: .95rem; letter-spacing: -0.01em; }
.mock-card-head small { color: var(--ink-faint); font-size: .8rem; font-weight: 600; }

.mock-bar {
  height: .55rem;
  margin-bottom: 1rem;
  background: var(--surface-1);
  border-radius: 999px;
  overflow: hidden;
}
.mock-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--steel), var(--accent));
  border-radius: inherit;
}

.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .45rem; text-align: center; }
.mock-stats div { padding: .55rem .25rem; background: var(--surface-1); border-radius: var(--radius-sm); }
.mock-stats strong { display: block; color: var(--steel); font-size: 1rem; }
.mock-stats small { color: var(--ink-faint); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

.mock-toast {
  position: absolute;
  left: -1rem;
  top: 55%;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .9rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: .8rem;
  font-weight: 700;
  transform: rotate(-2deg);
  z-index: 4;
}
.mock-toast .dot {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 0 0 rgba(70,130,180,.55);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(70,130,180,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(70,130,180,0); }
  100% { box-shadow: 0 0 0 0 rgba(70,130,180,0); }
}

/* ---------- Cards / grids ---------- */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--accent); }

.card-icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-bottom: 1.25rem;
  color: var(--steel);
  background: rgba(186,230,253,.4);
  border: 1px solid var(--accent);
  border-radius: 14px;
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }

.card h3 { margin: 0 0 .6rem; font-size: 1.15rem; letter-spacing: -0.01em; }

/* ---------- Gamified Add-On Showcase Banner ---------- */

.addon-offerings {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.addon-showcase-card {
  display: flex;
  background: #0c1421;
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px -15px rgba(15, 23, 42, 0.25), 0 25px 60px -25px rgba(70, 130, 180, 0.45);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.addon-showcase-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.3), 0 30px 70px -20px rgba(56, 189, 248, 0.35);
}

.addon-showcase-media {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #0c1421;
  overflow: hidden;
}

.addon-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.addon-image-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.addon-image-label {
  position: absolute;
  color: var(--white);
  font-size: clamp(.65rem, 1vw, .75rem);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .95), 0 0 10px rgba(0, 0, 0, .8);
}

.addon-image-label-top-left { top: .75rem; left: .75rem; }
.addon-image-label-top-right { top: .75rem; right: .75rem; }
.addon-image-label-bottom-left { bottom: .75rem; left: .75rem; }

/* Product examples paired with the showcase image */

.addon-products-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem;
}

.addon-products-grid .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 1rem;
  padding: 1rem 1.25rem;
}

.addon-products-grid .card-icon { display: none; }
.addon-products-grid .product-card h3 { grid-column: 1; margin: 0; }
.addon-products-grid .product-card .price { grid-column: 2; grid-row: 1; margin: 0; }
.addon-products-grid .product-card .price span { font-size: 1.5rem; }

.product-card { display: flex; flex-direction: column; }
.product-card .price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin: 0 0 1.1rem;
}
.product-card .price span { font-size: 2rem; font-weight: 800; color: var(--steel); letter-spacing: -0.02em; }
.product-card .price small { color: var(--ink-faint); font-weight: 600; font-size: .8125rem; }

.feature-list {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.addon-products-grid .feature-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .75rem;
  margin: .55rem 0 .75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--ink-soft);
  font-size: .9rem;
}
.feature-list li svg {
  flex: none;
  width: 1.05rem; height: 1.05rem;
  margin-top: .1rem;
  color: var(--steel);
}

.addon-products-grid .product-card > .btn { grid-column: 1 / -1; padding: .65rem 1rem; }

.product-card.popular { border-color: var(--steel); }
.ribbon {
  position: absolute;
  top: -.8rem;
  left: 1.75rem;
  padding: .35rem .85rem;
  background: var(--steel);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(70,130,180,.7);
}

/* ---------- Custom Web Development ---------- */

.web-dev-card {
  display: flex;
  flex-direction: column;
}
.web-dev-card p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0 0 1.25rem;
  flex: 1;
}

.web-dev-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 600;
  border-top: 1px solid var(--surface-2);
  padding-top: 1rem;
}
.spec-check {
  color: var(--steel);
  font-weight: 800;
  margin-right: .4rem;
}

.web-dev-footer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.4rem 1.8rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
}

.web-dev-tech-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
}

.tech-bar-label {
  font-size: .8rem;
  font-weight: 800;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tech-tag {
  display: inline-block;
  padding: .35rem .75rem;
  background: var(--white);
  border: 1px solid var(--surface-2);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

/* Service cards */

.service-card p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }

/* ---------- Contact Section & Direct Channels ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-header h3 {
  margin: 0 0 .5rem;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.contact-info-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1.5px solid var(--surface-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.contact-method-card:hover {
  transform: translateY(-2px);
  border-color: var(--steel);
  box-shadow: var(--shadow-card-hover);
}

.contact-method-icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  background: rgba(186,230,253,.45);
  border: 1px solid var(--accent);
  color: var(--steel);
  flex: none;
}
.contact-method-icon svg { width: 1.4rem; height: 1.4rem; }

.contact-method-content {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.contact-method-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-faint);
}

.contact-method-content strong {
  color: var(--ink);
  font-size: 1.05rem;
  word-break: break-all;
}

.contact-method-content small {
  color: var(--steel);
  font-size: .8rem;
  font-weight: 600;
}

.contact-social-section {
  padding: 1.3rem 1.4rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-md);
}

.contact-social-title {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-faint);
  margin-bottom: .25rem;
}

.contact-handle-note {
  margin: 0 0 .85rem;
  color: var(--ink);
  font-size: .925rem;
}

.contact-social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  background: var(--white);
  border: 1.5px solid var(--surface-2);
  border-radius: 999px;
  font-size: .825rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, background-color .2s ease;
}
.social-chip:hover {
  border-color: var(--steel);
  color: var(--steel);
  background: rgba(186,230,253,.3);
  transform: translateY(-1px);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.form-status[hidden] { display: none; }

.field label { display: block; margin-bottom: .5rem; font-size: .9rem; font-weight: 700; }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: .8rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--surface-2);
  border-radius: 12px;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234682B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
}
.field select:invalid { color: var(--ink-faint); }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); opacity: 1; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--accent); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid transparent;
  border-color: var(--steel);
  box-shadow: 0 0 0 4px rgba(186,230,253,.75);
}

/* ---------- Footer & Official Social Tabs ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.82); }
.footer-inner {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.footer-logo {
  height: 64px;
  width: auto;
  border-radius: 8px;
  margin-bottom: .6rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.footer-brand-col p { margin: .4rem 0 1rem; max-width: 34ch; color: rgba(255,255,255,.65); font-size: .9rem; }

.footer-col-title {
  display: block;
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.1rem;
}

.footer-direct-contacts {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}
.footer-contact-link:hover { color: var(--accent); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-links a { color: rgba(255,255,255,.72); font-size: .9rem; font-weight: 600; transition: color .15s ease; }
.footer-links a:hover { color: var(--accent); }

.footer-social-tagline {
  margin: 0 0 1rem;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
}

.footer-social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.social-tab {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.social-tab:hover {
  background: var(--steel);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px -4px rgba(70,130,180,.7);
}

.copyright {
  margin: 0;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  font-size: .8125rem;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .site-header .brand-logo { height: 46px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    padding: .5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    background: var(--white);
    border-bottom: 1px solid var(--surface-2);
    box-shadow: 0 18px 30px -20px rgba(15,23,42,.25);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease, visibility .25s;
  }
  .nav-links a { width: 100%; padding: .7rem 0; }
  .nav-toggle-label { display: flex; order: -1; }
  .nav-toggle:checked ~ .nav-links {
    max-height: 20rem;
    visibility: visible;
    opacity: 1;
  }
  .nav-cta { margin-left: auto; }

  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .web-dev-footer-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .web-dev-tech-row { justify-content: center; }
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { margin-top: 1.5rem; margin-bottom: 2.5rem; }
  .hero-showcase { width: min(100%, 22rem); margin-inline: auto; }
  .mock-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -3.5rem;
    margin-inline: auto;
    width: 95%;
    transform: none;
  }
  .mock-toast {
    left: 50%;
    top: auto;
    bottom: -1rem;
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .addon-offerings { grid-template-columns: 1fr; }
  .addon-showcase-card { display: block; }
  .addon-showcase-media { aspect-ratio: 16 / 9; }
}

/* ---------- Multi-page Layout Enhancements ---------- */

.page-intro {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: var(--surface-1);
  border-bottom: 1px solid var(--surface-2);
}
.page-intro-inner {
  max-width: 720px;
  margin-inline: auto;
}
.page-intro h1 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.page-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
}

.subnav-pills {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1.05rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: all .2s ease;
}
.subnav-pill:hover {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
  transform: translateY(-1px);
}

.cta-banner-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.cta-banner-box {
  background: linear-gradient(135deg, rgba(70,130,180,0.06) 0%, rgba(186,230,253,0.3) 100%);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.cta-banner-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 .75rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cta-banner-box p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pillar-card-content {
  margin-bottom: 1.5rem;
}
.pillar-badge {
  display: inline-block;
  padding: .25rem .65rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 6px;
  margin-bottom: .85rem;
  background: rgba(186,230,253,.45);
  color: var(--steel);
  border: 1px solid var(--accent);
}
.pillar-card-content p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.pillar-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--surface-2);
}

.contact-assurance-card {
  padding: 1.4rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-md);
  margin-top: .5rem;
}
.contact-assurance-card h4 {
  margin: 0 0 .6rem;
  font-size: .95rem;
  color: var(--ink);
  font-weight: 700;
}
.contact-assurance-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .875rem;
  color: var(--ink-soft);
}
.contact-assurance-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.contact-assurance-list svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--steel);
  flex: none;
}

/* ---------- Slide-in & Text Reveal Animations ---------- */

.animate-on-load,
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: transform, opacity;
  transition-duration: 0.85s; /* Appropriate speed: smooth and noticeable, not rushed, not sluggish */
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide in from left */
.slide-left {
  transform: translate3d(-60px, 0, 0);
}

/* Slide in from right */
.slide-right {
  transform: translate3d(60px, 0, 0);
}

/* Form and expand from center */
.form-center {
  transform: scale(0.92) translate3d(0, 24px, 0);
  transition-duration: 0.62s; /* Faster for forming from center */
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Activated / Visible state */
.animate-on-load.is-visible,
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger delay classes for consecutive cards */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }

/* Dynamic fast word formation & writing outward effect */
@keyframes wordFormOutward {
  0% {
    opacity: 0;
    filter: blur(5px);
    letter-spacing: -0.04em;
    transform: scale(0.92);
  }
  60% {
    opacity: 0.95;
    filter: blur(0);
    letter-spacing: 0.025em;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    letter-spacing: normal;
    transform: scale(1);
  }
}

.title-reveal {
  display: inline-block;
  opacity: 0;
}

.is-visible .title-reveal,
.title-reveal.is-visible {
  animation: wordFormOutward 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 .title-reveal { animation-delay: 0.1s; }
.delay-2 .title-reveal { animation-delay: 0.2s; }
.delay-3 .title-reveal { animation-delay: 0.3s; }
.delay-4 .title-reveal { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .mock-card, .mock-toast, .hero-preview-img,
  .animate-on-load, .reveal-on-scroll, .slide-left, .slide-right, .form-center, .title-reveal {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }
}
