/* ── Reynolds Web Solutions — main stylesheet (extracted from index.html) ── */
:root {
  --navy: #003049;
  --navy-light: #005f8d;
  --blue: #0077b6;
  --blue-dark: #023e8a;
  --blue-soft: #caf0f8;
  --sand: #f2d2a9;
  --white: #ffffff;
  --off-white: #f0f9ff;
  --muted: #5a7d9a;
  --border: rgba(0, 48, 73, .1);
  --shadow: 0 18px 45px rgba(0, 48, 73, .12);
  --radius: 18px;
  --max: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 90px 0; position: relative; width: 100%; }

/* Skip rendering off-screen sections until scrolled near — big render/INP win */
.pricing, .about, .work, .contact, .footer { content-visibility: auto; contain-intrinsic-size: 1000px; }

/* ── Typography ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  animation: eyebrow-breathe 3s infinite ease-in-out;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 0px rgba(0, 119, 182, .4);
  animation: dot-pulse 2s infinite ease-in-out;
}
@keyframes dot-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0px rgba(0, 119, 182, 0.7); }
  50% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(0, 119, 182, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0px rgba(0, 119, 182, 0); }
}
@keyframes eyebrow-breathe {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0.8; transform: translateX(2px); }
}
h1 { font-size: clamp(2rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -.04em; max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 850; line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: 1.1rem; line-height: 1.1; letter-spacing: -.04em; }
p { color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 26px rgba(0, 119, 182, .3); }
.btn-primary:hover { background: var(--navy); box-shadow: 0 16px 34px rgba(0, 119, 182, .4); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--border); box-shadow: 0 12px 26px rgba(0, 119, 182, .3);}
.btn-secondary:hover { border-color: rgba(0, 119, 182, .35); color: var(--blue); }

/* Specifically targeting the Nav Contact Button for the White Text fix */
.nav-links .btn-thirdly {
  color: var(--white) !important;
  background: var(--navy);
  border: 1px solid transparent;
  box-shadow: 0 12px 26px rgba(0, 119, 182, .3);
}

.nav-links .btn-thirdly:hover {
  color: var(--white) !important;
  background: var(--blue);
  border: 1px solid transparent;
  box-shadow: 0 12px 26px rgba(0, 119, 182, .4);
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-mini:hover {
  background: var(--white);
  color: var(--blue);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ── Google review badge (nav + footer) ── */
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: var(--white);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 119, 182, .18);
  transition: transform .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn-review:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 119, 182, .28); color: var(--blue); }
.btn-review svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 255, .96);
  border-bottom: 1px solid rgba(0, 48, 73, .08);
  width: 100%;
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-text { font-size: 1rem; letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--navy); font-size: .95rem; font-weight: 750; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 120px;
  background:
    radial-gradient(circle at top right, rgba(0, 119, 182, .15), transparent 40%),
    radial-gradient(circle at left center, rgba(0, 48, 73, .08), transparent 30%),
    linear-gradient(180deg, var(--white), var(--off-white));
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; }
.hero-copy p { max-width: 610px; margin-top: 20px; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-panel {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--white);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(0, 180, 216, .3), transparent 45%), linear-gradient(135deg, transparent, rgba(255,255,255,.08));
  transform: rotate(8deg);
}
.hero-panel-content { position: relative; z-index: 1; }
.hero-panel img { width: 180px; margin-bottom: 34px; }

.panel-stats { display: grid; gap: 16px; }
.stat-card { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.stat-card strong { display: block; color: var(--white); font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.stat-card span { color: rgba(255,255,255,.68); font-size: .92rem; }

/* ── PRICING SECTION ── */
.pricing { background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%); padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 50px; }
.pricing-card {
  position: relative;
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: 0 20px 40px rgba(0, 48, 73, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0, 119, 182, 0.3); border-color: rgba(255,255,255,0.3); }
.pricing-card::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,119,182,0.15) 0%, transparent 50%);
  pointer-events: none; transition: all 0.6s ease;
}
.pricing-card:hover::before { top: -20%; left: -20%; }
.pricing-header { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; position: relative; z-index: 1; }
.pricing-icon {
  width: 72px; height: 72px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease;
}
.pricing-card:hover .pricing-icon { background: var(--blue); transform: scale(1.1) rotate(5deg); box-shadow: 0 0 20px rgba(0, 119, 182, 0.5); }
.pricing-icon svg { width: 38px; height: 38px; fill: white; }
.pricing-header h3 { font-size: 2rem; color: var(--white); letter-spacing: -.03em; line-height: 1.1; position: relative; z-index: 1; }
.pricing-list { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 16px; transition: all 0.2s ease; border: 1px solid transparent; }
.pricing-row:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: scale(1.02); }
.pricing-label { font-size: 1.1rem; font-weight: 600; }
.pricing-value { font-weight: 800; font-size: 1.4rem; color: var(--blue-soft); transition: color 0.2s ease; }
.pricing-row:hover .pricing-value { color: var(--white); }
.pricing-subtext { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 400; margin-top: 4px; }

/* ── ABOUT SECTION ── */
.about { background: var(--off-white); padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.about-text-area { text-align: left; }
.about-text-area p { margin-top: 18px; font-size: 1.04rem; }
.about-card {
  padding: 40px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  box-shadow: var(--shadow); color: var(--white); text-align: center;
}
.about-card h3 { margin-bottom: 14px; color: var(--white); font-size: 1.5rem; }
.about-card p { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.principles { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 30px; }
.principle { padding: 18px; border: 1px solid rgba(0,48,73,0.1); border-radius: 16px; background: rgba(255,255,255,0.5); }
.principle strong { display: block; margin-bottom: 5px; color: var(--navy); }
.principle span { display: block; color: var(--muted); font-size: .92rem; }

/* ── WORK SHOWCASE ── */
.work { background: var(--off-white); }
.work h2 { margin-bottom: 8px; }
.work > .container > p { max-width: 580px; margin-bottom: 40px; }
.showcase { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 48, 73, .18); background: var(--navy); }
.showcase-slider { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide { min-width: 100%; position: relative; }
.nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; cursor: pointer;
  z-index: 10; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: black;
}
.nav-arrow:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-50%) scale(1.1); }
.nav-arrow.prev { left: 20px; }
.nav-arrow.next { right: 20px; }
.nav-arrow svg { width: 24px; height: 24px; fill: currentColor; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #1a2e42; border-bottom: 1px solid rgba(255,255,255,.06); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; padding: 5px 14px; border-radius: 8px; background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.45); font-size: .82rem; font-family: monospace; letter-spacing: .02em;
}
.showcase-img { width: 100%; display: block; max-height: 580px; overflow: hidden; position: relative; }
.showcase-img img {
  width: 100%; height: auto; display: block;
  transition: transform 15s cubic-bezier(.25,.46,.45,.94); transform-origin: top center;
}
.slide:hover .showcase-img img { transform: translateY(calc(-100% + 580px)); }
.showcase-caption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: rgba(0, 48, 73, .6); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.06);
}
.showcase-caption span { color: rgba(255,255,255,.7); font-size: .9rem; }
.showcase-caption .hover-hint { font-size: .8rem; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 6px; }
.hover-hint::before { content: "↕"; font-size: 1rem; }

/* ── Contact ── */
.contact { background: radial-gradient(circle at right top, rgba(0, 119, 182, .12), transparent 34%), var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; margin-top: 34px; align-items: start; }
.contact-form, .contact-details {
  padding: 30px; border-radius: var(--radius); background: var(--white);
  border: 1px solid rgba(0, 48, 73, .08); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
label { display: block; margin-bottom: 7px; font-weight: 800; font-size: .92rem; color: var(--navy); }
input, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--off-white); color: var(--navy); font: inherit; outline: none; transition: border .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 119, 182, .16); }
textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 12px; min-height: 22px; font-weight: 750; font-size: .92rem; color: var(--muted); }
.form-status.success { color: #18864b; }
.form-status.error { color: #c43d3d; }

.detail-list { display: grid; gap: 18px; margin-top: 18px; }
.detail-item { padding: 18px; border-radius: 16px; background: var(--blue-soft); border: 1px solid rgba(0, 119, 182, .12); }
.detail-item strong { display: block; margin-bottom: 4px; color: var(--navy); }
.detail-item a, .detail-item span { color: var(--muted); font-size: .96rem; }
.detail-item a:hover { color: var(--blue); }

.social-links-box {
  margin-top: 20px;
  padding: 20px;
  border-top: 1px solid rgba(0, 48, 73, .08);
}
.social-links-box p { font-size: 0.85rem; margin-bottom: 10px; }
.social-links-box a {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--muted);
  transition: color 0.2s;
}
.social-links-box a:hover { color: var(--blue); }
.social-links-box a svg { width: 18px; height: 18px; margin-right: 8px; flex-shrink: 0; }

/* ── Footer ── */
.footer { padding: 30px 0; background: var(--navy); color: rgba(255,255,255,.72); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 850; color: var(--white); }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; background: var(--white); border-radius: 10px; padding: 4px; }
.footer small { color: rgba(255,255,255,.55); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── Legal pages (Terms / Privacy) ── */
.legal { background: var(--off-white); padding: 90px 0; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h1 { margin-bottom: 6px; }
.legal-body .updated { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 34px; }
.legal-body h2 { font-size: 1.35rem; font-weight: 850; margin: 34px 0 12px; color: var(--navy); letter-spacing: -.01em; }
.legal-body p { font-size: 1.02rem; line-height: 1.7; margin-bottom: 12px; }
.legal-body ul { margin: 8px 0 14px 22px; }
.legal-body li { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 4px; }
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-body strong { color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 920px) {
  .nav-links {
    position: absolute; top: 78px; left: 20px; right: 20px;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px; background: var(--white);
    border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 12px; }
  .nav-links a:hover { background: var(--blue-soft); }
  .nav-links .btn { margin-top: 8px; }
  .nav-links .btn-review { background: transparent; box-shadow: none; border-color: transparent; padding: 13px 14px; border-radius: 12px; }
  .menu-toggle { display: block; }
  .hero { padding: 76px 0 120px; }
  .hero-grid, .contact-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-panel img { width: 150px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .brand-text { display: none; }
  .form-row, .principles { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .contact-form, .contact-details, .about-card, .hero-panel { padding: 22px; }
  .pricing-row { flex-direction: column; text-align: center; gap: 10px; padding: 25px 15px; }
  .pricing-value { font-size: 1.6rem; color: var(--blue-soft); }
  /* Enlarge tap targets to ≥40px on mobile (better INP + mobile-friendliness) */
  .btn-mini { padding: 11px 18px; }
  .social-links-box a { padding: 12px 4px; }
  .detail-item a { display: inline-block; padding: 6px 0; }
}