/* ===========================
   DIGGA – style.css
   =========================== */

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

:root {
  --green:        #1a6b50;
  --green-dark:   #124838;
  --green-light:  #2daa70;
  --text-dark:    #141c1a;
  --text-muted:   #6b7280;
  --bg-section:   #f3faf7;
  --border:       #e5e7eb;
  --white:        #ffffff;
  --radius:       0.75rem;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: #fff;
  scroll-behavior: smooth;
}

/* ---- Utilities ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section-pad { padding: 5rem 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; color: var(--text-dark); }
.section-sub { text-align: center; color: var(--text-muted); margin-top: .4rem; font-size: .9rem; }
.white { color: #fff !important; }
.white-muted { color: rgba(255,255,255,0.75); font-size: .875rem; }
.small { font-size: .75rem; color: rgba(255,255,255,0.5); }

.btn-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: #fff;
  padding: .75rem 1.5rem; border-radius: 2rem;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateX(2px); }

.card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; }
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.1rem; height: 1.1rem;
  background: var(--green-light); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; margin-top: .15rem;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  height: 64px;
}
.logo {
  color: var(--green); text-decoration: none; flex-shrink: 0;
  display: inline-flex; align-items: center;
}
.logo-dot { color: var(--green-light); font-size: 1.75rem; }
.white-logo { color: #fff !important; }
.logo-img {
  display: block;
  width: auto;
  height: 44px;
}
.footer-logo-img {
  height: 40px;
  background: #fff;
  border-radius: .5rem;
  padding: .3rem .5rem;
}

.nav-links {
  list-style: none; display: flex; gap: 1.75rem; align-items: center; flex: 1;
}
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--text-dark); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--text-dark);
}

/* ---- HERO ---- */
.hero { padding-top: 6rem; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  color: var(--green); margin-bottom: 1rem;
}
.hero-text p { color: var(--text-muted); font-size: 1rem; max-width: 420px; margin-bottom: 1.5rem; line-height: 1.6; }
.hero-note { display: block; margin-top: .75rem; font-size: .75rem; color: var(--text-muted); }

.video-thumb {
  position: relative; border-radius: 1.25rem; overflow: hidden;
  background: #1a1a1a; height: 300px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(135deg, #1a2a25 0%, #0e1a15 100%);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
  transition: transform .2s;
}
.video-thumb:hover { transform: scale(1.01); }
.play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-light); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; padding-left: 4px;
  box-shadow: 0 4px 20px rgba(45,170,112,.5);
  transition: transform .2s;
}
.video-thumb:hover .play-btn { transform: scale(1.1); }

/* ---- DIGITAL ---- */
.digital-section { background: var(--bg-section); }
.digital-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; padding: 2.5rem;
}
.digital-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.digital-text h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: .4rem; }
.digital-text .subtitle { color: var(--text-muted); font-size: .875rem; margin-bottom: 1.5rem; }

/* Mockup placeholder */
.mockup-placeholder {
  display: flex; gap: .75rem; align-items: flex-end;
  height: 260px; padding: 1rem;
  background: linear-gradient(135deg, #0e2a20 0%, #164534 100%);
  border-radius: 1rem; overflow: hidden;
}
.mockup-screen {
  flex: 1; background: #1e3a2e; border-radius: .5rem;
  display: flex; height: 100%; overflow: hidden;
}
.mockup-sidebar { width: 40px; background: #0e2a20; height: 100%; flex-shrink: 0; }
.mockup-content { flex: 1; padding: .75rem; display: flex; flex-direction: column; gap: .5rem; }
.mockup-bar { height: 8px; background: #2daa70; border-radius: 4px; opacity: .7; }
.mockup-bar.short { width: 60%; opacity: .4; }
.mockup-chart { flex: 1; background: linear-gradient(to top, #2daa70 30%, transparent 100%); border-radius: .25rem; opacity: .5; }
.mockup-phone {
  width: 72px; height: 72%; background: #1e3a2e; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
}
.mockup-phone-screen { width: 80%; height: 80%; background: #0e2a20; border-radius: .5rem; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--green); }
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-sub { color: rgba(255,255,255,.7); margin-bottom: 3rem; }
.testimonial-card {
  max-width: 750px; margin: 0 auto;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,.15);
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.avatar-placeholder {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.3); flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.4);
  background-image: linear-gradient(135deg, #2daa70, #1a6b50);
}
.testimonial-dots { display: flex; gap: .5rem; margin-top: 1.5rem; justify-content: center; }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .2s;
}
.dot.active { background: #fff; }

/* ---- SOLUTIONS ---- */
.solutions-list { display: flex; flex-direction: column; gap: 1rem; max-width: 750px; margin: 3rem auto 0; }
.solution-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem;
}
.solution-icon {
  width: 200px; height: 150px; flex-shrink: 0;
  background: rgba(26,107,80,.08); border-radius: 1rem;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; color: var(--text-dark); }
.solution-card p { font-size: .8rem; color: var(--text-muted); line-height: 1.55; }

/* ---- FEATURES ---- */
.features-section { background: var(--bg-section); }
.features-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem;
  margin-top: 3rem;
}
.feature-item { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
.feature-icon {
  width: 78px; height: 78px; border-radius: 50%;
  background: #e7e9e9;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}
.feature-item p { font-size: .72rem; color: var(--text-dark); line-height: 1.45; max-width: 130px; }
.divider-line { width: 60px; height: 4px; border-radius: 2px; background: var(--green); margin: 3rem auto 0; }

/* ---- PLAN ---- */
.plan-section {
  background:
    linear-gradient(rgba(26,107,80,.45), rgba(18,72,56,.55)),
    url("./images/BannerPlanos.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.plan-inner { display: flex; justify-content: flex-end; }
.plan-card { max-width: 440px; width: 100%; padding: 2.5rem; }
.plan-title {
  font-size: 1.75rem; font-weight: 900;
  color: var(--green); margin-bottom: 1.5rem; line-height: 1.2;
}
.plan-card .check-list { margin-bottom: 2rem; }

/* ---- FOOTER ---- */
.footer { background: var(--green-dark); padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; padding-bottom: 3rem; }
.footer-left .logo { display: inline-block; margin-bottom: 1.5rem; }
.footer-nav { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav a { font-size: .875rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-cta-text { color: #fff; font-weight: 600; margin-bottom: .25rem; }
.footer-cta-sub { color: rgba(255,255,255,.6); font-size: .875rem; margin-bottom: 1.25rem; }
#contactForm { display: flex; flex-direction: column; gap: .75rem; }
#contactForm input {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: .75rem 1rem; border-radius: .625rem;
  font-size: .875rem; font-family: inherit; outline: none;
  transition: border-color .2s;
}
#contactForm input::placeholder { color: rgba(255,255,255,.5); }
#contactForm input:focus { border-color: rgba(255,255,255,.5); }
.btn-submit { margin-top: .25rem; background: var(--green-light); }
.success-msg { color: #6ee7b7; font-size: .875rem; margin-top: .5rem; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 1.25rem;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .75rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: .75rem 0; border-bottom: 1px solid var(--border); display: block; }
  .nav-cta { display: none; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 1.5rem; }
  .digital-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .plan-inner { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .section-pad { padding: 3.5rem 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
