/* ============================
   Empresq - estilos base
   ============================ */

:root {
  --orange: #e8752a;
  --orange-dark: #c85f1c;
  --orange-light: #fce7d6;
  --green: #2f7d46;
  --green-dark: #1f5c32;
  --gold: #c99a2e;
  --gold-light: #f7ecd2;
  --cream: #fbf8f2;
  --cream-2: #f5efe2;
  --text: #2b2a26;
  --text-muted: #6c6a62;
  --footer-bg: #1c2a1f;
  --footer-text: #c3cabf;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-full: 999px;
  --font-base: 'Open Sans', system-ui, -apple-system, sans-serif;
  --shadow-card: 0 10px 30px -14px rgba(43, 42, 38, 0.25);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-base);
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 16px; color: var(--text); }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--green); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

.btn-solid {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(232, 117, 42, 0.55);
}
.btn-solid:hover { background: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover { background: var(--cream-2); }

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: var(--green-dark); }

.btn-white {
  background: #fff;
  color: var(--green-dark);
}
.btn-white:hover { background: var(--cream-2); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 92, 50, 0.1);
}

.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold-light); }
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-dark);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.logo-icon-white { background: var(--orange); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--green-dark); border-color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  margin: 0 auto;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 56px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.hero-copy .lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 58ch;
}
.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  background: var(--orange-light);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Sections */
.section { padding: 76px 0; }
.section-cream { background: var(--cream); }
.section-muted { background: var(--cream-2); }
.section-dark { background: var(--green-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.85); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0;
}
.section-head.align-left { text-align: left; margin: 0 0 40px; }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
  border-top: 4px solid var(--orange);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -14px rgba(43,42,38,.28); }
.card .card-icon { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0 0 14px; }
.card a.card-link { color: var(--green-dark); font-weight: 700; }
.card a.card-link:hover { color: var(--orange-dark); }

/* Benefits list */
.benefit-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 28px; margin-top: 8px; }
.benefit-list li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-list h3 { margin-bottom: 4px; font-size: 1.08rem; }
.benefit-list p { margin: 0; color: var(--text-muted); }

/* Steps */
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  text-align: center;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.steps-list h3 { margin-bottom: 8px; }
.steps-list p { color: var(--text-muted); margin: 0; max-width: 32ch; margin-inline: auto; }

/* Two column media/copy */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.split-copy .lead { color: var(--text-muted); font-size: 1.08rem; }

.check-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}
.check-list li::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Product catalog */
.product-category { margin-bottom: 56px; }
.product-category:last-child { margin-bottom: 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.product-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.product-item .emoji { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.product-item span.name { font-weight: 700; color: var(--text); }

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 0.92rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid #ddd6c9;
  font-family: var(--font-base);
  font-size: 0.98rem;
  background: var(--cream);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-feedback { margin-top: 14px; font-weight: 700; color: var(--green-dark); min-height: 1.4em; }

.nap-card {
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.nap-card h3 { margin-bottom: 18px; }
.nap-list { display: flex; flex-direction: column; gap: 16px; }
.nap-list li { display: flex; gap: 14px; align-items: flex-start; }
.nap-list .nap-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--orange-light); color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nap-list strong { display: block; color: var(--text); }
.nap-list span, .nap-list a { color: var(--text-muted); }
.nap-list a:hover { color: var(--orange-dark); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 28px;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.blog-card .blog-card-body { padding: 26px 26px 30px; }
.blog-card .blog-date { color: var(--gold); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .04em; }
.blog-card h3 { margin: 10px 0 10px; }
.blog-card p { color: var(--text-muted); }
.blog-card .card-link { font-weight: 700; color: var(--green-dark); }

.article-body { max-width: 74ch; margin: 0 auto; }
.article-body h2 { margin-top: 40px; }
.article-body p { color: var(--text); font-size: 1.05rem; }
.article-meta { color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.article-hero { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); margin: 28px 0 40px; }

/* Floating action buttons */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35);
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--green-dark); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p { color: var(--footer-text); max-width: 34ch; margin-top: 14px; }
.logo-footer { color: #fff; }

.footer-col h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--footer-text); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding: 24px;
  text-align: center;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; color: var(--footer-text); }

/* ============================
   Responsive
   ============================ */

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .split-grid.reverse .split-media { order: 2; }
  .split-grid.reverse .split-copy { order: 1; }
  .form-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 980px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(31,92,50,0.1);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { padding: 8px 14px; font-size: 0.8rem; }
  .topbar-links { gap: 12px; }
}

@media (min-width: 900px) {
  .main-nav { display: flex !important; }
}
