/* =============================================
   ERIKSSONWOOD AB — Stylesheet
   Scandinavian natural aesthetic
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  --bg: #F7F4EE;
  --bg-alt: #EFF5E8;
  --green-dark: #1E3D10;
  --green-mid: #3B6E1F;
  --green-light: #6B9E3A;
  --wood: #A0622A;
  --wood-light: #D4935C;
  --text: #1A1A1A;
  --text-muted: #5A5A4A;
  --white: #FFFFFF;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);

  --transition: 0.25s ease;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

em {
  font-style: italic;
  color: var(--green-mid);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background-color: var(--green-mid);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

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

/* Facebook button in hero */
.btn-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: transparent;
  color: var(--green-mid);
  border: 2px solid rgba(59, 110, 31, 0.35);
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background-color var(--transition);
}

.btn-facebook:hover {
  background-color: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background-color: transparent;
  color: var(--green-mid);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid var(--green-mid);
  border-radius: var(--radius-full);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: var(--green-mid);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* --- Section Helpers --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background-color: rgba(107, 158, 58, 0.12);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-sub {
  max-width: 560px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- Image Placeholders --- */
.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.placeholder-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* Real image — sits on top of the placeholder gradient once loaded */
.real-img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  z-index: 1;
}

.real-img.loaded {
  display: block;
}

/* --- Scroll Animations --- */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .animate-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-up:nth-child(3) { transition-delay: 0.15s; }
.services-grid .animate-up:nth-child(4) { transition-delay: 0.2s; }
.services-grid .animate-up:nth-child(5) { transition-delay: 0.25s; }
.services-grid .animate-up:nth-child(6) { transition-delay: 0.3s; }

.process-steps .animate-up:nth-child(3) { transition-delay: 0.1s; }
.process-steps .animate-up:nth-child(5) { transition-delay: 0.2s; }
.process-steps .animate-up:nth-child(7) { transition-delay: 0.3s; }
.process-steps .animate-up:nth-child(9) { transition-delay: 0.4s; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Groups the Facebook icon + CTA button on the right side of the nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

/* Smaller version of btn-facebook for the nav */
.nav-facebook {
  width: 38px;
  height: 38px;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  display: block;
  /* Removes white background on light nav — white × cream = cream (invisible) */
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-mid);
  background-color: rgba(59, 110, 31, 0.07);
}

.nav-cta {
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.hamburger:hover {
  background-color: rgba(59, 110, 31, 0.08);
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--green-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-link {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-link:hover {
  background-color: var(--bg-alt);
  color: var(--green-mid);
}

.mobile-cta {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  position: relative;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, var(--bg) 60%, var(--bg-alt) 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-container {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero Left */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-mid);
  background-color: rgba(59, 110, 31, 0.1);
  border: 1px solid rgba(59, 110, 31, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

#hero h1 {
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.hero-accent {
  color: var(--green-mid);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hero Right */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--green-mid) 0%, var(--green-dark) 60%, #2a1a08 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-badge-float {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.badge-years {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Hero Divider */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
#tjanster {
  background-color: var(--bg);
}

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

.service-card {
  background: var(--white);
  border: 1px solid rgba(59, 110, 31, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--transition), transform var(--transition), border-top-color var(--transition);
  border-top: 3px solid transparent;
}

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

.service-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(59, 110, 31, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-top: 0.25rem;
}

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

.service-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
  background-color: rgba(107, 158, 58, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#om-oss {
  background-color: var(--bg-alt);
}

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

.about-image-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.about-accent-bar {
  position: absolute;
  left: -16px;
  top: 10%;
  bottom: 10%;
  width: 4px;
  background: linear-gradient(to bottom, var(--green-light), var(--green-mid));
  border-radius: 4px;
  z-index: 1;
}

.about-img {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--green-mid) 0%, var(--green-dark) 70%, #1a0e05 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
}

.about-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text-col .section-label {
  width: fit-content;
}

.about-text-col h2 {
  color: var(--green-dark);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(59, 110, 31, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   PROCESS SECTION
   ============================================= */
#process {
  background-color: var(--white);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 110, 31, 0.3);
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.process-connector {
  flex: 0 0 auto;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--green-light), var(--green-mid));
  margin-top: 26px;
  opacity: 0.4;
  border-radius: 2px;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
#galleri {
  background-color: var(--bg);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.gallery-img {
  height: clamp(400px, 65vw, 680px);
  aspect-ratio: unset;
}

/* Show full image without cropping — gradient shows around portrait photos */
.gallery-img .real-img {
  object-fit: contain;
  padding: 0.5rem;
}

.gallery-1 { background: linear-gradient(145deg, #2d5a1b 0%, #1a3a0d 60%, #3d2010 100%); }
.gallery-2 { background: linear-gradient(145deg, #4a7a28 0%, #2a4d15 50%, #1a0e05 100%); }
.gallery-3 { background: linear-gradient(145deg, #7a5a20 0%, #4a3810 50%, #2a2010 100%); }
.gallery-4 { background: linear-gradient(145deg, #1a4d20 0%, #0d2d10 50%, #2d1a08 100%); }
.gallery-5 { background: linear-gradient(145deg, #3d6e25 0%, #25450f 60%, #8a4a1a 100%); }
.gallery-6 { background: linear-gradient(145deg, #1a4a2a 0%, #0d2d18 50%, #3d2a10 100%); }
.gallery-7 { background: linear-gradient(145deg, #4a6a1a 0%, #2d4510 50%, #1a2d08 100%); }

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--green-mid);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(59, 110, 31, 0.25);
  transition: background-color var(--transition), transform var(--transition), width var(--transition);
  cursor: pointer;
  padding: 0;
}

.carousel-dots .dot.active {
  background-color: var(--green-mid);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   TESTIMONIAL SECTION
   ============================================= */
#omdome {
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.quote-mark {
  opacity: 0.6;
}

.stars {
  font-size: 1.5rem;
  color: #D4A017;
  letter-spacing: 0.1em;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.6;
  quotes: none;
}

cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#kontakt {
  background-color: var(--bg);
}

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

/* Form */
.contact-form-col form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--white);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(59, 110, 31, 0.12);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(90, 90, 74, 0.5);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  background-color: rgba(107, 158, 58, 0.1);
  border: 1px solid rgba(107, 158, 58, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-mid);
  margin-top: 0.25rem;
}

/* Contact Card */
.contact-card {
  background: var(--white);
  border: 1px solid rgba(59, 110, 31, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(59, 110, 31, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(59, 110, 31, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

a.contact-value:hover {
  color: var(--green-mid);
}

.contact-divider {
  height: 1px;
  background: rgba(59, 110, 31, 0.1);
  margin: 0.25rem 0;
}

.contact-highlight {
  background: linear-gradient(135deg, rgba(107, 158, 58, 0.1), rgba(59, 110, 31, 0.06));
  border: 1px solid rgba(107, 158, 58, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.contact-highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--green-dark);
  margin-bottom: 0.3rem;
}

.contact-highlight p {
  font-size: 0.85rem;
  margin: 0;
}

.contact-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
  background-color: rgba(107, 158, 58, 0.1);
  border: 1px solid rgba(107, 158, 58, 0.25);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background-color: var(--green-dark);
  color: rgba(255,255,255,0.85);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

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

.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  display: block;
  /* Turns the dark logo white for the dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-contact-quick a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

/* Facebook link in footer */
.footer-social {
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1rem 0.45rem 0.7rem;
  border-radius: var(--radius-full);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.social-icon:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--white);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-info li svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-info a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-info a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  section {
    padding: 3.5rem 0;
  }

  /* Nav */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 4rem;
    gap: 3rem;
    text-align: center;
  }

  .hero-left {
    align-items: center;
    order: 1;
  }

  .hero-right {
    order: 0;
  }

  .hero-desc {
    text-align: center;
  }

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

  .hero-image-wrap {
    max-width: 360px;
  }

  .hero-badge-float {
    bottom: -1rem;
    left: -0.75rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-col {
    order: 0;
  }

  .about-accent-bar {
    left: -10px;
  }

  .about-img {
    max-height: 320px;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Process */
  .process-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 1.5rem 0;
    gap: 1.25rem;
  }

  .process-connector {
    width: 2px;
    height: 24px;
    margin: 0 0 0 25px;
    background: linear-gradient(to bottom, var(--green-light), var(--green-mid));
    align-self: stretch;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

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

/* =============================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .carousel-prev,
  .carousel-next {
    width: 38px;
    height: 38px;
  }
}
