/* ============================================================
   Reymans Care Solutions — Main Stylesheet
   Color palette: Deep Teal primary, Soft Gold accent, warm neutrals
   ============================================================ */

/* === TOKENS === */
:root {
  --teal:        #0e6b7a;
  --teal-dark:   #094f5c;
  --teal-mid:    #1a8fa1;
  --teal-light:  #d0eef3;
  --teal-pale:   #f0f9fb;

  --gold:        #c8963a;
  --gold-dark:   #a57520;
  --gold-light:  #fdf0d8;

  --navy:        #0b2d3d;
  --white:       #ffffff;
  --off-white:   #f8fbfc;
  --gray-50:     #f4f7f8;
  --gray-100:    #e8eef0;
  --gray-300:    #b0c0c5;
  --gray-500:    #687a80;
  --gray-700:    #334148;
  --gray-900:    #1a2428;

  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);

  --transition:  0.22s cubic-bezier(.4,0,.2,1);
  --max-width:   1120px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: .6rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-desc {
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,107,122,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-service {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  margin-top: 1.25rem;
  padding: .55rem 1.25rem;
  font-size: .875rem;
}
.btn-service:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .nav-logo,
.site-header.scrolled .nav-links a {
  color: var(--gray-900);
}

.site-header.scrolled .nav-toggle span {
  background: var(--gray-900);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--transition);
}

.logo-icon {
  font-size: 1.3rem;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2.5vw, 2rem);
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: .45rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

.site-header.scrolled .nav-cta {
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 40%, var(--teal-mid) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200,150,58,.18) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: 8rem 5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,150,58,.2);
  color: var(--gold);
  border: 1px solid rgba(200,150,58,.4);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.hero-tagline {
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-visual {
  position: relative;
  height: 380px;
}

.about-card-art {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-pale) 100%);
  position: relative;
  overflow: hidden;
}

.about-card-art::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--teal-mid);
  opacity: .18;
}

.about-card-art::after {
  content: '🤝';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  opacity: .5;
}

.about-stat {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
}

.about-badge-ddd {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: var(--teal);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  line-height: 1.3;
  box-shadow: var(--shadow);
  letter-spacing: .04em;
}

.about-text .section-label { margin-bottom: .75rem; }

.about-text h2 { margin-bottom: 1.25rem; }

.about-text p { color: var(--gray-500); margin-bottom: 1rem; }

.about-text strong { color: var(--gray-700); }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.highlight-icon {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: .75rem;
  color: var(--navy);
}

.service-card > p {
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  font-size: .95rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--gray-700);
}

.service-features li::before {
  content: '→';
  color: var(--teal-mid);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.area-map {
  display: flex;
  justify-content: center;
}

.nj-map {
  width: 100%;
  max-width: 280px;
}

.nj-map svg { width: 100%; height: auto; }

.county { transition: opacity .2s; }
.county.bergen  { fill: var(--teal); }
.county.passaic { fill: var(--teal-mid); }
.county.essex   { fill: var(--gold); }
.county.hudson  { fill: var(--gold-dark); }
.county.other   { fill: var(--gray-100); stroke: var(--gray-300); stroke-width: 1; }

.county-label {
  font-size: 11px;
  font-family: var(--font);
  fill: var(--white);
  font-weight: 600;
  pointer-events: none;
}

.nj-label {
  font-size: 13px;
  font-family: var(--font);
  fill: var(--gray-300);
  font-weight: 500;
  pointer-events: none;
}

.area-intro {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.counties-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.county-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.county-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .35rem;
}

.bergen-item  .county-dot { background: var(--teal); }
.passaic-item .county-dot { background: var(--teal-mid); }
.hudson-item  .county-dot { background: var(--gold-dark); }
.essex-item   .county-dot { background: var(--gold); }

.county-item strong {
  display: block;
  font-size: .9rem;
  color: var(--gray-900);
  margin-bottom: .2rem;
}

.county-item span {
  font-size: .825rem;
  color: var(--gray-500);
}

.area-note {
  font-size: .825rem;
  color: var(--gray-500);
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  padding: .75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: .9rem;
}

.why-card h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--navy);
}

.why-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--navy); }

.contact .section-label { color: var(--gold); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: background var(--transition);
  cursor: default;
}

a.contact-item {
  cursor: pointer;
}

a.contact-item:hover {
  background: rgba(255,255,255,.1);
}

.contact-icon { font-size: 1.4rem; flex-shrink: 0; }

.contact-item strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: .15rem;
}

.contact-item span {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: .825rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,107,122,.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
  padding-block: 2.5rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.footer-legal {
  font-size: .8rem;
  margin: 0;
  color: rgba(255,255,255,.45);
}

.footer-ddd-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(14,107,122,.25);
  border: 1px solid rgba(14,107,122,.5);
  color: var(--teal-light);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .775rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.footer-copy {
  font-size: .75rem;
  margin: 0;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: 0;
    padding-top: 5rem;
    padding-bottom: 2rem;
    padding-inline: 2rem;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 99;
    height: 100svh;
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding-block: .9rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: var(--white);
  }

  .nav-cta {
    margin-top: 1rem;
    display: block;
    text-align: center;
    border-radius: 50px;
    padding: .75rem !important;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; }

  .about-visual { height: 260px; order: -1; }

  .about-badge-ddd { right: 1rem; }

  /* Area */
  .area-layout { grid-template-columns: 1fr; }

  .area-map { display: none; } /* hide map on small screens for simplicity */

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
