/* ============================================
   OUTREACH WELDING — Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --cream: #faf9f7;
  --warm-white: #fefdfb;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate-800);
  flex-shrink: 0;
}

.logo-icon { color: var(--teal-600); }

.logo-text { letter-spacing: -0.02em; }

.logo-accent { color: var(--teal-600); }

.nav ul {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--slate-600);
  transition: color var(--transition), background var(--transition);
}

.nav a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.btn-nav-phone {
  display: none;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* --- Mobile Nav --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--warm-white);
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition);
}

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

.mobile-nav-link {
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-link:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

.mobile-nav-phone {
  margin-top: 16px;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.938rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--teal-700);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}

.btn-ghost:hover {
  border-color: var(--teal-300);
  color: var(--teal-700);
  background: var(--teal-50);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-md); }

.btn-white {
  background: #fff;
  color: var(--teal-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--teal-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-full { width: 100%; }

/* --- Hero --- */
.hero {
  padding-top: 72px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--teal-50) 50%, var(--slate-50) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-700);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

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

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--slate-600);
}

.trust-item svg { color: var(--teal-500); flex-shrink: 0; }

/* Hero Images */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image--primary {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 640/720;
}

.hero-image--accent {
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: 200px;
  height: 200px;
  border: 5px solid var(--warm-white);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: 60px;
  right: -10px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.float-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

.float-card-text {
  display: flex;
  flex-direction: column;
}

.float-card-text strong {
  font-size: 0.875rem;
  color: var(--slate-800);
  line-height: 1.3;
}

.float-card-text span {
  font-size: 0.813rem;
  color: var(--slate-500);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 60px; }

/* --- Section Shared --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.063rem;
  color: var(--slate-500);
  line-height: 1.75;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal-100) 0%, var(--teal-50) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-500) 100%);
  color: #fff;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.938rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 580/680;
}

.about-image-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--warm-white);
  box-shadow: var(--shadow-lg);
}

.about-stat {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--teal-600);
  color: #fff;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.813rem;
  opacity: 0.85;
}

.about-content .section-tag { margin-bottom: 12px; }

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--slate-700);
}

.about-feature svg { color: var(--teal-500); flex-shrink: 0; }

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 5/4;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-700) 50%, var(--slate-800) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content { max-width: 560px; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.063rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-shrink: 0;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag { margin-bottom: 12px; }

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 1rem;
  color: var(--slate-700);
  font-weight: 500;
}

.contact-detail a:hover { color: var(--teal-600); }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrap { max-width: 100%; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.938rem;
  color: var(--slate-500);
  margin-bottom: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.938rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  background: #fff;
}

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

.form-success {
  display: none;
  padding: 40px 20px;
  text-align: center;
}

.form-success.show { display: block; }

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal-600);
}

.success-content h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.success-content p {
  color: var(--slate-500);
  font-size: 0.938rem;
}

/* --- Footer --- */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo-accent { color: var(--teal-400); }

.footer-desc {
  font-size: 0.938rem;
  line-height: 1.75;
  color: var(--slate-400);
  max-width: 280px;
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-200);
  margin-bottom: 20px;
}

.footer ul { display: flex; flex-direction: column; gap: 12px; }

.footer ul a {
  font-size: 0.938rem;
  color: var(--slate-400);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer ul a:hover { color: var(--teal-400); }

.footer ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.938rem;
}

.footer ul svg { flex-shrink: 0; margin-top: 3px; opacity: 0.6; }

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* --- Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No-reduce-motion: always visible */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav, .btn-nav-phone { display: none; }
  .mobile-toggle { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 60px 0 40px;
    gap: 48px;
  }

  .hero-image-wrap { justify-content: center; }
  .hero-image--primary { max-width: 100%; }
  .hero-image--accent { display: none; }
  .hero-float-card { display: none; }

  .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }

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

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

  .about-image-secondary { width: 160px; right: -10px; }
  .about-stat { left: auto; right: 16px; }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}
