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

:root {
  --primary: #0d9488;      /* Teal */
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --accent: #f59e0b;       /* Amber for "cheap" energy */
  --dark: #134e4a;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f0fdfa;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(13, 148, 136, 0.12);
  --shadow-lg: 0 10px 40px rgba(13, 148, 136, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

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

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-nav:hover {
  background: var(--primary-dark);
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

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

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

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

.hero-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

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

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all 0.25s ease;
}

.price-card:hover {
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.price-card > p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
}

.price-card li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== About ===== */
.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.about-stats div {
  display: flex;
  flex-direction: column;
}

.about-stats strong {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.about-stats span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Quote Form ===== */
.quote-form {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-success {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.form-success h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #ccfbf1;
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer .logo {
  color: white;
  margin-bottom: 12px;
}

.footer .logo span {
  color: var(--primary-light);
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
}

.footer-contact p {
  margin-bottom: 8px;
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 70px;
  }

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

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 24px 20px;
  }

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

  .price-card.featured {
    transform: none;
  }

  .about-stats {
    gap: 20px;
  }
}

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

/* ===== Photo Banner ===== */
.photo-banner {
  padding: 0;
  background: var(--bg-alt);
}

.photo-banner .container {
  padding: 0;
  max-width: 100%;
}

.banner-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  text-align: center;
}

/* ===== About Grid ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.section-title.left {
  text-align: left;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.phone-link {
  color: var(--primary);
  font-weight: 600;
}

.phone-link:hover {
  text-decoration: underline;
}

.form-note a {
  color: var(--primary);
  font-weight: 500;
}

/* ===== Mobile adjustments for new sections ===== */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title.left {
    text-align: center;
  }

  .banner-img {
    max-height: 260px;
  }

  .gallery-item img {
    height: 200px;
  }
}
