/* Green Life Solar Solution — static recreation of Hostinger/Zyro site */
:root {
  --green: #1c9e1c;
  --green-mid: #40a640;
  --green-dark: #336633;
  --green-deep: #003300;
  --green-light: #e6ffcc;
  --text: #0a1015;
  --text-muted: #4a5560;
  --white: #ffffff;
  --gray-bg: #f5f7f5;
  --border: #dadce0;
  --max: 1240px;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Roboto", sans-serif;
  --radius-btn: 50px;
  --shadow: 0 8px 28px rgba(0, 51, 0, 0.12);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 100;
  animation: headerIn 0.55s ease both;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 76px;
  height: auto;
}

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

.nav a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
}

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

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--green-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Home hero — compatible rules (avoid inset/min()/text-wrap in the same blocks as layout) */
.hero-home {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 85vh;
  overflow: hidden;
  color: #ffffff;
  background-color: #07140c;
  background-image: url("../assets/images/unsplash-solar1.jpg");
  background-size: cover;
  background-position: 58% 42%;
  background-repeat: no-repeat;
}

.hero-home .hero-media,
.hero-home .hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero-home .hero-media {
  object-fit: cover;
  object-position: 58% 42%;
  z-index: 0;
  transform: scale(1.06);
  animation: heroKenBurns 18s ease-out both;
}

.hero-home .hero-overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(5, 16, 10, 0.88) 0%, rgba(5, 16, 10, 0.62) 38%, rgba(5, 16, 10, 0.28) 100%);
}

.hero-home .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-home .hero-copy {
  max-width: 640px;
}

.hero-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8f5c8;
}

.hero-home .hero-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: #1c9e1c;
  border-radius: 2px;
}

.hero-home h1,
.hero-home .hero-title {
  color: #ffffff !important;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}

@media (min-width: 900px) {
  .hero-home h1,
  .hero-home .hero-title {
    font-size: 64px;
  }
}

.hero-home .hero-lead {
  max-width: 34rem;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 32px;
}

.hero-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-home a.btn.btn-hero-ghost {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid #ffffff;
}

.hero-home a.btn.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
}

.hero-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-home .hero-stats li {
  flex: 1 1 180px;
  padding: 10px 22px 10px 0;
}

.hero-home .hero-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 4px;
}

.hero-home .hero-stats span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes heroKenBurns {
  from { transform: scale(1.12); }
  to { transform: scale(1.06); }
}

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

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

.section-green {
  background: var(--green-dark);
  color: var(--white);
}

.section-green h2,
.section-green h3,
.section-green p {
  color: var(--white);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.section-green .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

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

.text-center .section-lead {
  margin-inline: auto;
}

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

.about-teaser-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-teaser h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 16px;
}

.about-teaser p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.section-services {
  background: #e8f5e9;
}

.section-services .section-lead {
  margin-inline: auto;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.features-photos {
  text-align: left;
  gap: 32px;
}

.feature-card-photo {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.feature-card-photo:hover {
  transform: none;
}

.feature-card-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  display: block;
}

.feature-card-photo h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1d1e20;
  text-align: left;
}

.feature-card-photo p {
  text-align: left;
  line-height: 1.55;
  color: #5a6169;
}

/* Projects */
.project-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
}

.project-block:nth-child(even) .project-media {
  order: 2;
}

.project-block h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.project-block p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  transition: transform var(--transition), opacity var(--transition);
}

.project-gallery img:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

/* Testimonial */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
}

.testimonial-stars {
  color: #ffcd35;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Image strip / gallery */
.image-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.image-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.cta-banner {
  background: var(--green) center / cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 158, 28, 0.85);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: var(--white);
  padding-top: 64px;
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-brand h3 span {
  display: block;
  color: var(--green-mid);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  margin: 16px 0 24px;
  max-width: 280px;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.socials a:hover {
  background: var(--green);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--green-light);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-contact-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.footer-contact-item a:hover {
  color: var(--green-light);
}

.footer-contact-item span,
.footer-contact-item address {
  font-style: normal;
  margin: 0;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Floating WhatsApp only */
.float-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  transition: transform var(--transition);
}

.float-whatsapp:hover {
  transform: scale(1.08);
}

.float-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--green-dark) center / cover no-repeat;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 51, 0, 0.55), rgba(51, 102, 51, 0.75));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-inline: auto;
  font-size: 1.1rem;
}

/* About page */
.prose {
  max-width: 760px;
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.chairman-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--gray-bg);
  padding: 40px;
  border-radius: 12px;
}

.chairman-block img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.chairman-block h3 {
  margin-bottom: 16px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  padding: 32px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.mv-card h3 {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--gray-bg);
}

.team-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.service-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--green-dark);
}

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

.service-arrow {
  color: var(--green);
  font-weight: 700;
  margin-top: 8px;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 51, 0, 0.14);
}

.product-card-media {
  position: relative;
  background: #f8faf8;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card-media img {
  max-height: 180px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-brand-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 51, 0, 0.08);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.product-specs-list {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 10px 0 0 0;
  font-size: 0.85rem;
  color: #334155;
  border-top: 1px dashed var(--border);
}

.product-specs-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.product-specs-list li svg {
  width: 13px;
  height: 13px;
  fill: var(--green);
  flex-shrink: 0;
}

.product-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-pdf-download {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-pdf-download:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.btn-pdf-download svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.btn-product-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-product-wa:hover {
  background: var(--green-dark);
  color: var(--white);
}

.product-category-section {
  margin-bottom: 56px;
  padding-bottom: 24px;
}

.category-header-banner {
  background: linear-gradient(135deg, #f3f9f3 0%, #e8f5e8 100%);
  border: 1px solid #cce8cc;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.category-header-copy h2 {
  font-size: 1.6rem;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-header-copy p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
  max-width: 750px;
}

.category-header-badge {
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  white-space: nowrap;
}

.subcategory-heading {
  font-size: 1.25rem;
  color: var(--text);
  margin: 36px 0 18px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subcategory-heading span:first-child {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--green-deep);
}

.subcategory-heading span.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 12px;
}

.category-nav-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.category-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 30px;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-nav-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.category-nav-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(28, 158, 28, 0.28);
}

.category-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.guide-box-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.guide-card h4 {
  font-size: 1.05rem;
  color: var(--green-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.brand-trust-section {
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 32px 24px;
  margin-top: 48px;
  text-align: center;
}

.brand-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.brand-pill {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-info-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-bg);
  border-radius: 10px;
}

.info-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.info-card h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.info-card p,
.info-card a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

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

.map-embed {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  height: 450px;
  background: var(--gray-bg);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Calculator */
.calculator-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.calc-options label,
.calc-subtitle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.calc-subtitle {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.calc-options select,
.calc-options input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
}

.calc-row {
  display: grid;
  grid-template-columns: 1.4fr 90px 90px 100px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.calc-row label {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  display: block;
  margin-bottom: 4px;
}

.calc-row input,
.calc-row select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
}

.calc-row .btn-remove {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  height: 42px;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.calc-results {
  margin-top: 28px;
  padding: 24px;
  background: var(--green-light);
  border-radius: 10px;
  display: none;
}

.calc-results.visible {
  display: block;
}

.calc-results h3 {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.calc-results p {
  margin-bottom: 6px;
}

.calc-results strong {
  color: var(--green-deep);
}

.calc-disclaimer,
.calc-tip {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-whatsapp {
  margin-top: 16px;
  display: inline-flex;
}

.calc-whatsapp[hidden] {
  display: none !important;
}

/* Google reviews */
.google-reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.google-rated-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

.google-rated-badge .g {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.google-review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.google-review-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.google-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-review-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-bg);
}

.google-review-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.google-review-stars {
  color: #fbbc04;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.google-review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.google-review-link {
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.google-review-link:hover {
  text-decoration: underline;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

/* Project catalog */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  color: var(--text);
}

.filter-bar button.is-active,
.filter-bar button:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

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

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.project-card-media {
  position: relative;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.project-photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 51, 0, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
}

.project-card-body {
  padding: 18px;
}

.project-card-body .badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.project-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.project-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.project-card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}

.section-cta-row {
  text-align: center;
  margin-top: 28px;
}

/* Project detail */
.project-detail-back {
  margin-bottom: 20px;
}

.project-detail-back a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.project-detail-back a:hover {
  text-decoration: underline;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}

.project-detail-hero > img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.project-detail-hero-copy .badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.project-detail-hero-copy h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  color: var(--green-dark);
}

.project-detail-location {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 14px;
}

.project-detail-hero-copy > p:last-of-type {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-detail-gallery-wrap h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: var(--green-dark);
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.project-gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.04);
}

.project-detail-missing {
  text-align: center;
  padding: 60px 16px;
}

@media (max-width: 900px) {
  .project-detail-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-teaser img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#lightbox[hidden] {
  display: none !important;
}

#lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* GMB */
.gmb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.gmb-card {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.gmb-card h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.gmb-card p {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Two column content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.feature-card-photo:hover img {
  transform: scale(1.03);
}

.feature-card-photo img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card.is-visible,
.google-review-card.is-visible,
.product-card.is-visible,
.team-card.is-visible,
.feature-card-photo.is-visible {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card.is-visible:hover,
.google-review-card.is-visible:hover,
.product-card.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 51, 0, 0.14);
}

.float-whatsapp {
  animation: floatPulse 2.4s ease-in-out infinite;
}

.btn {
  transition: background var(--transition), color var(--transition), transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 51, 0, 0.18);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .float-whatsapp {
    animation: none;
  }

  .hero-media {
    animation: none;
    transform: none;
  }

  .hero-home .hero-media {
    animation: none;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .features,
  .team-grid,
  .products-grid,
  .google-reviews-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .gallery-teaser {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc-options {
    grid-template-columns: 1fr 1fr;
  }

  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .image-strip img {
    height: 220px;
  }
}

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 20px;
  }

  .nav .btn {
    margin: 8px 20px 0;
  }

  .logo img {
    width: 55px;
  }

  .header-inner {
    padding: 16px;
  }

  .about-teaser,
  .project-block,
  .chairman-block,
  .mission-vision,
  .contact-layout,
  .split,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-block:nth-child(even) .project-media {
    order: 0;
  }

  .features,
  .team-grid,
  .products-grid,
  .project-gallery,
  .footer-grid,
  .google-reviews-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .gallery-teaser,
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-options,
  .calc-row {
    grid-template-columns: 1fr 1fr;
  }

  .calc-row .btn-remove {
    grid-column: 1 / -1;
  }

  .service-item {
    grid-template-columns: 80px 1fr;
  }

  .service-item img {
    width: 80px;
    height: 80px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-home {
    min-height: 78vh;
  }

  .hero-home .hero-inner {
    padding: 48px 16px 18px;
    gap: 28px;
  }

  .hero-home h1,
  .hero-home .hero-title {
    font-size: 32px;
  }

  .hero-home .hero-stats li {
    padding: 8px 12px 8px 0;
  }

  .hero-home .hero-stats strong {
    font-size: 0.92rem;
  }

  .hero-home .hero-stats span {
    font-size: 0.78rem;
  }

  .hero-home .hero-media {
    object-position: 72% 40%;
  }

  .float-whatsapp {
    width: 50px;
    height: 50px;
  }
}

/* ─── Products page — responsive additions ────────────────────────────────── */

/* Fix: elements with [hidden] must always be fully removed from layout,
   even when the reveal-scale animation sets opacity: 0 on the card */
[hidden].reveal-scale,
[hidden].reveal,
[hidden].reveal-left,
[hidden].reveal-right {
  display: none !important;
}

/* Category nav bar wraps nicely on tablets and phones */
@media (max-width: 768px) {
  .category-nav-bar {
    gap: 8px;
    padding: 0 4px;
  }

  .category-nav-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
    border-radius: 20px;
  }

  .category-header-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 14px;
  }

  .category-header-copy h2 {
    font-size: 1.25rem;
  }

  .category-header-badge {
    align-self: flex-start;
  }

  .subcategory-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 1.05rem;
  }

  .guide-box-wrap {
    grid-template-columns: 1fr;
  }

  .brand-trust-section {
    padding: 22px 14px;
  }

  .product-category-section {
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .category-nav-btn {
    padding: 8px 12px;
    font-size: 0.77rem;
  }

  .category-nav-btn svg {
    width: 14px;
    height: 14px;
  }

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

  .product-card-actions {
    flex-direction: column;
  }

  .btn-pdf-download,
  .btn-product-wa {
    width: 100%;
    flex: unset;
  }
}
