/* ── SERVICE PAGES SHARED STYLES ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-dark: #1a5c2e;
  --green-mid: #2e7d46;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --gold: #c8a951;
  --text-dark: #1a1a1a;
  --text-mid: #555;
  --text-light: #fff;
  --bg-light: #f9fafb;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-light);
  overflow-x: hidden;
}

/* ── LOADER ── */
.loader-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s, visibility .6s;
}
.loader-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 48px; height: 48px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: opacity .7s ease, transform .7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: .4s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-inner {
  max-width: 1200px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; transition: .3s;
}
nav.scrolled .nav-inner { padding: 10px 24px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: var(--green-dark);
  text-decoration: none;
}
.logo-img { height: 44px; width: auto; transition: .3s; }
nav.scrolled .logo-img { height: 36px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-weight: 500; font-size: .95rem;
  position: relative; transition: .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--green-light); transition: .3s;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span {
  width: 26px; height: 3px; background: var(--green-dark);
  border-radius: 3px; transition: .3s;
}

/* ── SERVICE HERO ── */
.service-hero {
  min-height: 55vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(26,92,46,0.92), rgba(46,125,70,0.85));
  position: relative; overflow: hidden;
  padding: 170px 24px 80px;
}
.service-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}
.service-hero-content {
  max-width: 1200px; margin: auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%;
}
.service-hero-text { color: var(--text-light); }
.service-hero-badge {
  display: inline-block; padding: 6px 18px;
  background: rgba(255,255,255,0.15); border-radius: 50px;
  font-size: .85rem; font-weight: 500; margin-bottom: 16px;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInDown .8s ease .3s both;
}
.service-hero h1 {
  font-size: 2.8rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 16px; animation: fadeInLeft 1s ease .5s both;
}
.service-hero h1 span { color: var(--gold); }
.service-hero p {
  font-size: 1.1rem; opacity: .9; margin-bottom: 28px;
  max-width: 520px; line-height: 1.8; animation: fadeInLeft 1s ease .7s both;
}
.service-hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 1s ease .9s both;
}
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  position: absolute; top: 100px; left: 0; right: 0; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.breadcrumbs-list {
  display: flex; align-items: center; gap: 8px; list-style: none;
  font-size: .85rem; flex-wrap: wrap;
}
.breadcrumbs-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs-list a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: .2s; font-weight: 500;
}
.breadcrumbs-list a:hover { color: #fff; }
.breadcrumbs-list .separator {
  color: rgba(255,255,255,0.4); font-size: .75rem;
}
.breadcrumbs-list .current {
  color: var(--gold); font-weight: 600;
}

/* ── SLIDER ── */
.service-hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeInRight 1s ease .6s both;
}
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.slider-container {
  width: 100%; max-width: 480px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); position: relative;
}
.slider-track {
  display: flex; transition: transform .5s ease;
}
.slider-slide {
  min-width: 100%; height: 320px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; position: relative;
}
.slider-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,92,46,0.15), rgba(76,175,80,0.1));
}
.slider-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: .3s;
}
.slider-dot.active { background: var(--gold); transform: scale(1.2); }
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.8); border: none; cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: .3s; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.slider-nav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* ── BUTTONS ── */
.btn {
  padding: 14px 32px; border-radius: 50px; font-size: .95rem;
  font-weight: 600; text-decoration: none; transition: .3s;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: var(--text-dark); }
.btn-primary:hover { background: #d4b55e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,169,81,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-whatsapp {
  background: #25d366; color: #fff; font-size: 1rem; padding: 16px 36px;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-green { background: var(--green-dark); color: #fff; }
.btn-green:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,92,46,0.3); }

/* ── CONTENT SECTION ── */
.content-section { padding: 80px 24px; background: #fff; }
.content-section.alt { background: var(--bg-light); }
.content-inner {
  max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.content-inner.reverse { direction: rtl; }
.content-inner.reverse > * { direction: ltr; }
.content-text h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--green-dark);
}
.content-text h2 span { color: var(--gold); }
.content-text p { color: var(--text-mid); margin-bottom: 14px; font-size: 1.02rem; }
.content-image {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
}
.content-image img { width: 100%; height: 300px; object-fit: cover; display: block; }
.content-image-placeholder {
  width: 100%; height: 300px;
  background: linear-gradient(135deg, var(--green-pale), #c8e6c9);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}

/* ── FEATURES GRID ── */
.features-section { padding: 80px 24px; background: var(--bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block; padding: 4px 14px;
  background: var(--green-pale); color: var(--green-dark);
  border-radius: 50px; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--text-dark); }
.section-header p { color: var(--text-mid); font-size: 1.02rem; }

.features-grid {
  max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px;
}
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: .3s; cursor: default;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
  transition: .3s;
}
.feature-card:hover .feature-card-icon {
  background: var(--green-light); transform: rotate(-5deg) scale(1.1);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.feature-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }

/* ── CATALOG ── */
.catalog-section { padding: 80px 24px; background: #fff; }
.catalog-grid {
  max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.catalog-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s; background: #fff;
}
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.catalog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--green-pale), #c8e6c9);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; transition: .4s;
}
.catalog-card:hover .catalog-card-image { transform: scale(1.03); }
.catalog-card-body { padding: 20px; }
.catalog-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.catalog-card-body p { font-size: .88rem; color: var(--text-mid); }

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-content p { opacity: .85; max-width: 600px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--text-dark); color: rgba(255,255,255,0.6);
  padding: 60px 24px 30px;
}
.footer-grid {
  max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-img { height: 50px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 340px; }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: .9rem; transition: .2s;
}
footer ul a:hover { color: var(--green-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center; font-size: .85rem;
  max-width: 1200px; margin: auto;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 99;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-dark); color: #fff; border: none;
  font-size: 1.3rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: .3s; box-shadow: 0 4px 16px rgba(26,92,46,0.3);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-light); transform: translateY(-3px); }

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .service-hero h1 { font-size: 2.2rem; }
}
@media (max-width: 900px) {
  .service-hero-content, .content-inner { grid-template-columns: 1fr; }
  .content-inner.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0;
    width: 100%; background: #fff; flex-direction: column;
    padding: 20px 24px; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .service-hero { padding: 120px 16px 60px; min-height: auto; }
  .service-hero h1 { font-size: 1.8rem; }
  .service-hero p { font-size: .95rem; }
  .slider-slide { height: 220px; font-size: 3.5rem; }
  .content-section, .features-section, .catalog-section, .cta-section { padding: 60px 16px; }
  .content-text h2 { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.6rem; }
  .cta-content h2 { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; max-width: 400px; margin: auto; }
  .btn { padding: 12px 24px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
