/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #1a2236;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

:root {
  --green: #7CB342;
  --green-dark: #558B2F;
  --yellow: #FDD835;
  --yellow-dark: #F9A825;
  --blue: #1E88E5;
  --blue-dark: #1565C0;
  --pink: #E91E63;
  --pink-dark: #AD1457;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6ebf2;
  --bg-soft: #f7faf5;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --radius: 16px;
  --radius-lg: 22px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p  { color: var(--ink-2); margin: 0 0 1em; }

.grad-1 {
  background: linear-gradient(90deg, var(--green), #43A047);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-2 {
  background: linear-gradient(90deg, var(--blue), #00ACC1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-3 {
  background: linear-gradient(90deg, var(--pink), #FB8C00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #43A047 60%, #1E88E5 130%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 179, 66, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(30, 136, 229, .35); }
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ============ Navbar ============ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.navbar.scrolled {
  border-color: var(--line);
  background: rgba(255,255,255,.95);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--ink);
  font-size: 1.1rem;
}
.brand img {
  width: 44px; height: 44px;
  border-radius: 12px; object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand strong { color: var(--green-dark); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-weight: 500; color: var(--ink-2);
  position: relative;
  font-size: .95rem;
  transition: color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 18px !important; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(124,179,66,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(30,136,229,.10), transparent 60%),
    linear-gradient(180deg, #fdfff7 0%, #ffffff 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 320px; height: 320px; background: var(--yellow); top: -80px; left: -60px; animation: float1 12s ease-in-out infinite; }
.b2 { width: 380px; height: 380px; background: var(--green); bottom: -120px; right: -80px; animation: float2 14s ease-in-out infinite; }
.b3 { width: 240px; height: 240px; background: var(--blue); top: 25%; right: 10%; opacity: .35; animation: float1 16s ease-in-out infinite reverse; }
.b4 { width: 180px; height: 180px; background: var(--pink); bottom: 15%; left: 20%; opacity: .35; animation: float2 18s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, -20px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-25px, 25px); } }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px;
  align-items: center;
}
.hero-text .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(124,179,66,.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(124,179,66,0); } }

.hero-text h1 { margin-bottom: 18px; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 520px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 38px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; color: var(--ink); font-family: 'Poppins'; font-weight: 800; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-visual {
  position: relative;
  display: grid; place-items: center;
  min-height: 460px;
}
.logo-card {
  position: relative;
  width: 360px; max-width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .14), 0 4px 12px rgba(15,23,42,.06);
  display: grid; place-items: center;
  padding: 30px;
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
.logo-card::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--green), var(--yellow), var(--blue), var(--pink));
  z-index: -1;
  filter: blur(20px); opacity: .35;
}
.logo-card:hover { transform: rotate(0deg) scale(1.02); }
.logo-card img { border-radius: 18px; }

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.chip-1 { top: 8%; left: -10px; animation: floatY 4.5s ease-in-out infinite; }
.chip-2 { bottom: 12%; right: -10px; animation: floatY 5.5s ease-in-out infinite reverse; }
.chip-3 { top: 45%; right: 6%; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ Bullets ============ */
.bullets { padding: 30px 0; background: #fff; border-bottom: 1px solid var(--line); }
.bullets-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.bullet {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease;
}
.bullet:hover { transform: translateY(-3px); }
.bullet h4 { margin: 0 0 2px; font-size: 1rem; color: var(--ink); }
.bullet p { margin: 0; font-size: .88rem; color: var(--muted); }
.b-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.b-green  { background: linear-gradient(135deg, #7CB342, #43A047); }
.b-yellow { background: linear-gradient(135deg, #FDD835, #F9A825); }
.b-blue   { background: linear-gradient(135deg, #1E88E5, #1565C0); }
.b-pink   { background: linear-gradient(135deg, #E91E63, #AD1457); }

/* ============ Sections ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 60px;
}
.section-head .tag {
  display: inline-block;
  background: rgba(124, 179, 66, .12);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.tag {
  display: inline-block;
  background: rgba(30, 136, 229, .1);
  color: var(--blue-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ============ Services ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c1, var(--green)), var(--c2, var(--blue)));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* ============ Products ============ */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.p-img {
  height: 200px;
  border-radius: 14px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.p-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.product-card:hover .p-img img { transform: scale(1.06); }
.p-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,23,42,.18) 100%);
  pointer-events: none;
}
.product-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.product-card p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ============ Brands ============ */
.brand-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.brand-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: .02em;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.brand-pill:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  color: var(--green-dark);
}

/* ============ Mobiliario ============ */
.mobiliario-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.mob-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 16px 0 28px; }
.mob-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.check {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #43A047);
  position: relative;
  flex-shrink: 0;
}
.check::after {
  content: ''; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.mob-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.mob-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-weight: 600; color: var(--ink);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mc-1 { transform: translateY(-12px); }
.mc-3 { transform: translateY(12px); }

/* ============ CTA ============ */
.cta {
  padding: 70px 0;
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #1E88E5 0%, #43A047 100%);
  color: #fff;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { color: rgba(255,255,255,.85); margin: 0; }

/* ============ Contacto ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px;
}
.contact-info { display: grid; gap: 18px; margin-top: 24px; }
.contact-info li {
  display: flex; align-items: center; gap: 14px;
}
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info strong { display: block; color: var(--ink); }
.contact-info span { color: var(--muted); font-size: .9rem; }
.contact-info a { color: var(--ink); }
.contact-info a:hover { color: var(--green-dark); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(124,179,66,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { margin: 14px 0 0; font-size: .9rem; min-height: 20px; color: var(--green-dark); }

/* ============ Footer ============ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.brand-light, .brand-light strong { color: #fff; }
.foot-tag { color: #94a3b8; font-size: .92rem; max-width: 320px; margin-top: 14px; }
.footer h5 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: #94a3b8; font-size: .9rem; transition: color .2s ease; }
.footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #cbd5e1;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.socials a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: .85rem;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #94a3b8;
}

/* ============ Floating CTA ============ */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.float-cta:hover { transform: scale(1.08); }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 380px; }
  .bullets-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .mobiliario-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section { padding: 70px 0; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch;
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    gap: 14px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 8px 4px; }
  .nav-cta { width: 100%; justify-content: center; }

  .services-grid, .products-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .bullets-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .float-chip.chip-3 { display: none; }
  .mob-list { grid-template-columns: 1fr; }
  .mc-1, .mc-3 { transform: none; }
}
