/* ========================================
   Hardy's Welding Service — Custom Styles
   Teal + Slate Grey | Geometric Modern
======================================== */

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

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 20px rgba(15,23,42,0.1);
  --shadow-lg: 0 10px 40px rgba(15,23,42,0.12);
  --shadow-xl: 0 20px 60px rgba(15,23,42,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-dark);
}

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

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--teal);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.938rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

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

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-800);
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-200);
  text-decoration: none;
}

.mobile-menu-link:hover {
  color: var(--teal);
}

.mobile-menu-cta {
  color: var(--teal) !important;
  border-bottom: none !important;
  margin-top: 8px;
}

.mobile-menu-contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-contact a {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, #134e4a 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
}

.geo-circle--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.25) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.geo-rect {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(13,148,136,0.1);
  border: 2px solid rgba(13,148,136,0.2);
  bottom: 10%;
  left: -80px;
  transform: rotate(15deg);
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 208px solid rgba(13,148,136,0.08);
  top: 15%;
  right: 10%;
  transform: rotate(-20deg);
}

.geo-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  bottom: 20%;
  right: 5%;
  background-image: radial-gradient(circle, rgba(13,148,136,0.4) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,148,136,0.3);
  color: var(--teal-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.813rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-accent {
  color: var(--teal-light);
  position: relative;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.938rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,148,136,0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,148,136,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  background: rgba(13,148,136,0.08);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.813rem;
  color: var(--slate-400);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-image-stack {
  position: relative;
}

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

.hero-img--main {
  width: 100%;
  aspect-ratio: 600/750;
}

.hero-img--main img,
.hero-img--float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img--float {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 65%;
  border: 4px solid var(--slate-800);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-float-card {
  position: absolute;
  top: 40px;
  right: -30px;
  background: var(--white);
  color: var(--slate-800);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 3;
}

.hero-float-card svg {
  color: var(--teal);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: var(--white);
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* --- SECTION COMMON --- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-label-line {
  width: 32px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 16px;
}

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

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

.section-subtitle {
  font-size: 1.063rem;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 600px;
}

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

.services .container {
  text-align: center;
}

.services .section-subtitle {
  margin: 0 auto 56px;
}

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

.service-card {
  position: relative;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.188rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

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

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--slate-50);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

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

.about-visual {
  position: relative;
}

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

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

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

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

.about-geo-shape {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--teal);
  border-radius: var(--radius-md);
  opacity: 0.15;
  transform: rotate(25deg);
}

.about-content {
  position: relative;
  z-index: 2;
}

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

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

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

.about-feature-check {
  width: 22px;
  height: 22px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

/* --- WORK GALLERY --- */
.work {
  padding: 100px 0;
  background: var(--white);
}

.work-header {
  text-align: center;
  margin-bottom: 56px;
}

.work-header .section-subtitle {
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.work-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

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

.work-item:hover img {
  transform: scale(1.05);
}

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

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

.work-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.work-item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  aspect-ratio: 600/500;
}

.work-item:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
  aspect-ratio: 400/350;
}

.work-item:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 2 / 3;
  aspect-ratio: 400/350;
}

.work-item:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2 / 3;
  aspect-ratio: 400/350;
}

.work-item--wide {
  grid-column: 9 / 13;
  grid-row: 2 / 3;
  aspect-ratio: 400/350;
}

/* --- CTA BANNER --- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, #0d9488 100%);
  overflow: hidden;
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
}

.cta-circle--1 {
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  top: -200px;
  left: -150px;
}

.cta-circle--2 {
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  bottom: -100px;
  right: -50px;
}

.cta-rect {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  top: 10%;
  right: 8%;
  transform: rotate(30deg);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.063rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

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

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

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

.contact-detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.938rem;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.938rem;
  color: var(--slate-500);
  line-height: 1.5;
}

.contact-detail a {
  color: var(--slate-500);
}

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

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

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

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

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

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

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

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

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

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

.form-success svg {
  color: var(--teal);
  margin-bottom: 16px;
}

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

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.063rem;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--teal-light);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-500);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--slate-500);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--teal-light);
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.813rem;
  color: var(--slate-600);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-img--float {
    left: -20px;
    bottom: -20px;
  }

  .hero-float-card {
    right: -10px;
  }

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

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

  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .work-item--large {
    grid-column: 1 / 7;
  }

  .work-item:nth-child(2) {
    grid-column: 7 / 13;
  }

  .work-item:nth-child(3) {
    grid-column: 1 / 5;
  }

  .work-item:nth-child(4) {
    grid-column: 5 / 9;
  }

  .work-item--wide {
    grid-column: 9 / 13;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .hero-img--float {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 16px;
    border: none;
  }

  .hero-float-card {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 16px;
    display: inline-flex;
  }

  .hero-image-stack {
    display: flex;
    flex-direction: column;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image-accent {
    right: -10px;
    bottom: -15px;
  }

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

  .work-item--large,
  .work-item:nth-child(2),
  .work-item:nth-child(3),
  .work-item:nth-child(4),
  .work-item--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 400/300;
  }

  .work-item:nth-child(1) {
    grid-column: 1 / -1;
    aspect-ratio: 400/280;
  }

  .contact-form-wrap {
    padding: 28px;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .work-item:nth-child(1) {
    grid-column: auto;
  }
}
