/* ============================================
   Hicks Well Service — Custom Styles
   Palette: Charcoal (#1A1D23) + Coral (#FF6B4A)
   Fonts: Outfit (headings) + Plus Jakarta Sans (body)
============================================ */

/* --- CSS Custom Properties --- */
:root {
  --charcoal: #1A1D23;
  --charcoal-light: #2A2D35;
  --charcoal-mid: #3A3D45;
  --coral: #FF6B4A;
  --coral-light: #FF8A70;
  --coral-dark: #E5553A;
  --coral-pale: #FFF0EC;
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --gray-100: #F1F0EE;
  --gray-200: #E5E3DF;
  --gray-300: #D1CFC9;
  --gray-500: #8A8780;
  --gray-700: #4A4740;
  --gray-900: #1A1814;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(26, 29, 35, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 29, 35, 0.10);
  --shadow-lg: 0 8px 32px rgba(26, 29, 35, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 29, 35, 0.14);

  --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.65;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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;
}

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

/* --- Geometric Background Shapes --- */
.geo-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  opacity: 0.04;
}

.geo-circle-1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--coral);
  top: -200px;
  right: -150px;
}

.geo-circle-2 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--charcoal);
  bottom: 20%;
  left: -100px;
}

.geo-square-1 {
  width: 200px;
  height: 200px;
  background: var(--coral);
  top: 40%;
  right: 5%;
  transform: rotate(45deg);
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 200px solid var(--charcoal);
  top: 60%;
  left: 3%;
  opacity: 0.03;
}

.geo-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--coral) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  top: 75%;
  right: 15%;
  opacity: 0.08;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

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

/* --- Section Tag --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 560px;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 107, 74, 0.35);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 74, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* --- Navbar --- */
.navbar {
  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 rgba(26, 29, 35, 0.06);
  transition: var(--transition);
}

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

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

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

.nav-logo-icon {
  width: 36px;
  height: 36px;
  color: var(--coral);
}

.nav-logo-text {
  display: none;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--coral);
  background: var(--coral-pale);
}

.nav-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--coral);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 29, 35, 0.92) 0%,
    rgba(26, 29, 35, 0.75) 50%,
    rgba(255, 107, 74, 0.3) 100%
  );
}

.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.geo-accent {
  position: absolute;
}

.geo-accent-coral {
  width: 500px;
  height: 500px;
  background: var(--coral);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  opacity: 0.15;
  filter: blur(60px);
}

.geo-accent-charcoal {
  width: 300px;
  height: 300px;
  background: var(--charcoal);
  bottom: -50px;
  left: 10%;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(40px);
}

.geo-accent-dots {
  width: 160px;
  height: 160px;
  background-image: radial-gradient(circle, rgba(255, 107, 74, 0.5) 2px, transparent 2px);
  background-size: 20px 20px;
  bottom: 15%;
  right: 8%;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--coral-light);
  background: rgba(255, 107, 74, 0.12);
  border: 1px solid rgba(255, 107, 74, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--coral-light);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 40px;
}

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

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

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.hero-trust-item svg {
  color: var(--coral);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Services Section --- */
.services {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--off-white);
}

.services .section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

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

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

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.service-card-accent {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--coral-pale);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-card-accent {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-pale);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--coral);
  transition: var(--transition);
}

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

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- About Section --- */
.about {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--coral);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-floating-stat {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--charcoal);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-floating-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--coral);
}

.about-floating-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

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

.about-text {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.value-item {
  display: flex;
  gap: 16px;
}

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

.value-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.value-item span {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* --- Why Us Section --- */
.why-us {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: var(--charcoal);
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(80px);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-us-item {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.why-us-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 107, 74, 0.3);
  transform: translateY(-4px);
}

.why-us-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--coral);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.why-us-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.why-us-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* --- Gallery Section --- */
.gallery {
  position: relative;
  z-index: 1;
  padding: 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item--wide {
  aspect-ratio: 16/10;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s 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(26, 29, 35, 0.7), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

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

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

/* --- Quote Strip --- */
.quote-strip {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: var(--coral);
  overflow: hidden;
}

.quote-strip::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.quote-strip::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.quote-content blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-attribution {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* --- Contact Section --- */
.contact {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--off-white);
}

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

.contact-info .section-title {
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

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

.contact-detail-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-pale);
  border-radius: var(--radius-md);
  color: var(--coral);
}

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

.contact-detail p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--coral);
  font-weight: 600;
  transition: var(--transition);
}

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

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

.form-title {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--charcoal);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.1);
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8780' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

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

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

.form-success-icon {
  margin: 0 auto 20px;
  color: var(--coral);
}

.form-success-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.form-success p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* --- Map Section --- */
.map-section {
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--coral);
}

.map-container {
  position: relative;
}

.map-container::after {
  content: '📍 Hicks Well Service — Hereford, TX';
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 2;
  letter-spacing: 0.04em;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--charcoal);
  color: var(--white);
  padding: 64px 0 0;
}

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

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

.footer-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--coral);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

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

.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--coral);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-contact a {
  color: var(--coral-light);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--coral);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .nav-logo-text {
    display: block;
  }
}

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    width: 100%;
    padding: 14px 22px;
  }

  .hero-content {
    padding: 100px 24px 80px;
  }

  .hero-title-accent {
    font-size: 1.1rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

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

  .about-visual {
    order: -1;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .about-floating-stat {
    left: 16px;
    bottom: 16px;
  }

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

  .gallery-item--wide {
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  .gallery-item {
    aspect-ratio: 16/9;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .services,
  .about,
  .contact {
    padding: 72px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 29, 35, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
