/* ============================================
   BEN'S BLUE COLLAR SERVICE — Warm Local Theme
   Earthy, premium, approachable. Not industrial.
   ============================================ */

:root {
  --bg: #FAF7F2;
  --fg: #2C2420;
  --accent: #BF6B2B;
  --accent-hover: #A85B22;
  --accent-light: #F5E8D8;
  --sage: #6B7F5E;
  --sage-light: #E8EDE4;
  --navy: #2C3E50;
  --navy-deep: #1A2832;
  --cream: #FAF7F2;
  --warm-gray: #7A716A;
  --warm-gray-light: #B8AFA7;
  --border: #E8E0D6;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(44,36,32,0.06);
  --shadow-md: 0 4px 12px rgba(44,36,32,0.08);
  --shadow-lg: 0 8px 30px rgba(44,36,32,0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--fg);
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

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

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-visual { animation: fadeIn 1s ease-out 0.3s both; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s ease;
  padding: 0 24px;
}

.nav-scrolled {
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(44,36,32,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.nav-scrolled .nav-brand { color: var(--fg); }

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-brand-icon svg { width: 18px; height: 18px; }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: white; }
.nav-scrolled .nav-links a { color: var(--warm-gray); }
.nav-scrolled .nav-links a:hover { color: var(--fg); }
.nav-cta::after { display: none !important; }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191,107,43,0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-scrolled .nav-toggle span { background: var(--fg); }

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(191,107,43,0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191,107,43,0.3);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191,107,43,0.2);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  background: var(--navy-deep);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(191,107,43,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(61,79,60,0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy-deep) 0%, #2A3F4E 35%, #35503D 70%, #2A3F4E 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.hero-location svg { opacity: 0.5; }

.hero-content h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 440px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.trust-stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  padding: 120px 80px 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.hero-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(191,107,43,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}

.hero-card:hover .hero-card-icon {
  background: rgba(191,107,43,0.25);
  transform: scale(1.05);
}

.hero-card-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: white;
}

.hero-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ---- SERVICES ---- */
.services {
  padding: 100px 24px;
  background: var(--white);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  max-width: 560px;
  margin-bottom: 64px;
}

.services-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}

.services-intro {
  font-size: 17px;
  color: var(--warm-gray);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: all 0.25s ease;
}

.service-card:hover {
  background: var(--cream);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card-highlight {
  background: var(--accent-light);
}

.service-card-highlight:hover {
  background: #F0DCC8;
}

.service-icon {
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.7;
}

.services-cta {
  margin-top: 48px;
  text-align: center;
}

/* ---- PORTFOLIO ---- */
.portfolio {
  padding: 100px 24px;
  background: var(--cream);
}

.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  max-width: 560px;
  margin-bottom: 64px;
}

.portfolio-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}

.portfolio-intro {
  font-size: 17px;
  color: var(--warm-gray);
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44,36,32,0.15);
}

.portfolio-card-lg {
  grid-column: span 2;
  min-height: 300px;
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card-bg {
  transform: scale(1.03);
}

.portfolio-card-pattern {
  position: absolute;
  inset: 0;
}

.portfolio-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
  margin-top: auto;
}

.portfolio-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.portfolio-card-content h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 6px;
}

.portfolio-card-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.portfolio-cta {
  margin-top: 48px;
  text-align: center;
}

.portfolio-cta p {
  font-size: 15px;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.portfolio-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- PROOF / REVIEWS ---- */
.proof {
  padding: 100px 24px;
  background: var(--navy-deep);
  color: white;
  position: relative;
}

.proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(191,107,43,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.proof-header {
  margin-bottom: 64px;
}

.proof-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.proof-stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.proof-stat:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.proof-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.proof-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
}

.review-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.review-stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.review-footer { display: flex; align-items: center; }

.review-source {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.proof-platforms {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.proof-platforms-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 20px;
}

.proof-platform-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
}

.platform-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.platform-name {
  font-weight: 600;
  color: white;
  font-size: 15px;
}

.platform-rating {
  font-size: 13px;
  color: var(--accent);
}

/* ---- ABOUT ---- */
.about {
  padding: 100px 24px;
  background: var(--cream);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 28px;
}

.about-content p {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 500px;
}

.about-promises {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.promise {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}

.promise svg { color: var(--sage); flex-shrink: 0; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-quote-card {
  background: var(--navy-deep);
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.about-quote-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(191,107,43,0.1);
  border-radius: 50%;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 16px;
}

.quote-text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.quote-attr { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

.quote-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.quote-title {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.about-detail:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(191,107,43,0.1);
  transform: translateY(-2px);
}

.detail-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.detail-label {
  font-size: 13px;
  color: var(--warm-gray);
}

/* ---- CONTACT ---- */
.contact {
  padding: 100px 24px;
  background: var(--white);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-left h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-left > p {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--fg);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

.contact-method:last-child { border-bottom: none; }
.contact-method:hover .method-value { color: var(--accent); }
.contact-method:hover .method-icon { background: var(--accent); color: white; }

.method-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.method-label {
  font-size: 12px;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.method-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-cta-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
}

.cta-card-header {
  margin-bottom: 28px;
}

.cta-card-header h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-card-header p {
  font-size: 15px;
  color: var(--warm-gray);
}

.cta-card-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.cta-card-services span {
  background: var(--white);
  color: var(--warm-gray);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cta-card-services span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-deep);
  color: white;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: white; }
.footer-address { color: rgba(255,255,255,0.4) !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
}

.form-card-header {
  margin-bottom: 32px;
}

.form-card-header h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card-header p {
  font-size: 15px;
  color: var(--warm-gray);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--warm-gray-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(191,107,43,0.12);
}

.contact-form input.has-error,
.contact-form select.has-error {
  border-color: #C0392B;
  background: #FDF5F5;
}

.field-error {
  font-size: 12px;
  color: #C0392B;
  min-height: 16px;
}

select.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A716A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--sage-light);
  border: 1px solid #B8CEAF;
  border-radius: var(--radius);
  color: var(--sage);
  animation: scaleIn 0.3s ease;
}

.form-success svg { flex-shrink: 0; }
.form-success strong { display: block; margin-bottom: 2px; }
.form-success p { font-size: 14px; opacity: 0.8; margin: 0; }

.form-error {
  padding: 12px 16px;
  background: #FDF5F5;
  border: 1px solid #F4C6C6;
  border-radius: var(--radius);
  color: #C0392B;
  font-size: 14px;
}

/* ============================================
   MASONRY GALLERY
   ============================================ */

.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
}

.gallery-cell {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.gallery-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44,36,32,0.18);
}

.gallery-cell-tall {
  min-height: 320px;
}

.gallery-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.gallery-cell:hover .gallery-bg {
  transform: scale(1.03);
}

.gallery-pattern {
  position: absolute;
  inset: 0;
}

.gallery-overlay {
  position: relative;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 65%, transparent 100%);
  margin-top: auto;
}

.gallery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.gallery-overlay h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 6px;
}

.gallery-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 100px 40px 60px;
  }

  .hero-visual {
    padding: 20px 40px 60px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .masonry-gallery {
    column-count: 2;
  }

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

  .portfolio-card-lg { grid-column: span 2; }

  .contact-form-card { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-reviews {
    grid-template-columns: 1fr;
  }

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 40px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.nav-open { display: flex; }

  .nav-links a { color: var(--fg) !important; }
  .nav-links a:hover { color: var(--accent) !important; }
  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 90px 24px 40px;
  }

  .hero-visual {
    padding: 10px 24px 48px;
    gap: 12px;
  }

  .hero-card { padding: 20px 16px; }
  .hero-card-icon { width: 44px; height: 44px; }
  .hero-card-icon svg { width: 24px; height: 24px; }
  .hero-card-label { font-size: 15px; }

  .services { padding: 70px 20px; }
  .services-grid { grid-template-columns: 1fr; }

  .portfolio { padding: 70px 20px; }
  .masonry-gallery { column-count: 1; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card-lg { grid-column: span 1; }
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .proof { padding: 70px 20px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proof-number { font-size: 32px; }
  .proof-stat { padding: 20px 12px; }

  .about { padding: 70px 20px; }
  .about-content h2 { font-size: 28px; }

  .contact { padding: 70px 20px; }

  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .hero-trust { flex-direction: column; gap: 12px; }

  .proof-platform-links { flex-direction: column; align-items: center; }
  .platform-link { width: 100%; justify-content: center; }

  .footer-links { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { padding: 48px 20px 32px; }
}
