.section-full {
  background: #ffffff;
  padding: 80px 20px;
}

.section-full .container {
  max-width: 900px;
  margin: auto;
}

.section-full h2 {
  font-size: 30px;
  margin: 40px 0 16px;
  color: #0f172a;
}

.section-full p {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 16px;
}
/* Page Header Section */
.page-header {
  text-align: center;
  padding: 48px 0 24px 0;
}
.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.2rem;
  margin-bottom: 0;
}
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-weight: bold;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  padding: 16px 40px;
  /* background: linear-gradient(90deg,
      #2F6B3C 0%,
      #1F4D2B 45%,
      #163A22 100%); */
  /* background: linear-gradient(90deg, #3A7F4F, #1F4D2B); */
  /* background: linear-gradient(90deg, #355F3E, #132E1C); */
  background: linear-gradient(90deg, #4caf73, #1e4028);
}

/* Section Styles */
.section-full {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 20px;
}

.section-white {
  background: #fff;
}

.navbar-brand img {
  height: 128px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(140, 255, 180, 0.35));
  /* filter: drop-shadow(0 0 6px rgba(140, 255, 180, 0.35)); */
}

.navbar-logo-link {
  display: inline-flex;
  align-items: center;
}

/* Links */
.navbar-links {
  display: flex;
  justify-content: center;
  gap: 56px;
}

.navbar-links a {
  color: #e6f4ea;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

/* Hover effect */
.navbar-center a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #7cff9e;
  transition: width 0.3s ease;
  /* Removed full width and flex styles */
}

/* .navbar-links a:hover {
  color: #7CFF9E;
} */

/* Contact button */
.navbar-links .nav-cta {
  padding: 10px 18px;
  background: #2ecc71;
  color: #0f172a;
  border-radius: 999px;
  font-weight: 600;
}

.navbar-links .nav-cta:hover {
  background: #22c55e;
  color: #0f172a;
}

/* Scroll shadow */
.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Hero Section */
.hero {
  background: url('images/solar-panels-bg.jpg') no-repeat center/cover;
  color: white;
  text-align: center;
  padding: 120px 220px;
  width: 100vw;
  height: 100vh;
  color: #0f172a;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  padding: 14px 28px;
  background-color: #256628;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;

  &:hover {
    background-color: #2ba63d;
  }
}

.btn-primary {
  background-color: #f9a825;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
}

.btn-primary:hover {
  background-color: #e69500;
}

/* About Section */
#about {
  padding: 20px 0;
  text-align: center;
  /* background-color: #f4f4f4; */
  background-color: #f5f7fa;
  /* width: 100vw;
  height: 100vh; */
}

#about p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 20px auto;
}

/* Services Section */
#services {
  padding: 0 20px;
  text-align: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical centering */
  align-items: center;
  /* horizontal centering */
}

.service-blocks {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.service {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 30%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 100%;
  height: auto;
  animation: spin 20s linear infinite;
}

/* @keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.service-icon img {
  will-change: transform;
}

@media (max-width: 768px) {
  .service-icon img {
    animation-duration: 30s;
  }
} */

.service-icon img {
  transition: transform 0.6s ease;
}

.service:hover .service-icon img {
  transform: rotate(360deg);
}

/* Projects Section */
#projects {
  padding: 40px 20px;
  background-color: #e9e9e9;
  text-align: center;
  width: 100vw;
  height: 100vh;
}

.projects {
  padding: 80px 20px;
  text-align: center;
}

.projects h2 {
  margin-bottom: 32px;
  font-size: 2rem;
}

.projects-swiper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.projects-swiper .swiper-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
  color: #4caf73;
}

.projects-swiper .swiper-pagination-bullet-active {
  background: #4caf73;
}

@media (max-width: 768px) {
  .projects-swiper .swiper-slide img {
    height: 260px;
  }
}

.casa-verde {
  background: #ffffff;
  padding: 80px 20px;
}

.casa-verde .container {
  max-width: 900px;
  margin: auto;
}

.casa-verde h2 {
  font-size: 30px;
  margin: 40px 0 16px;
  color: #0f172a;
}

.casa-verde p {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 16px;
}

.cv-list {
  padding-left: 20px;
  margin-bottom: 24px;
}

.cv-list li {
  margin-bottom: 10px;
  color: #4b5563;
}

.cv-config {
  padding-left: 22px;
  margin-bottom: 24px;
}

.cv-config li {
  margin-bottom: 14px;
  line-height: 1.6;
}

.cv-warning {
  background: #fff7ed;
  border-left: 4px solid #f9a825;
  padding: 14px 18px;
  font-weight: 600;
  margin: 30px 0;
}

.cv-divider {
  margin: 60px 0;
  border: none;
  height: 1px;
  background: #e5e7eb;
}

.cv-cta {
  text-align: center;
  margin: 30px 0 10px;
}

/* Contact Section */
#contact {
  padding: 40px 20px;
  text-align: center;
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
}

footer a {
  color: #fff;
  font-size: 1rem;
  margin: 0 15px;
}

footer div {
  flex: 1;
}

.navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section {
  scroll-margin-top: 150px;
}

header {
  scroll-margin-top: 150px;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 80px;
  }

  header {
    scroll-margin-top: 80px;
  }
}

.section-services {
  background-color: #f5f7fa;
  padding: 20px;
}

.section-services .container {
  max-width: 1100px;
  margin: auto;
}

.section-services h1 {
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 10px;
}

.section-services .subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-services h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #f9a825;
  margin: 18px auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.service-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f172a;
}

.service-card h2::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #f9a825;
  border-radius: 50%;
  margin-right: 10px;
}

.service-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4b5563;
}

.trust-badge {
  display: inline-block;
  margin: 0 auto 30px;
  padding: 10px 20px;
  background: rgba(249, 168, 37, 0.1);
  color: #9a6700;
  border: 1px solid #f9a825;
  border-radius: 30px;
  font-weight: 600;
}

.icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 24px;
  color: #f9a825;
  background: rgba(249, 168, 37, 0.12);
}

.service-card:hover .icon {
  background: #f9a825;
  color: #0f172a;
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal box */
.modal {
  background: #ffffff;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  border-radius: 16px;
  padding: 30px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
}

/* Content */
.modal-content h2 {
  margin-bottom: 16px;
  color: #0f172a;
}

.modal-content p,
.modal-content li {
  color: #374151;
  line-height: 1.6;
}

.modal-content ul {
  padding-left: 20px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .modal {
    width: 95%;
    padding: 22px;
  }
}

.modal-intro {
  font-size: 16px;
  color: #374151;
  margin-bottom: 24px;
}

.modal-section {
  margin-bottom: 28px;
}

.modal-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.modal-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-section li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #4b5563;
}

.modal-section li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #f9a825;
  font-size: 14px;
}

.modal-highlight {
  background: #f8fafc;
  border-left: 4px solid #f9a825;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 500;
  color: #0f172a;
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
    height: auto;
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
  }

  .navbar-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .navbar-brand img {
    height: 42px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 22px;
  }
}

@media (max-width: 768px) {
  .section-services h1 {
    font-size: 26px;
  }

  .section-services .subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .service-card h2 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 15px;
  }

  .service-blocks {
    flex-direction: column;
    gap: 20px;
  }

  .service-blocks .service {
    width: 100%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 20px 20px;
  }

  #about {
    padding: 40px 20px;
  }

  #services {
    padding-top: 0;
  }
}

.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }

  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #1e4028, #132e1c);
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .navbar-links a {
    text-align: center;
    font-size: 18px;
  }

  .navbar-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    color: #e6f4ea;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
    height: auto;
    /* <-- change from 100vh */
    min-height: 70vh;
    /* optional: keeps hero tall but flexible */
  }

  #services {
    height: auto;
    /* let content expand */
  }
}

@media (max-width: 768px) {
  #services {
    padding: 60px 20px;
    /* extra top/bottom space */
    min-height: auto;
    /* let content expand */
  }

  #casaverde {
    padding: 60px 20px;
    /* mobile padding */
  }
}

/* Contact Container */
.contact-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-container h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.contact-container p {
  color: #374151;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Form */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f9a825;
  box-shadow: 0 0 6px rgba(249, 168, 37, 0.3);
}

/* Checkbox */
.checkbox-group {
  text-align: left;
}

.checkbox-group input[type='checkbox'] {
  margin-right: 8px;
}

/* Submit Button */
#contactForm .btn {
  margin-top: 10px;
}

/* Form message */
.form-message {
  margin-top: 12px;
  font-weight: 500;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* Form message as banner */
.form-message {
  display: none;
  /* hidden by default */
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  margin-top: 12px;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Success banner */
.form-message.success {
  background-color: #d1fae5;
  /* light green */
  border-left: 4px solid #10b981;
  /* green accent */
  color: #065f46;
  transform: translateY(-10px);
}

/* Error banner */
.form-message.error {
  background-color: #fee2e2;
  /* light red */
  border-left: 4px solid #ef4444;
  /* red accent */
  color: #b91c1c;
  transform: translateY(-10px);
}

/* Show banner */
.form-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Contact section layout */
#contact {
  background-color: #f5f7fa;
  /* same as About / Services */
  padding: 80px 20px;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

/* Left: contact info */
.contact-info h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #0f172a;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 1.05rem;
  color: #374151;
}

.info-item .icon {
  font-size: 22px;
  color: #f9a825;
  min-width: 24px;
}

/* Right: form */
.contact-container {
  margin: 0;
  padding: 0;
  text-align: left;
}

.contact-container h2 {
  font-size: 2rem;
  color: #0f172a;
}

/* Inputs stay light */
.contact-container input,
.contact-container textarea {
  background: #fff;
}

/* Mobile */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .info-item {
    justify-content: center;
  }
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f9a825;
  font-weight: 500;
  text-decoration: none;
}

.pdf-link:hover {
  color: #e69500;
  text-decoration: underline;
}

.pdf-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 900px;
  width: calc(100% - 40px);
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
}

.cookie-banner a {
  color: #f9a825;
  font-weight: 500;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.cookie-btn.primary {
  background: #f9a825;
  color: #fff;
  font-weight: 600;
}

.cookie-btn.primary:hover {
  background: #e69500;
}

.cookie-btn.secondary {
  background: #e5e7eb;
  color: #111827;
}

.cookie-btn.secondary:hover {
  background: #d1d5db;
}

/* Tablet & all phones */
@media (max-width: 768px) {
  .cookie-banner {
    /* anchor to viewport edges with safe-area padding */
    left: max(10px, env(safe-area-inset-left, 10px));
    right: max(10px, env(safe-area-inset-right, 10px));
    width: auto;
    max-width: none;
    transform: none;

    flex-direction: column;
    align-items: stretch;
    text-align: center;

    padding: 12px 14px;
    gap: 10px;
    border-radius: 12px;
    /* respect iOS home indicator (Pro Max etc.) */
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
  }

  .cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* Two buttons side-by-side at equal width on all mobile widths */
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }

  .cookie-actions .cookie-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    min-height: 40px;
  }

  .cookie-banner .cookie-link {
    display: inline;
    margin-left: 4px;
  }
}

/* Very narrow phones (e.g. older iPhone SE @ 320px) — give buttons more room */
@media (max-width: 360px) {
  .cookie-banner {
    left: 6px;
    right: 6px;
    padding: 10px 12px;
    gap: 8px;
  }

  .cookie-banner p {
    font-size: 0.85rem;
  }

  .cookie-actions .cookie-btn {
    padding: 9px 8px;
    font-size: 0.9rem;
  }
}

/* Cookie link */
.cookie-link {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  color: #f9a825;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}

/* Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Modal box */
.cookie-modal {
  background: #ffffff;
  width: 90%;
  max-width: 520px;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.cookie-modal h2 {
  margin-bottom: 10px;
  color: #0f172a;
}

.cookie-modal p {
  color: #4b5563;
  margin-bottom: 20px;
}

/* Options */
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
}

.cookie-option p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

/* Close */
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* Actions */
.cookie-modal-actions {
  margin-top: 24px;
  text-align: right;
}

/* Cookie modal — mobile */
@media (max-width: 768px) {
  .cookie-modal {
    width: calc(100% - 24px);
    padding: 22px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .cookie-modal h2 {
    font-size: 1.25rem;
  }

  .cookie-modal p {
    font-size: 0.95rem;
  }

  .cookie-option {
    gap: 14px;
    padding: 12px 0;
  }

  .cookie-option strong {
    font-size: 0.95rem;
  }

  .cookie-modal-actions {
    margin-top: 18px;
    text-align: center;
  }

  .cookie-modal-actions .cookie-btn {
    width: 100%;
    padding: 12px 18px;
    min-height: 44px;
    font-size: 1rem;
  }

  .cookie-modal-close {
    font-size: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 6px;
    right: 8px;
  }
}

footer {
  background-color: #222;
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Right column */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* ⬅ aligns content to the right */
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #fff;
  font-size: 1rem;
}

/* Facebook */
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-social a:hover {
  color: #1877f2;
}

.facebook-icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-right {
    align-items: center;
  }
}

/* NAVBAR + FOOTER MENU LINKS */
.navbar-links a,
.footer-links a {
  position: relative;
  transition: color 0.25s ease;
}

/* underline */
.navbar-links a::after,
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #f9a825; /* brand gold */
  transition: width 0.3s ease;
}

/* hover */
.navbar-links a:hover,
.footer-links a:hover {
  color: #f9a825;
}

.navbar-links a:hover::after,
.footer-links a:hover::after {
  width: 100%;
}

/* =========================================
   Inner pages: shared content blocks
   ========================================= */

/* Lists in section-full / section-services */
.section-full ul,
.section-full ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.section-full li {
  margin-bottom: 8px;
  color: #374151;
  line-height: 1.7;
}

.section-services .service-card ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.section-services .service-card li {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.6;
}

.section-services .service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #0f172a;
}

/* FAQ items */
.faq-item {
  background: #f8fafc;
  border-left: 4px solid #f9a825;
  padding: 18px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.faq-item p {
  margin: 0;
}

/* =========================================
   Blog page
   ========================================= */
.blog {
  background-color: #f5f7fa;
  padding: 40px 20px 80px;
}

.blog .container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-article {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.blog-article-header {
  margin-bottom: 14px;
}

.blog-article-meta {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.blog-article h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.blog-article p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 18px;
}

.blog-article-link {
  display: inline-block;
  color: #f9a825;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.blog-article-link:hover {
  color: #e69500;
}

/* =========================================
   Mobile: <= 768px
   ========================================= */
@media (max-width: 768px) {
  /* Page header */
  .page-header {
    padding: 32px 20px 16px;
  }

  .page-header h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .page-header p {
    font-size: 1rem;
  }

  /* Section-full: drop full-viewport sizing on phones */
  .section-full {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 32px 16px;
  }

  .section-full .container {
    padding: 0;
  }

  .section-full h2 {
    font-size: 22px;
    margin: 16px 0 12px;
  }

  .section-full p,
  .section-full li {
    font-size: 15px;
  }

  .section-full ul,
  .section-full ol {
    padding-left: 20px;
  }

  /* Services on inner pages */
  .section-services {
    padding: 16px;
  }

  .section-services .service-card h3 {
    font-size: 1.1rem;
  }

  .section-services .service-card ul {
    padding-left: 20px;
  }

  /* FAQ */
  .faq-item {
    padding: 14px 16px;
  }

  .faq-item h3 {
    font-size: 1rem;
  }

  /* Blog page on mobile */
  .blog {
    padding: 24px 16px 56px;
  }

  .blog .container {
    gap: 20px;
  }

  .blog-article {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .blog-article h2 {
    font-size: 1.25rem;
  }

  .blog-article p {
    font-size: 0.95rem;
  }

  /* Casa verde page on mobile */
  .casa-verde {
    padding: 32px 16px;
  }

  .casa-verde h2 {
    font-size: 1.5rem;
  }

  .cv-warning {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  /* Contact info text doesn't overflow on small screens */
  .contact-info h2,
  .contact-container h2 {
    font-size: 1.6rem;
  }

  /* Trust badge wraps cleanly */
  .trust-badge {
    font-size: 0.85rem;
    padding: 8px 14px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
  }
}

/* =========================================
   Small phones: <= 480px
   ========================================= */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }

  .navbar-brand img {
    height: 56px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .section-services h1 {
    font-size: 22px;
  }

  .service-card {
    padding: 18px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

/* ===== Componente noi: promo, pachete, FAQ, portofoliu, parteneri ===== */
.vm-section { padding: 56px 20px; }
.vm-section .container { max-width: 1100px; margin: 0 auto; }
.vm-section h2 { text-align: center; color: #1e4028; margin-bottom: 24px; }
.vm-sub { text-align: center; max-width: 640px; margin: -8px auto 28px; color: #555; }
.vm-promo { background: linear-gradient(135deg, #1e4028, #256628); color: #fff; }
.vm-promo h2 { color: #fff; text-align: left; }
.vm-promo-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.vm-badge { display: inline-block; background: #f9a825; color: #fff; font-weight: 600; padding: 4px 12px; border-radius: 999px; font-size: .85rem; margin-bottom: 12px; }
.vm-calc { background: #fff; color: #1e4028; border-radius: 12px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.vm-calc input[type=range] { width: 100%; margin: 14px 0 18px; accent-color: #256628; }
.vm-calc-out { display: flex; gap: 16px; margin-bottom: 18px; }
.vm-calc-out > div { flex: 1; background: #f1f8f2; border-radius: 8px; padding: 12px; }
.vm-calc-out small, .vm-disc { display: block; color: #666; font-size: .8rem; }
.vm-calc-out strong { font-size: 1.15rem; }
.vm-disc { margin-top: 10px; }
.vm-pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.vm-pack { background: #fff; border: 1px solid #dfe8e1; border-radius: 12px; padding: 28px 24px; text-align: center; }
.vm-pack.featured { border: 2px solid #f9a825; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.vm-pack h3 { margin: 0 0 4px; }
.vm-phase { color: #666; font-size: .9rem; }
.vm-price { font-size: 1.5rem; font-weight: 700; color: #256628; margin: 14px 0; }
.vm-pack ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.vm-pack li { padding: 6px 0 6px 22px; position: relative; }
.vm-pack li::before { content: '✓'; position: absolute; left: 0; color: #2ba63d; font-weight: 700; }
.vm-faq details { background: #fff; border: 1px solid #dfe8e1; border-radius: 8px; margin-bottom: 10px; padding: 14px 18px; }
.vm-faq summary { cursor: pointer; font-weight: 600; color: #1e4028; }
.vm-faq details p { margin: 10px 0 0; color: #444; }
.vm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vm-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; display: block; }
.vm-partners { background: #f6faf7; }
.vm-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; align-items: center; }
.vm-logo { min-width: 120px; height: 48px; display: flex; align-items: center; justify-content: center; opacity: .85; }
.vm-logo img { max-height: 40px; max-width: 130px; }
.vm-logo span { font-weight: 700; color: #4b5d51; letter-spacing: .5px; }
@media (max-width: 800px) { .vm-promo-inner { grid-template-columns: 1fr; } .vm-promo h2 { text-align: center; } }
