/* ══════════════════════════════════════
   pagina.css — Casa Full JM S.A.S
   ══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #8dc63f;
  --green-dark:  #7ab32e;
  --green-light: #edf5ee;
  --green-mid:   #a4d45f;
  --white:       #ffffff;
  --off:         #f8faf8;
  --text:        #1c2b1d;
  --muted:       #5a7060;
  --border:      #d4e6d5;
  --radius:      18px;
}
  
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-weight: 400;
}

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 70px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { width: 52px; height: 52px; border-radius: 8px; object-fit: contain; }
.nav-brand-name { font-weight: 700; font-size: .95rem; color: var(--green); line-height: 1.15; }
.nav-brand-name span { display: block; font-weight: 400; font-size: .62rem; color: var(--muted); }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  text-decoration: none; letter-spacing: .8px; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta { background: var(--green) !important; color: white !important; padding: 7px 18px; border-radius: 30px; }
.nav-cta:hover { background: var(--green-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: white; padding: 1.2rem 5vw; flex-direction: column; gap: 0;
  border-bottom: 1px solid var(--border); z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .85rem; font-weight: 600; color: var(--text);
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: .5px; text-transform: uppercase;
}
.mobile-menu a:last-child { border-bottom: none; color: var(--green); }

/* ══ HERO — una columna centrada ══ */
#inicio {
  min-height: 100vh;
  background: linear-gradient(150deg, #8dc63f 0%, #9dd150 55%, #a4d45f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 7vw 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#inicio::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,.07) 0%, transparent 65%);
}

.hero-text {
  position: relative;
  max-width: 720px;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: .68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 1.2rem;
  animation: fadeUp .5s ease both;
}

.hero-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300; color: white; line-height: 1.2;
  margin-bottom: 1.2rem;
  animation: fadeUp .6s ease .1s both;
}
.hero-title strong { font-weight: 400; display: block; font-style: italic; }

.hero-desc {
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,.82); line-height: 1.8;
  margin-bottom: 2.2rem;
  animation: fadeUp .6s ease .2s both;
}

.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .6s ease .3s both;
}

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: white;
  padding: 13px 26px; border-radius: 40px;
  font-family: 'Raleway', sans-serif; font-weight: 600; font-size: .88rem;
  text-decoration: none; letter-spacing: .3px;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.45); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: white; padding: 13px 26px; border-radius: 40px;
  font-family: 'Raleway', sans-serif; font-weight: 500; font-size: .88rem;
  text-decoration: none; transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ══ SECCIONES ══ */
section { padding: 80px 7vw; }
.inner { max-width: 1080px; margin: 0 auto; }

.tag {
  display: inline-block;
  font-size: .65rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green); margin-bottom: .6rem;
}

h2.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300; color: var(--text);
  line-height: 1.25; margin-bottom: 1rem;
}

.section-sub {
  font-size: .93rem; color: var(--muted);
  line-height: 1.8; max-width: 540px; font-weight: 400;
}

/* ══ SERVICIOS ══ */
#servicios { background: var(--off); }
.servicios-header { text-align: center; margin-bottom: 3rem; }
.servicios-header .section-sub { margin: 0 auto; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.serv-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.serv-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
}
.serv-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(141,198,63,.1); }

.serv-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.serv-icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.serv-title { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.serv-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ══ GALERÍA ══ */
#galeria { background: white; }
.galeria-header { text-align: center; margin-bottom: 2.5rem; }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.galeria-grid img {
  width: 100%; height: 180px;
  object-fit: cover; border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.galeria-grid img:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(0,0,0,.15); }

/* ══ NOSOTROS ══ */
#nosotros { background: var(--off); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 40px;
  align-items: start;
}

.nosotros-text h2 { margin-bottom: 1.2rem; }
.nosotros-text p { font-size: .9rem; color: var(--muted); line-height: 1.85; margin-bottom: 1rem; }
.nosotros-text p strong { color: var(--text); font-weight: 600; }

.mv-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 1.5rem; }
.mv-block {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
  border-left: 3px solid var(--green);
}
.mv-label { font-size: .65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.mv-text { font-size: .85rem; color: var(--muted); line-height: 1.7; }

.nosotros-aside {
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 82px;
}
.aside-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; }
.aside-card.highlight { background: var(--green); color: white; border-color: var(--green); }
.aside-card-title { font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.aside-card.highlight .aside-card-title { color: rgba(255,255,255,.6); }
.aside-card-body { font-size: .84rem; color: var(--muted); line-height: 1.6; }
.aside-card.highlight .aside-card-body { color: rgba(255,255,255,.85); }

/* ══ MAQUINARIA ══ */
#maquinaria { background: white; }
.maquinaria-header { text-align: center; margin-bottom: 2.5rem; }
.maquinaria-header .section-sub { margin: 0 auto; }

.maq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.maq-item {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.maq-item:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.09); }

.maq-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: white;
  display: block;
  border-bottom: 1px solid var(--border);
}

.maq-body { padding: 14px 16px 18px; }
.maq-name { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.maq-desc { font-size: .78rem; color: var(--muted); line-height: 1.55; }

/* ══ GARANTÍAS ══ */
#garantias { background: var(--green); }
#garantias h2 { color: white; }
#garantias .tag { color: rgba(255,255,255,.5); }
.garantias-header { text-align: center; margin-bottom: 2.5rem; }

.garantias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.garantia-item {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 24px 20px; transition: background .2s;
}
.garantia-item:hover { background: rgba(255,255,255,.12); }
.garantia-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.garantia-icon-wrap svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.85); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.garantia-title { font-size: .88rem; font-weight: 700; color: white; margin-bottom: 6px; }
.garantia-text { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ══ CONTACTO ══ */
#contacto { background: var(--off); }
#contacto .inner { text-align: center; }
#contacto .section-sub { margin: 0 auto 2.5rem; }

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 3rem;
}
.contacto-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 22px 18px; }
.contacto-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.contacto-icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contacto-label { font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contacto-val { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.contacto-val a { color: var(--text); text-decoration: none; }
.contacto-val a:hover { color: var(--green); }

.btn-wa-lg {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25d366; color: white;
  padding: 16px 38px; border-radius: 50px;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; letter-spacing: .3px;
  box-shadow: 0 6px 28px rgba(37,211,102,.3);
  transition: transform .2s, box-shadow .2s;
}
.btn-wa-lg:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,.4); }
.btn-wa-lg svg { width: 22px; height: 22px; fill: white; }
.wa-note { margin-top: .75rem; font-size: .8rem; color: var(--muted); }

/* ══ FOOTER ══ */
footer { background: var(--text); color: rgba(255,255,255,.55); padding: 28px 7vw; text-align: center; font-size: .82rem; }
footer strong { color: white; }
footer a { color: rgba(255,255,255,.55); text-decoration: none; }
footer a:hover { color: var(--green-mid); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ══ BOTÓN WA FLOTANTE ══ */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  text-decoration: none; transition: transform .2s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ══ ANIMACIONES ══ */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,.7), 0 0 0 7px rgba(37,211,102,.1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .nosotros-grid { grid-template-columns: 1fr; gap: 28px; }
  .nosotros-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .aside-card.highlight { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 5vw; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .maq-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
  .maq-img { height: 120px; }
}

@media (max-width: 600px) {
  .nosotros-aside { grid-template-columns: 1fr; }
  .maq-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .maq-img { height: 110px; padding: 10px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-wa, .btn-ghost { width: 100%; justify-content: center; }
  .contacto-cards { grid-template-columns: 1fr; }
}