/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2563A8;
  --blue-dark:   #1A4A80;
  --blue-light:  #3A7DC9;
  --yellow:      #FFE135;
  --yellow-dark: #FFD200;
  --white:       #FFFFFF;
  --off-white:   #E8EDF5;
  --text:        #1C2A3A;
  --text-muted:  #4A5A6A;
  --border:      #C8D9EC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

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

h1, h2, h3, nav, .btn, label, .pricing-amount, .pricing-price-label, .author-name, .contact-detail-text strong {
  font-family: 'Libre Franklin', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
}


a { color: var(--blue); }

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 3.5rem 0; }


/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
}

.site-header-title {
  color: var(--yellow);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-right: auto;
}

.site-nav { display: flex; align-items: center; gap: 0.25rem; }

.site-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
}

.site-nav a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-size: 1.3rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.18s, transform 0.12s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--yellow);
  color: var(--text);
}

.btn-primary:hover { background: var(--yellow-dark); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,225,53,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-logo-icon, .service-icon, .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-icon {
  width: 117px;
  height: 81px;
  background: var(--yellow);
  border-radius: 18px;
  margin-bottom: 1.2rem;
}

.hero-logo-icon svg { width: 67px; height: 67px; }

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  color: var(--yellow);
}


.hero p {
  font-size: 1.55rem;
  opacity: 0.92;
  max-width: 480px;
}

.hero-tagline { margin-bottom: 3rem; }


.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 2rem; }

.hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  display: block;
}


/* ── Scroll offset for sticky header ─────────────────────── */
#services, #pricing, #about, #testimonials, #contact {
  scroll-margin-top: 56px;
}

/* ── About ────────────────────────────────────────────────── */
.pricing { background: var(--off-white); }

.about .container {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(37,99,168,0.15);
  display: block;
}

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

.about p { color: var(--text-muted); }

.highlight {
  color: var(--blue);
  background-color: var(--yellow);
  padding: 0.2rem 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 0 0 1px var(--yellow);
}


/* ── Services ─────────────────────────────────────────────── */

.section-header { text-align: center; }

.services .section-header {
  margin-bottom: 3.5rem;
}

section:not(.hero) h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--blue-dark);
}

.services h2 {
  margin-bottom: 0.75rem;
}

.services .intro {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.services-more-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  margin: 3.5rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.services-more-heading::before,
.services-more-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(37,99,168,0.15);
}

.services-more-link {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: 1.1rem;
}

.services-more-link a { color: var(--blue-dark); font-weight: 700; }

.service-card, .testimonial {
  border-radius: 12px;
  padding: 1.5rem;
}

.service-card {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(37,99,168,0.07);
  border-top: 4px solid var(--blue);
  display: flow-root;
}

.service-card--featured {
  border-top-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 2px 16px rgba(37,99,168,0.13);
}

.service-card--featured h3 { color: var(--blue-dark); }
.service-card--featured p { color: var(--text); }
.service-card--featured .service-icon { background: var(--blue-dark); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
}

.service-icon svg { width: 28px; height: 28px; fill: var(--yellow); }

.service-card h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 0.1rem; /* slight alignment tweak for font baseline */
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Pricing ──────────────────────────────────────────────── */

.pricing .section-header {
  margin-bottom: 2rem;
}

.pricing-body {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.pricing-amount span {
  color: var(--text-muted);
  font-size: 2rem;
}

.pricing-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
}

.pricing-sliding-scale {
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.pricing-divider {
  border: none;
  border-top: 2px solid var(--blue-light);
  opacity: 0.25;
  margin-bottom: 2rem;
}

.pricing-terms {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.pricing-terms li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.5;
}

.pricing-term-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.15rem;
}

.pricing-terms em {
  display: block;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.pricing-lower {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.pricing-guarantee-shield {
  width: 250px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(37, 99, 168, 0.35));
}

@media (max-width: 600px) {
  .pricing-lower {
    flex-direction: column;
    align-items: center;
  }
}


/* ── Testimonials ─────────────────────────────────────────── */

.testimonials {
  background: var(--off-white);
}

.testimonials .section-header {
  margin-bottom: 3rem;
}



.testimonial {
  background: white;
  position: relative;
  flex: 1;
  max-width: 450px;
  min-width: 300px;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--yellow);
  font-family: 'Merriweather', serif;
}

.testimonial p {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-top: 1.75rem;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  display: block;
}

.author-location {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Contact ──────────────────────────────────────────────── */

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
  line-height: 1.25;
}

.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1.3rem;
  padding-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; fill: var(--yellow); }

.contact-detail-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-detail-text span { color: var(--text); }

/* Form */
.contact-form {
  background: var(--off-white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(37,99,168,0.1);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,168,0.15);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%234A5A6A' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
}

.form-submit { width: 100%; padding: 0.9rem; font-size: 1.35rem; }

.form-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-note p { margin-bottom: 0.25rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding: 1.5rem 0;
}

.footer-bottom {
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.made-in-oregon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.oregon-shape {
  height: 1.6em;
  width: auto;
  vertical-align: middle;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container, .about .container, .contact .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 260px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { justify-content: center; }
}

@media (max-width: 600px) {
  section { padding: 2.5rem 0; }
  .site-nav a { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { flex-direction: column; align-items: center; }
  .testimonial { min-width: 0; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}
