/* ============================================
   NW Paint & Remodel — Style Sheet
   Color Palette: Deep blue/slate + warm accent
   ============================================ */

:root {
  --primary: #1a3a4f;
  --primary-light: #2c5f7c;
  --primary-dark: #0f2533;
  --accent: #d4883e;
  --accent-hover: #c07530;
  --accent-light: #f0d4b0;
  --text: #1e293b;
  --text-light: #64748b;
  --text-white: #ffffff;
  --bg: #ffffff;
  --bg-gray: #f1f5f9;
  --bg-dark: #0f2533;
  --border: #e2e8f0;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--primary-dark);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--accent); }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-white);
  font-size: 0.8rem;
  padding: 8px 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__right {
  display: flex;
  gap: 20px;
}

.top-bar__right a { color: var(--text-white); }
.top-bar__right a:hover { color: var(--accent); }
.top-bar__link { font-weight: 600; }

/* ---- Header / Nav ---- */
.header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.header__logo small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--accent);
  background: rgba(212,136,62,0.06);
}

.nav__phone {
  font-weight: 700;
  color: var(--primary);
  padding: 8px 14px;
  font-size: 0.9rem;
}

.nav__cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn--accent {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
}

.btn--outline:hover {
  background: var(--text-white);
  color: var(--primary);
}

.btn--dark {
  background: var(--primary-dark);
  color: var(--text-white);
  border-color: var(--primary-dark);
}

.btn--dark:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a3a4f 0%, #2c5f7c 40%, #3a7ca5 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 37, 51, 0.3);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero__badge {
  display: inline-block;
  background: rgba(212,136,62,0.2);
  color: var(--accent-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(212,136,62,0.3);
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--text-white);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 .text-accent { color: var(--accent-light); }

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

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

.section--dark {
  background: var(--primary-dark);
  color: var(--text-white);
}

.section--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
}

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

.section__header--light h2 { color: var(--text-white); }

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.section__tag--light { color: var(--accent-light); }

.section__header h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section__header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section__header--light p { color: rgba(255,255,255,0.7); }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

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

.service-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Features Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature { text-align: center; }

.feature__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  margin-bottom: 12px;
}

.feature h3 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.feature p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ---- Portfolio Grid ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.portfolio-card__img {
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
}

.portfolio-card__label {
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-card h3 {
  padding: 16px 20px 4px;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.portfolio-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__content .section__tag { margin-bottom: 12px; }

.about__content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about__content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.stat { text-align: center; }

.stat__number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about__image { border-radius: var(--radius-lg); overflow: hidden; }
.about__img-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author strong {
  display: block;
  font-family: 'Inter', sans-serif;
  color: var(--primary-dark);
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---- Cities Grid ---- */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.city-item {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}

.city-item:hover {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--primary-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item__icon {
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer p {
  padding-bottom: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

/* ---- Quote Form ---- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.quote__info h2 {
  color: var(--text-white);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.quote__info p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.quote__contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote__contact-item {
  color: rgba(255,255,255,0.8);
}

.quote__contact-item strong {
  display: block;
  color: var(--accent-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.quote__contact-item a {
  color: var(--text-white);
}

.quote__contact-item a:hover { color: var(--accent-light); }

.quote-form {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,136,62,0.15);
}

.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  display: block;
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__service-area {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
}

.footer__links h4 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer__links a,
.footer__links span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ---- Mobile Sticky CTA ---- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--primary-dark);
  padding: 8px;
  gap: 8px;
}

.mobile-sticky-cta__btn {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
}

.mobile-sticky-cta__btn--call {
  background: var(--bg);
  color: var(--primary);
}

.mobile-sticky-cta__btn--quote {
  background: var(--accent);
  color: var(--text-white);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .hamburger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav.open { display: flex; }
  .nav__link { padding: 12px 0; }
  .nav__phone { padding: 12px 0; }
  .nav__cta { margin: 8px 0 0; text-align: center; }

  .hero { min-height: auto; }
  .hero__content { padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero__sub { font-size: 1rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: 8px; }

  .section { padding: 60px 0; }
  .section__header h2 { font-size: 1.8rem; }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; gap: 24px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__stats { justify-content: center; }
  .about__image { order: -1; }
  .about__img-placeholder { height: 250px; }

  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}
