:root {
    /* Colores institucionales */
    --marca: #72bf00;          /* verde del logo FEDEGAN */
    --verde: #3b6e12;          /* botones y enlaces */
    --verde-oscuro: #2a5009;   /* fondos oscuros */
    --verde-profundo: #1d3a06;
    --verde-suave: #eef5e4;
    --cafe: #7c4237;           /* café del sello del área: solo detalles */
    --texto: #1c2318;
    --suave: #545c50;
    --borde: #dfe6d6;
    --blanco: #ffffff;
    --fuente: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
    --ancho: 72rem;
    --radio: 10px;
    --espacio: clamp(3.5rem, 7vw, 5.5rem);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--blanco); color: var(--texto); font: 400 1rem/1.6 var(--fuente); }
  img, svg { display: block; }
  a { color: var(--verde); }
  .contenedor { width: min(var(--ancho), 100% - 2.5rem); margin-inline: auto; }

  /* Tamaños de texto: solo estos cuatro */
  h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.08; }
  h2 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.2; color: var(--verde-oscuro); }
  h3 { margin: 0 0 0.4rem; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
  .antetitulo { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--verde); }

  /* Botones */
  .boton { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border: 2px solid transparent;
           border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background 0.15s; }
  .boton--verde { background: var(--verde); color: var(--blanco); }
  .boton--verde:hover { background: var(--verde-oscuro); }
  .boton--blanco { background: var(--blanco); color: var(--verde-oscuro); }
  .boton--blanco:hover { background: var(--verde-suave); }
  .boton--borde { border-color: rgb(255 255 255 / 0.85); color: var(--blanco); }
  .boton--borde:hover { background: rgb(255 255 255 / 0.12); }

  /* Fotos provisionales: se reemplazan por <img> con las fotos reales */
  .foto { position: relative; overflow: hidden; background: linear-gradient(150deg, #c9d3bb, #9fb08a); }
  .foto::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 16px, rgb(255 255 255 / 0.15) 16px 17px); }
  .foto__nota { position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 1; max-width: calc(100% - 1.5rem); padding: 0.35rem 0.6rem;
                border-radius: 4px; background: rgb(255 255 255 / 0.9); color: var(--suave); font-size: 0.72rem; line-height: 1.35; }
  .foto__nota strong { color: var(--texto); }
  .foto img { position: relative; width: 100%; height: 100%; object-fit: cover; }
  .foto:has(img)::before { display: none; }

  /* Barra superior y encabezado */
  .barra-sup { background: var(--verde-profundo); font-size: 0.8rem; }
  .barra-sup .contenedor { display: flex; justify-content: flex-end; padding-block: 0.45rem; }
  .barra-sup a { color: #e7efdc; text-decoration: none; }
  .barra-sup a:hover { text-decoration: underline; }
  .encabezado { position: sticky; top: 0; z-index: 10; background: var(--blanco); border-bottom: 1px solid var(--borde); }
  .encabezado .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
  .logo { display: flex; align-items: center; padding: 0.55rem 1rem; border-radius: 6px; background: var(--marca); }
  .logo img { width: 128px; height: auto; }
  .menu { display: flex; gap: clamp(1rem, 3vw, 2.2rem); margin: 0; padding: 0; list-style: none; }
  .menu a { color: var(--texto); font-weight: 600; font-size: 0.92rem; text-decoration: none; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
  .menu a:hover { border-color: var(--marca); }
  .miga { background: var(--verde-suave); font-size: 0.8rem; }
  .miga .contenedor { padding-block: 0.4rem; color: var(--suave); }
  .miga a { color: var(--verde); text-decoration: none; }

  /* Hero */
  .hero { position: relative; min-height: clamp(26rem, 46vw, 37rem); display: flex; align-items: center; color: var(--blanco); }
  .hero__foto { position: absolute; inset: 0; background: linear-gradient(150deg, #8fa478, #5e7a45); }
  .hero__foto img { object-position: 50% 42%; }
  .hero::after { content: ""; position: absolute; inset: 0;
                 background: linear-gradient(90deg, rgb(29 58 6 / 0.9) 0%, rgb(29 58 6 / 0.72) 40%, rgb(29 58 6 / 0.15) 78%); }
  .hero .contenedor { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; }
  .hero__texto { max-width: 34rem; }
  .hero__linea { width: 3.5rem; height: 4px; margin: 1.1rem 0; background: var(--marca); border-radius: 2px; }
  .hero__lema { margin: 0 0 0.9rem; font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 600; line-height: 1.25; }
  .hero__entrada { margin: 0 0 1.75rem; color: #e3ebd8; }
  .hero__botones { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .sello { flex: none; padding: 1rem 1.1rem; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); }
  .sello img { width: 9.5rem; height: auto; }

  /* Secciones */
  .seccion { padding-block: var(--espacio); }
  .seccion--suave { background: var(--verde-suave); }
  .seccion__intro { margin: 0 0 2.25rem; max-width: 40rem; color: var(--suave); }

  /* Campo productivo */
  .campo { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .campo p { margin: 0 0 1.25rem; color: var(--suave); }
  .chequeo { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
  .chequeo li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
  .chequeo svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--verde); }
  .campo .foto { aspect-ratio: 4 / 3; border-radius: var(--radio); }

  /* Líneas de acción */
  .lineas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .linea { overflow: hidden; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); }
  .linea .foto { aspect-ratio: 3 / 2; }
  .linea__texto { padding: 1.25rem 1.4rem 1.5rem; }
  .linea p { margin: 0; color: var(--suave); font-size: 0.95rem; }

  /* Herramientas */
  .herramientas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .herramienta { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 21rem;
                 padding: 2rem; border-radius: var(--radio); }
  .herramienta--clara { background: var(--verde-suave); }
  .herramienta--oscura { background: var(--verde-oscuro); color: var(--blanco); }
  .herramienta__ilustracion { display: flex; justify-content: center; height: 8.5rem; margin-bottom: 1.5rem; }
  .herramienta__ilustracion svg { height: 100%; width: auto; max-width: 100%; }
  .herramienta--clara .herramienta__ilustracion { color: var(--verde); }
  .herramienta--oscura .herramienta__ilustracion { color: var(--marca); }
  .herramienta h3 { font-size: 1.35rem; }
  .herramienta p { margin: 0 0 1.5rem; }
  .herramienta--clara p { color: var(--suave); }
  .herramienta--oscura p { color: #d5e2c5; }
  .herramienta .boton { margin-top: auto; align-self: flex-start; }

  /* Pie */
  .pie { padding-block: 2.25rem; background: var(--verde-profundo); color: #cfdcc2; font-size: 0.85rem; }
  .pie__rejilla { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem 3rem; }
  .pie__marca { display: flex; align-items: center; gap: 1.25rem; }
  .pie__marca img { width: 110px; height: auto; }
  .pie__contacto { display: grid; gap: 0.2rem; font-style: normal; line-height: 1.45; }
  .pie__contacto strong { color: var(--blanco); font-weight: 600; }
  .pie__marca span { padding-left: 1.25rem; border-left: 1px solid rgb(255 255 255 / 0.3); line-height: 1.35; }
  .pie__enlaces { display: flex; flex-wrap: wrap; gap: 1.5rem; }
  .pie a { color: var(--blanco); text-decoration: none; }
  .pie a:hover { text-decoration: underline; }

  @media (max-width: 860px) {
    .encabezado .contenedor { flex-wrap: wrap; gap: 0.25rem 1rem; padding-block: 0.6rem; min-height: 0; }
    .encabezado nav { width: 100%; overflow-x: auto; scrollbar-width: none; }
    .menu { gap: 1.25rem; white-space: nowrap; }
    .menu a { font-size: 0.88rem; }
    .campo { grid-template-columns: 1fr; }
    .lineas { gap: 1rem; }
    .sello { display: none; }
    .pie__rejilla { grid-template-columns: 1fr; }
    .hero::after { background: linear-gradient(180deg, rgb(29 58 6 / 0.85), rgb(29 58 6 / 0.7)); }
    .encabezado { position: static; }
    .logo { padding: 0.45rem 0.8rem; }
    .logo img { width: 108px; }
  }

  @media (max-width: 680px) {
    .lineas { grid-template-columns: 1fr; }
  }

  @media (max-width: 600px) {
    .herramientas { grid-template-columns: 1fr; }
    .menu li:first-child { display: none; }
    .menu { gap: 1.1rem; }
    .herramienta { min-height: 0; padding: 1.5rem; }
    .hero__botones .boton { flex: 1 1 auto; justify-content: center; }
  }
