/* ==========================================================================
   ORM Riegos - Design System & Custom Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Typography
   -------------------------------------------------------------------------- */
:root {
  /* HSL Color System */
  --primary-green: hsl(152, 60%, 15%);     /* Deep Forest Green */
  --primary-green-light: hsl(152, 50%, 25%);
  --accent-water: #0ea5e9;                  /* Sky/Aqua Blue */
  --accent-water-dark: #0284c7;
  --accent-water-light: #e0f2fe;
  
  --text-dark: hsl(210, 24%, 16%);          /* Sleek charcoal */
  --text-muted: hsl(210, 12%, 46%);         /* Slate grey */
  --text-light: hsl(0, 0%, 98%);
  
  --bg-light: hsl(150, 12%, 97%);          /* Warm clean grey */
  --bg-white: #ffffff;
  --bg-light-blue: hsl(198, 30%, 98%);
  
  /* System Constants */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 10px 30px rgba(11, 58, 35, 0.08);
  --box-shadow-lg: 0 20px 40px rgba(11, 58, 35, 0.12);
  --box-shadow-blue: 0 10px 30px rgba(14, 165, 233, 0.15);
}

/* --------------------------------------------------------------------------
   2. Reset & Core Page Base
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for sticky header */
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1.25;
}

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

/* --------------------------------------------------------------------------
   3. Common Components: Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-large {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-water), var(--accent-water-dark));
  color: var(--text-light);
  box-shadow: var(--box-shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.15);
  border: none;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
  background: linear-gradient(135deg, #2ee06c, #149c8c);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-blue {
  background: linear-gradient(135deg, var(--accent-water), var(--accent-water-dark));
  box-shadow: var(--box-shadow-blue);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--border-radius-sm);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-water);
  background-color: var(--accent-water-light);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.section-badge.badge-blue {
  color: var(--accent-water-light);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-badge.badge-green {
  color: var(--primary-green-light);
  background-color: hsl(152, 40%, 92%);
}

/* --------------------------------------------------------------------------
   4. Floating Instagram CTA
   -------------------------------------------------------------------------- */
.instagram-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.35);
  animation: breathing-insta 3s infinite ease-in-out;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.instagram-floating:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(214, 36, 159, 0.5);
}

.instagram-floating svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes breathing-insta {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(214, 36, 159, 0.35), 0 0 0 0px rgba(214, 36, 159, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(214, 36, 159, 0.45), 0 0 0 12px rgba(214, 36, 159, 0);
  }
}

/* --------------------------------------------------------------------------
   5. Header Navigation Style
   -------------------------------------------------------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 58, 35, 0.05);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow-sm);
  border-bottom-color: rgba(11, 58, 35, 0.08);
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-green);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-drop-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.logo:hover .logo-drop-icon {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(89, 165, 93, 0.25));
}

.logo-accent {
  color: #25d366;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.85;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-water);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent-water);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-green);
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition-smooth);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hamburger Open States */
.nav-toggle.open .hamburger {
  background-color: transparent;
}
.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Component 1: Hero Banner
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(11, 58, 35, 0.45) 0%, rgba(11, 58, 35, 0.85) 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  animation: hero-fade-in 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-water-light);
  background-color: rgba(14, 165, 233, 0.25);
  border: 1px solid rgba(14, 165, 233, 0.35);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
}

.hero-title {
  font-size: 3.5rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. Component 2: Services Grid
   -------------------------------------------------------------------------- */
.services-section {
  padding: 7rem 0;
  background-color: var(--bg-white);
}

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

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.service-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(11, 58, 35, 0.03);
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.15);
  box-shadow: var(--box-shadow-md), 0 0 20px rgba(14, 165, 233, 0.03);
  background-color: #ffffff;
}

.service-icon-wrapper {
  color: var(--accent-water);
  background-color: rgba(14, 165, 233, 0.08);
  padding: 0.8rem;
  border-radius: var(--border-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  color: var(--bg-white);
  background-color: var(--accent-water);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
}

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

/* scope targets */
.scope-container {
  background-color: var(--bg-light);
  border: 1px dashed rgba(11, 58, 35, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
}

.scope-container h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.scope-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.scope-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.scope-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

.scope-icon {
  font-size: 2rem;
}

.scope-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-green);
}

.scope-item small {
  color: var(--accent-water-dark);
  font-size: 0.8rem;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Component 3: Dynamic Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
  position: relative;
  overflow: hidden;
}

.white-text h2 {
  color: #ffffff;
}

.white-text .section-description {
  color: rgba(255, 255, 255, 0.75);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.calc-inputs-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--box-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field-label-row label, .block-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.field-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-water-dark);
  background-color: var(--accent-water-light);
  padding: 0.15rem 0.75rem;
  border-radius: 6px;
}

/* Styled Sliders */
.styled-slider-blue {
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.styled-slider-blue::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-water);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15), 0 0 5px var(--accent-water);
  cursor: pointer;
  transition: transform 0.1s;
}

.styled-slider-blue::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.styled-slider-blue::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--accent-water);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15), 0 0 5px var(--accent-water);
  cursor: pointer;
}

.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Styled Select */
.styled-select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 1.2rem;
  border-radius: var(--border-radius-md);
  border: 2px solid #e2e8f0;
  background-color: #f8fafc;
  outline: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.styled-select:focus {
  border-color: var(--accent-water);
  background-color: #ffffff;
}

/* Output Card */
.calc-outputs-card {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--box-shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  color: #ffffff;
}

.calc-outputs-card .calc-card-title {
  color: #ffffff;
}

.outputs-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.output-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.output-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.output-icon {
  font-size: 2.2rem;
}

.output-info {
  display: flex;
  flex-direction: column;
}

.output-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.output-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. Component 4: Project Gallery Grid
   -------------------------------------------------------------------------- */
.projects-section {
  padding: 7rem 0;
  background-color: var(--bg-light);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid rgba(11, 58, 35, 0.08);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-green);
  padding: 0.6rem 1.4rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.2);
}

.filter-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--box-shadow-md);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-lg);
}

.project-img-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(11, 58, 35, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
}

.project-headline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.project-details {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.project-details span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.empty-projects-state {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  border: 1px dashed rgba(11, 58, 35, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.empty-icon-wrapper {
  color: var(--primary-green);
  background-color: var(--primary-green-light);
  color: white;
  padding: 1.5rem;
  border-radius: 50%;
  box-shadow: var(--box-shadow-sm);
}

.empty-projects-state h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
}

.empty-projects-state p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   10. Component 5: SEO Benefits Grid
   -------------------------------------------------------------------------- */
.benefits-section {
  padding: 7rem 0;
  background-color: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.benefit-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(11, 58, 35, 0.03);
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 58, 35, 0.08);
  box-shadow: var(--box-shadow-md);
  background-color: #ffffff;
}

.benefit-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.benefit-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Component 6: Contact & Leads Form
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 7rem 0;
  background-color: var(--bg-white);
  border-top: 1px solid rgba(11, 58, 35, 0.05);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-sidebar {
  background-color: var(--primary-green);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--box-shadow-lg);
}

.contact-sidebar h3 {
  color: #ffffff;
  font-size: 1.6rem;
}

.sidebar-intro {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  transition: var(--transition-smooth);
}

.info-icon svg.stroke-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item strong {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.info-item a:hover {
  color: var(--accent-water);
}

.info-item span {
  font-size: 1.05rem;
  font-weight: 500;
}

.sidebar-footer-card {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer-card h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.sidebar-footer-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Form Styles */
.contact-form-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: var(--box-shadow-md);
  position: relative;
  overflow: hidden;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.styled-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

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

.form-group input, .styled-select-form, .form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  background-color: #f8fafc;
  outline: none;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus, .styled-select-form:focus, .form-group textarea:focus {
  border-color: var(--accent-water);
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.03);
}

.styled-select-form {
  cursor: pointer;
}

/* Success Box Styles */
.form-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
  min-height: 350px;
  animation: success-fade-in 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes success-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  background-color: #22c55e;
  color: #ffffff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.form-success-box h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
}

.form-success-box p {
  color: var(--text-muted);
  max-width: 450px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Footer Styling
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.footer-links-group h4, .footer-legal h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links-group a:hover {
  color: var(--accent-water);
  padding-left: 4px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-legal p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   13. Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 1.5rem;
    gap: 3rem;
    transition: var(--transition-smooth);
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .nav-link {
    font-size: 1.2rem;
  }
  .btn-nav {
    width: 100%;
    max-width: 280px;
  }
  
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .calc-inputs-card, .calc-outputs-card, .contact-form-card, .contact-sidebar {
    padding: 2rem 1.5rem;
  }
}
